Skip to content
Snippets Groups Projects
Commit 39b74d6c authored by Arnaud Billon's avatar Arnaud Billon :speech_balloon:
Browse files

[refactor] Arrange UI Toolbars

parent 4d4ea0a4
No related branches found
No related tags found
No related merge requests found
......@@ -304,6 +304,7 @@ void vvMainWindow::pqbuildToolbars()
// Rework of pqParaViewMenuBuilders::buildToolbars
// Removed pqMainControlsToolbar, pqVCRToolbar, pqAnimationTimeToolbar,
// pqCustomViewpointsToolbar, pqColorToolbar, pqRepresentationToolbar
QToolBar* cameraToolbar = new pqCameraToolbar(this)
<< pqSetName("cameraToolbar");
this->addToolBar(Qt::TopToolBarArea, cameraToolbar);
......@@ -377,7 +378,10 @@ void vvMainWindow::setupGUICustom()
SIGNAL(helpRequested(const QString&, const QString&)),
this, SLOT(showHelpForProxy(const QString&, const QString&)));
// LidarView-specific Toolbars
// Break ToolBar Lines
this->addToolBarBreak();
// LidarView-Base Toolbars
QToolBar* vcrToolbar = new lqPlayerControlsToolbar(this)
<< pqSetName("Player Control");
this->addToolBar(Qt::TopToolBarArea, vcrToolbar);
......
......@@ -31,7 +31,7 @@
<x>0</x>
<y>0</y>
<width>1070</width>
<height>25</height>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menu_File">
......@@ -164,7 +164,7 @@
<addaction name="actionPython_Console"/>
<addaction name="actionShowErrorDialog"/>
<addaction name="actionEnableAdvancedArrays"/>
</widget>
</widget>
<widget class="lqColorToolbar" name="colorToolBar">
<property name="windowTitle">
<string>Color Controls</string>
......@@ -176,6 +176,17 @@
<bool>false</bool>
</attribute>
</widget>
<widget class="pqCustomViewpointsToolbar" name="Custom Viewpoints Toolbar">
<property name="windowTitle">
<string>Custom Viewpoints</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
</widget>
<widget class="QToolBar" name="viewSettings">
<property name="windowTitle">
<string>View Controls</string>
......@@ -184,7 +195,7 @@
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>true</bool>
<bool>false</bool>
</attribute>
<addaction name="actionToggleProjection"/>
<addaction name="actionMeasure"/>
......@@ -347,7 +358,7 @@
</action>
<action name="actionOpenPcap">
<property name="icon">
<iconset resource="vvResources.qrc">
<iconset>
<normaloff>:/LidarViewPlugin/WiresharkDoc-128.png</normaloff>:/LidarViewPlugin/WiresharkDoc-128.png</iconset>
</property>
<property name="text">
......@@ -398,7 +409,7 @@
</action>
<action name="actionOpen_Sensor_Stream">
<property name="icon">
<iconset resource="vvResources.qrc">
<iconset>
<normaloff>:/LidarViewPlugin/lidar.png</normaloff>:/LidarViewPlugin/lidar.png</iconset>
</property>
<property name="text">
......@@ -425,7 +436,7 @@
</action>
<action name="actionChoose_Calibration_File">
<property name="icon">
<iconset resource="vvResources.qrc">
<iconset>
<normaloff>:/LidarViewPlugin/calibrate.png</normaloff>:/LidarViewPlugin/calibrate.png</iconset>
</property>
<property name="text">
......@@ -488,7 +499,7 @@
</action>
<action name="actionSaveCSV">
<property name="icon">
<iconset resource="vvResources.qrc">
<iconset>
<normaloff>:/LidarViewPlugin/csv.png</normaloff>:/LidarViewPlugin/csv.png</iconset>
</property>
<property name="text">
......@@ -502,7 +513,7 @@
</action>
<action name="actionSavePCAP">
<property name="icon">
<iconset resource="vvResources.qrc">
<iconset>
<normaloff>:/LidarViewPlugin/WiresharkDoc-128.png</normaloff>:/LidarViewPlugin/WiresharkDoc-128.png</iconset>
</property>
<property name="text">
......@@ -598,7 +609,7 @@
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="vvResources.qrc">
<iconset>
<normaloff>:/vvResources/Icons/ViewOrtho.png</normaloff>
<normalon>:/vvResources/Icons/ViewPerspective.png</normalon>:/vvResources/Icons/ViewOrtho.png</iconset>
</property>
......@@ -677,7 +688,7 @@
</action>
<action name="actionSaveLAS">
<property name="icon">
<iconset resource="vvResources.qrc">
<iconset>
<normaloff>:/LidarViewPlugin/las.png</normaloff>:/LidarViewPlugin/las.png</iconset>
</property>
<property name="text">
......@@ -689,7 +700,7 @@
</action>
<action name="actionCropReturns">
<property name="icon">
<iconset resource="vvResources.qrc">
<iconset>
<normaloff>:/LidarViewPlugin/crop.png</normaloff>:/LidarViewPlugin/crop.png</iconset>
</property>
<property name="text">
......@@ -773,6 +784,11 @@
</action>
</widget>
<customwidgets>
<customwidget>
<class>pqCustomViewpointsToolbar</class>
<extends>QToolBar</extends>
<header>pqCustomViewpointsToolbar.h</header>
</customwidget>
<customwidget>
<class>lqColorToolbar</class>
<extends>QToolBar</extends>
......@@ -823,7 +839,7 @@
<resources>
<include location="vvResources.qrc"/>
<include location="../LVCore/ApplicationComponents/lqResources.qrc"/>
</resources>
</resources>
<connections>
<connection>
<sender>actionE_xit</sender>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment