mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
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:
@@ -349,6 +349,16 @@ void DiagramView::setSelectionMode() {
|
||||
emit(modeChanged());
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief DiagramView::refreshBg
|
||||
* Workaround to refresh the background color
|
||||
*/
|
||||
void DiagramView::refreshBg() {
|
||||
scale(2, 2);
|
||||
scale(0.5, 0.5);
|
||||
adjustGridToZoom();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief DiagramView::zoomIn
|
||||
* Zoom in the current folio
|
||||
|
||||
Reference in New Issue
Block a user