Skip to content
Snippets Groups Projects
Commit 614cb16f authored by BATON Theau's avatar BATON Theau
Browse files

Ajout de SaveAll

parent f35eac2b
Branches
No related tags found
No related merge requests found
......@@ -586,7 +586,7 @@
<string>Permet à image courante de modifier toutes les autres images modifiable.</string>
</property>
<property name="text">
<string>Modifie les autres Image</string>
<string>Modifie les autres Images</string>
</property>
</widget>
</item>
......@@ -602,7 +602,7 @@
<string>Permet de laisser l'image courante être modifié par les autres images.</string>
</property>
<property name="text">
<string>Modifiable par les autres Image</string>
<string>Modifiable par les autres Images</string>
</property>
<property name="checked">
<bool>true</bool>
......
......@@ -3,7 +3,7 @@
namespace tool {
Pixeleraiser::Pixeleraiser(const ColorPickerWidget & cp)
: Editable(cp, "Gomme", QIcon(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/draw-eraser.png")),
_config(new dialog::SizeDialog("Paramètre de la gomme", "Taille de la gomme", 1, 255, 4, "pixels")), _leftButton(false), _rightButton(false) {
_config(new dialog::SizeDialog("Paramètre de la gomme", "Taille de la gomme", 1, 2048, 4, "pixels")), _leftButton(false), _rightButton(false) {
this->setCongigurationDialog(this->_config.get());
}
......
......@@ -3,7 +3,7 @@
namespace tool {
Pixelpainter::Pixelpainter(const ColorPickerWidget & cp)
: Editable(cp, "Crayon", QIcon(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/draw-freehand.png")),
_config(new dialog::SizeDialog("Paramètre du crayon", "Taille du crayon", 1, 255, 4, "pixels")), _leftButton(false) {
_config(new dialog::SizeDialog("Paramètre du crayon", "Taille du crayon", 1, 2048, 4, "pixels")), _leftButton(false) {
this->setCongigurationDialog(this->_config.get());
}
......
......@@ -16,6 +16,7 @@ namespace ui {
QObject::connect(menu->actions().at(Actions::SAVE), SIGNAL(triggered()), this->_viewManager, SLOT(saveCurrentView()));
QObject::connect(menu->actions().at(Actions::SAVE_AS), SIGNAL(triggered()), this->_viewManager, SLOT(saveAsCurrentView()));
QObject::connect(menu->actions().at(Actions::SAVE_ALL), SIGNAL(triggered()), this->_viewManager, SLOT(saveAll()));
QObject::connect(menu->actions().at(Actions::NEW), SIGNAL(triggered()), this->_viewManager, SLOT(newView()));
QObject::connect(menu->actions().at(Actions::CLOSE), SIGNAL(triggered()), this->_viewManager, SLOT(deleteCurrentView()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment