##// END OF EJS Templates
Can hide all dock widgets and gave main tool bar a name...
jeandet -
r1499:1c0fd6e997a0
parent child
Show More
@@ -92,6 +92,7 MainWindow::MainWindow(QWidget* parent)
92 }
92 }
93 });
93 });
94 auto mainToolBar = new ToolBar(this);
94 auto mainToolBar = new ToolBar(this);
95 mainToolBar->setWindowTitle("Tool bar");
95 this->addToolBar(mainToolBar);
96 this->addToolBar(mainToolBar);
96 connect(mainToolBar, &ToolBar::setPlotsInteractionMode, sqpApp,
97 connect(mainToolBar, &ToolBar::setPlotsInteractionMode, sqpApp,
97 &SqpApplication::setPlotsInteractionMode);
98 &SqpApplication::setPlotsInteractionMode);
@@ -39,7 +39,7
39 <x>0</x>
39 <x>0</x>
40 <y>0</y>
40 <y>0</y>
41 <width>800</width>
41 <width>800</width>
42 <height>24</height>
42 <height>29</height>
43 </rect>
43 </rect>
44 </property>
44 </property>
45 <property name="sizePolicy">
45 <property name="sizePolicy">
@@ -54,6 +54,9
54 <height>0</height>
54 <height>0</height>
55 </size>
55 </size>
56 </property>
56 </property>
57 <property name="accessibleName">
58 <string/>
59 </property>
57 <property name="nativeMenuBar">
60 <property name="nativeMenuBar">
58 <bool>true</bool>
61 <bool>true</bool>
59 </property>
62 </property>
@@ -61,7 +64,7
61 <widget class="QStatusBar" name="statusBar"/>
64 <widget class="QStatusBar" name="statusBar"/>
62 <widget class="QDockWidget" name="dockWidget">
65 <widget class="QDockWidget" name="dockWidget">
63 <property name="features">
66 <property name="features">
64 <set>QDockWidget::DockWidgetMovable</set>
67 <set>QDockWidget::AllDockWidgetFeatures</set>
65 </property>
68 </property>
66 <property name="windowTitle">
69 <property name="windowTitle">
67 <string>Products</string>
70 <string>Products</string>
@@ -73,7 +76,7
73 </widget>
76 </widget>
74 <widget class="QDockWidget" name="dockWidget_2">
77 <widget class="QDockWidget" name="dockWidget_2">
75 <property name="features">
78 <property name="features">
76 <set>QDockWidget::DockWidgetMovable</set>
79 <set>QDockWidget::AllDockWidgetFeatures</set>
77 </property>
80 </property>
78 <property name="windowTitle">
81 <property name="windowTitle">
79 <string>Variables</string>
82 <string>Variables</string>
General Comments 0
You need to be logged in to leave comments. Login now