Tue, 22 Apr 2014 22:52:02 +0300
Merge ../ldforge into gl
src/actionsEdit.cc | file | annotate | diff | comparison | revisions | |
src/mainWindow.h | file | annotate | diff | comparison | revisions | |
ui/ldforge.ui | file | annotate | diff | comparison | revisions |
--- a/src/actionsEdit.cc Tue Apr 22 22:28:19 2014 +0300 +++ b/src/actionsEdit.cc Tue Apr 22 22:52:02 2014 +0300 @@ -572,7 +572,7 @@ // ============================================================================= // -DEFINE_ACTION (Uncolorize, 0) +DEFINE_ACTION (Uncolor, 0) { int num = 0;
--- a/src/mainWindow.cc Tue Apr 22 22:28:19 2014 +0300 +++ b/src/mainWindow.cc Tue Apr 22 22:52:02 2014 +0300 @@ -52,7 +52,7 @@ static bool g_isSelectionLocked = false; cfg (Bool, lv_colorize, true); -cfg (String, gui_colortoolbar, "16:24:|:4:25:14:27:2:3:11:1:22:|:0:72:71:15"); +cfg (String, gui_colortoolbar, "4:25:14:27:2:3:11:1:22:|:0:72:71:15"); cfg (Bool, gui_implicitfiles, false); extern_cfg (List, io_recentfiles); extern_cfg (Bool, gl_axes); @@ -216,6 +216,8 @@ { m_colorButtons.clear(); ui->colorToolbar->clear(); + ui->colorToolbar->addAction (ui->actionUncolor); + ui->colorToolbar->addSeparator(); for (LDQuickColor& entry : m_quickColors) {
--- a/src/mainWindow.h Tue Apr 22 22:28:19 2014 +0300 +++ b/src/mainWindow.h Tue Apr 22 22:52:02 2014 +0300 @@ -242,7 +242,7 @@ void slot_actionSetDrawDepth(); void slot_actionSetColor(); void slot_actionAutocolor(); - void slot_actionUncolorize(); + void slot_actionUncolor(); void slot_actionInline(); void slot_actionInlineDeep(); void slot_actionInvert();
--- a/ui/ldforge.ui Tue Apr 22 22:28:19 2014 +0300 +++ b/ui/ldforge.ui Tue Apr 22 22:52:02 2014 +0300 @@ -160,7 +160,7 @@ </property> <addaction name="actionSetColor"/> <addaction name="actionAutocolor"/> - <addaction name="actionUncolorize"/> + <addaction name="actionUncolor"/> <addaction name="separator"/> <addaction name="actionInvert"/> <addaction name="actionInline"/> @@ -368,7 +368,6 @@ </attribute> <addaction name="actionSetColor"/> <addaction name="actionAutocolor"/> - <addaction name="actionUncolorize"/> <addaction name="actionInvert"/> <addaction name="actionSplitQuads"/> <addaction name="actionInline"/> @@ -855,13 +854,16 @@ <string>Set the color of the given object to the first found unused color.</string> </property> </action> - <action name="actionUncolorize"> + <action name="actionUncolor"> <property name="icon"> <iconset resource="../ldforge.qrc"> <normaloff>:/icons/uncolorize.png</normaloff>:/icons/uncolorize.png</iconset> </property> <property name="text"> - <string>Uncolorize</string> + <string>Uncolor</string> + </property> + <property name="toolTip"> + <string>Uncolor</string> </property> <property name="statusTip"> <string>Reduce colors of everything selected to main and edge colors</string>