Add a new button in the display tool bar to switch the background color in white or grey on the fly.

The check box for this functionality in the DiagramProporties window was deleted.



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4022 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
nuri
2015-06-21 11:00:08 +00:00
parent 8e977ef476
commit ab1d558f61
10 changed files with 56 additions and 17 deletions

View File

@@ -118,6 +118,8 @@ class QETDiagramEditor : public QETMainWindow {
void editSelectionProperties();
void slot_resetConductors();
void slot_autoConductor(bool ac);
void slot_whgyBackground(bool checked);
void slot_refreshBg();
void slot_addText();
void slot_addImage();
void slot_addLine();
@@ -186,7 +188,8 @@ class QETDiagramEditor : public QETMainWindow {
QAction *conductor_reset; ///< Reset paths of selected conductors
QAction *m_auto_conductor; ///< Enable/Disable the use of auto conductor
QAction *conductor_default; ///< Show a dialog to edit default conductor properties
QAction *infos_diagram; ///< Show a dialog to edit diagram properties
QAction *m_grey_background; ///< Switch the background color in white or grey
QAction *infos_diagram; ///< Show a dialog to edit diagram properties
QAction *prj_edit_prop; ///< Edit the properties of the current project.
QAction *prj_add_diagram; ///< Add a diagram to the current project.
QAction *prj_del_diagram; ///< Delete a diagram from the current project