[qet] [3525] Qetdiagrameditor : tabify undo and element panel dock widget |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3525
Author: blacksun
Date: 2014-11-28 19:14:33 +0100 (Fri, 28 Nov 2014)
Log Message:
-----------
Qetdiagrameditor : tabify undo and element panel dock widget
Modified Paths:
--------------
trunk/sources/qetdiagrameditor.cpp
Modified: trunk/sources/qetdiagrameditor.cpp
===================================================================
--- trunk/sources/qetdiagrameditor.cpp 2014-11-27 18:46:30 UTC (rev 3524)
+++ trunk/sources/qetdiagrameditor.cpp 2014-11-28 18:14:33 UTC (rev 3525)
@@ -87,6 +87,8 @@
setUpActions();
setUpToolBar();
setUpMenu();
+
+ tabifyDockWidget(qdw_undo, qdw_pa);
// la fenetre est maximisee par defaut
setMinimumSize(QSize(500, 350));
@@ -141,6 +143,7 @@
qdw_pa -> setMinimumWidth (160);
qdw_pa -> setWidget (pa = new ElementsPanelWidget(qdw_pa));
+ addDockWidget(Qt::LeftDockWidgetArea, qdw_pa);
connect(pa, SIGNAL(requestForProject (QETProject *)), this, SLOT(activateProject(QETProject *)));
connect(pa, SIGNAL(requestForProjectClosing (QETProject *)), this, SLOT(closeProject(QETProject *)));
@@ -173,6 +176,8 @@
qdw_undo -> setFeatures(QDockWidget::AllDockWidgetFeatures);
qdw_undo -> setMinimumWidth(160);
qdw_undo -> setWidget(undo_view);
+
+ addDockWidget(Qt::LeftDockWidgetArea, qdw_undo);
}
/**