summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-09-03 14:20:19 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-30 10:36:49 -0700
commite49d6213ad129284a45d53c3fcdc03249e84efe2 (patch)
tree2946a666ab38af3375e7bb2b8c5dd887d4a7f9a1 /desktop-widgets/mainwindow.ui
parent588abd019fb2ed3f607682f2b6c7fe86a7a5bb90 (diff)
downloadsubsurface-e49d6213ad129284a45d53c3fcdc03249e84efe2.tar.gz
Move qt-ui to desktop-widgets
Since we have now destkop and mobile versions, 'qt-ui' was a very poor name choice for a folder that contains only destkop-enabled widgets. Also, move the graphicsview-common.h/cpp to subsurface-core because it doesn't depend on qgraphicsview, it merely implements all the colors that we use throughout Subsurface, and we will use colors on both desktop and mobile versions Same thing applies for metrics.h/cpp Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/mainwindow.ui')
-rw-r--r--desktop-widgets/mainwindow.ui761
1 files changed, 761 insertions, 0 deletions
diff --git a/desktop-widgets/mainwindow.ui b/desktop-widgets/mainwindow.ui
new file mode 100644
index 000000000..5e3200cfc
--- /dev/null
+++ b/desktop-widgets/mainwindow.ui
@@ -0,0 +1,761 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>MainWindow</class>
+ <widget class="QMainWindow" name="MainWindow">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>861</width>
+ <height>800</height>
+ </rect>
+ </property>
+ <widget class="QWidget" name="centralwidget">
+ <layout class="QVBoxLayout" name="fullWindowLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="margin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="MultiFilter" name="multiFilter" native="true"/>
+ </item>
+ <item>
+ <widget class="QSplitter" name="mainSplitter">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <widget class="QSplitter" name="topSplitter">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <widget class="QStackedWidget" name="topLeft"/>
+ <widget class="QStackedWidget" name="topRight"/>
+ </widget>
+ <widget class="QSplitter" name="bottomSplitter">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <widget class="QStackedWidget" name="bottomLeft"/>
+ <widget class="QStackedWidget" name="bottomRight"/>
+ </widget>
+ </widget>
+ </item>
+ <item>
+ <widget class="NotificationWidget" name="mainErrorMessage" native="true"/>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QMenuBar" name="menubar">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>861</width>
+ <height>23</height>
+ </rect>
+ </property>
+ <widget class="QMenu" name="menuFile">
+ <property name="title">
+ <string>&amp;File</string>
+ </property>
+ <addaction name="actionNew"/>
+ <addaction name="actionOpen"/>
+ <addaction name="actionCloudstorageopen"/>
+ <addaction name="actionSave"/>
+ <addaction name="actionCloudstoragesave"/>
+ <addaction name="actionSaveAs"/>
+ <addaction name="separator"/>
+ <addaction name="actionClose"/>
+ <addaction name="actionExport"/>
+ <addaction name="actionPrint"/>
+ <addaction name="actionPreferences"/>
+ <addaction name="separator"/>
+ <addaction name="actionHash_images"/>
+ <addaction name="actionConfigure_Dive_Computer"/>
+ <addaction name="actionRecent1"/>
+ <addaction name="actionRecent2"/>
+ <addaction name="actionRecent3"/>
+ <addaction name="actionRecent4"/>
+ <addaction name="separator"/>
+ <addaction name="actionQuit"/>
+ </widget>
+ <widget class="QMenu" name="menuLog">
+ <property name="title">
+ <string>&amp;Log</string>
+ </property>
+ <addaction name="actionAddDive"/>
+ <addaction name="actionEditDive"/>
+ <addaction name="actionDivePlanner"/>
+ <addaction name="actionReplanDive"/>
+ <addaction name="copy"/>
+ <addaction name="paste"/>
+ <addaction name="separator"/>
+ <addaction name="actionRenumber"/>
+ <addaction name="actionAutoGroup"/>
+ <addaction name="separator"/>
+ <addaction name="actionEditDeviceNames"/>
+ <addaction name="actionFilterTags"/>
+ </widget>
+ <widget class="QMenu" name="menuView">
+ <property name="title">
+ <string>&amp;View</string>
+ </property>
+ <addaction name="actionViewAll"/>
+ <addaction name="actionViewList"/>
+ <addaction name="actionViewProfile"/>
+ <addaction name="actionViewInfo"/>
+ <addaction name="actionViewGlobe"/>
+ <addaction name="separator"/>
+ <addaction name="actionYearlyStatistics"/>
+ <addaction name="actionPreviousDC"/>
+ <addaction name="actionNextDC"/>
+ <addaction name="separator"/>
+ <addaction name="actionFullScreen"/>
+ </widget>
+ <widget class="QMenu" name="menuHelp">
+ <property name="title">
+ <string>&amp;Help</string>
+ </property>
+ <addaction name="actionAboutSubsurface"/>
+ <addaction name="action_Check_for_Updates"/>
+ <addaction name="actionUserSurvey"/>
+ <addaction name="actionUserManual"/>
+ </widget>
+ <widget class="QMenu" name="menuImport">
+ <property name="title">
+ <string>&amp;Import</string>
+ </property>
+ <addaction name="actionDownloadDC"/>
+ <addaction name="actionImportDiveLog"/>
+ <addaction name="actionDownloadWeb"/>
+ <addaction name="actionDivelogs_de"/>
+ </widget>
+ <widget class="QMenu" name="menu_Edit">
+ <property name="title">
+ <string>&amp;Edit</string>
+ </property>
+ </widget>
+ <widget class="QMenu" name="menuShare_on">
+ <property name="title">
+ <string>Share on</string>
+ </property>
+ <addaction name="separator"/>
+ <addaction name="actionFacebook"/>
+ </widget>
+ <addaction name="menuFile"/>
+ <addaction name="menu_Edit"/>
+ <addaction name="menuImport"/>
+ <addaction name="menuLog"/>
+ <addaction name="menuView"/>
+ <addaction name="menuShare_on"/>
+ <addaction name="menuHelp"/>
+ </widget>
+ <action name="actionNew">
+ <property name="text">
+ <string>&amp;New logbook</string>
+ </property>
+ <property name="toolTip">
+ <string>New</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+N</string>
+ </property>
+ </action>
+ <action name="actionOpen">
+ <property name="text">
+ <string>&amp;Open logbook</string>
+ </property>
+ <property name="toolTip">
+ <string>Open</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+O</string>
+ </property>
+ </action>
+ <action name="actionSave">
+ <property name="text">
+ <string>&amp;Save</string>
+ </property>
+ <property name="toolTip">
+ <string>Save</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+S</string>
+ </property>
+ </action>
+ <action name="actionSaveAs">
+ <property name="text">
+ <string>Sa&amp;ve as</string>
+ </property>
+ <property name="toolTip">
+ <string>Save as</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+Shift+S</string>
+ </property>
+ </action>
+ <action name="actionClose">
+ <property name="text">
+ <string>&amp;Close</string>
+ </property>
+ <property name="toolTip">
+ <string>Close</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+W</string>
+ </property>
+ </action>
+ <action name="actionPrint">
+ <property name="text">
+ <string>&amp;Print</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+P</string>
+ </property>
+ </action>
+ <action name="actionPreferences">
+ <property name="text">
+ <string>P&amp;references</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+,</string>
+ </property>
+ <property name="menuRole">
+ <enum>QAction::PreferencesRole</enum>
+ </property>
+ </action>
+ <action name="actionQuit">
+ <property name="text">
+ <string>&amp;Quit</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+Q</string>
+ </property>
+ <property name="menuRole">
+ <enum>QAction::QuitRole</enum>
+ </property>
+ </action>
+ <action name="actionDownloadDC">
+ <property name="text">
+ <string>Import from &amp;dive computer</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+D</string>
+ </property>
+ </action>
+ <action name="actionDownloadWeb">
+ <property name="text">
+ <string>Import &amp;GPS data from Subsurface web service</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+G</string>
+ </property>
+ </action>
+ <action name="actionEditDeviceNames">
+ <property name="text">
+ <string>Edit device &amp;names</string>
+ </property>
+ </action>
+ <action name="actionAddDive">
+ <property name="text">
+ <string>&amp;Add dive</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl++</string>
+ </property>
+ </action>
+ <action name="actionEditDive">
+ <property name="text">
+ <string>&amp;Edit dive</string>
+ </property>
+ </action>
+ <action name="copy">
+ <property name="text">
+ <string>&amp;Copy dive components</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+C</string>
+ </property>
+ </action>
+ <action name="paste">
+ <property name="text">
+ <string>&amp;Paste dive components</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+V</string>
+ </property>
+ </action>
+ <action name="actionRenumber">
+ <property name="text">
+ <string>&amp;Renumber</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+R</string>
+ </property>
+ </action>
+ <action name="actionAutoGroup">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>Auto &amp;group</string>
+ </property>
+ </action>
+ <action name="actionYearlyStatistics">
+ <property name="text">
+ <string>&amp;Yearly statistics</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+Y</string>
+ </property>
+ </action>
+ <action name="actionViewList">
+ <property name="text">
+ <string>&amp;Dive list</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+2</string>
+ </property>
+ </action>
+ <action name="actionViewProfile">
+ <property name="text">
+ <string>&amp;Profile</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+3</string>
+ </property>
+ </action>
+ <action name="actionViewInfo">
+ <property name="text">
+ <string>&amp;Info</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+4</string>
+ </property>
+ </action>
+ <action name="actionViewAll">
+ <property name="text">
+ <string>&amp;All</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+1</string>
+ </property>
+ </action>
+ <action name="actionPreviousDC">
+ <property name="text">
+ <string>P&amp;revious DC</string>
+ </property>
+ <property name="shortcut">
+ <string>Left</string>
+ </property>
+ </action>
+ <action name="actionNextDC">
+ <property name="text">
+ <string>&amp;Next DC</string>
+ </property>
+ <property name="shortcut">
+ <string>Right</string>
+ </property>
+ </action>
+ <action name="actionAboutSubsurface">
+ <property name="text">
+ <string>&amp;About Subsurface</string>
+ </property>
+ <property name="menuRole">
+ <enum>QAction::AboutRole</enum>
+ </property>
+ </action>
+ <action name="actionUserManual">
+ <property name="text">
+ <string>User &amp;manual</string>
+ </property>
+ <property name="shortcut">
+ <string>F1</string>
+ </property>
+ </action>
+ <action name="actionViewGlobe">
+ <property name="text">
+ <string>&amp;Globe</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+5</string>
+ </property>
+ </action>
+ <action name="actionDivePlanner">
+ <property name="text">
+ <string>P&amp;lan dive</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+L</string>
+ </property>
+ </action>
+ <action name="actionImportDiveLog">
+ <property name="text">
+ <string>&amp;Import log files</string>
+ </property>
+ <property name="toolTip">
+ <string>Import divelog files from other applications</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+I</string>
+ </property>
+ </action>
+ <action name="actionDivelogs_de">
+ <property name="text">
+ <string>Import &amp;from divelogs.de</string>
+ </property>
+ </action>
+ <action name="actionFullScreen">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>&amp;Full screen</string>
+ </property>
+ <property name="toolTip">
+ <string>Toggle full screen</string>
+ </property>
+ <property name="shortcut">
+ <string>F11</string>
+ </property>
+ </action>
+ <action name="actionRecent1">
+ <property name="visible">
+ <bool>false</bool>
+ </property>
+ </action>
+ <action name="actionRecent2">
+ <property name="visible">
+ <bool>false</bool>
+ </property>
+ </action>
+ <action name="actionRecent3">
+ <property name="visible">
+ <bool>false</bool>
+ </property>
+ </action>
+ <action name="actionRecent4">
+ <property name="visible">
+ <bool>false</bool>
+ </property>
+ </action>
+ <action name="action_Check_for_Updates">
+ <property name="text">
+ <string>&amp;Check for updates</string>
+ </property>
+ </action>
+ <action name="actionExport">
+ <property name="text">
+ <string>&amp;Export</string>
+ </property>
+ <property name="toolTip">
+ <string>Export dive logs</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+E</string>
+ </property>
+ </action>
+ <action name="actionConfigure_Dive_Computer">
+ <property name="text">
+ <string>Configure &amp;dive computer</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+Shift+C</string>
+ </property>
+ <property name="menuRole">
+ <enum>QAction::NoRole</enum>
+ </property>
+ </action>
+ <action name="actionReplanDive">
+ <property name="text">
+ <string>Edit &amp;dive in planner</string>
+ </property>
+ </action>
+ <action name="profPO2">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_o2</normaloff>:/icon_o2</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle pO₂ graph</string>
+ </property>
+ </action>
+ <action name="profPn2">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_n2</normaloff>:/icon_n2</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle pN₂ graph</string>
+ </property>
+ </action>
+ <action name="profPhe">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_he</normaloff>:/icon_he</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle pHe graph</string>
+ </property>
+ </action>
+ <action name="profDcCeiling">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_ceiling_dc</normaloff>:/icon_ceiling_dc</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle DC reported ceiling</string>
+ </property>
+ </action>
+ <action name="profCalcCeiling">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_ceiling_calculated</normaloff>:/icon_ceiling_calculated</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle calculated ceiling</string>
+ </property>
+ </action>
+ <action name="profCalcAllTissues">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_ceiling_alltissues</normaloff>:/icon_ceiling_alltissues</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle calculating all tissues</string>
+ </property>
+ </action>
+ <action name="profIncrement3m">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_ceiling_3m</normaloff>:/icon_ceiling_3m</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle calculated ceiling with 3m increments</string>
+ </property>
+ </action>
+ <action name="profHR">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_HR</normaloff>:/icon_HR</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle heart rate</string>
+ </property>
+ </action>
+ <action name="profMod">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_mod</normaloff>:/icon_mod</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle MOD</string>
+ </property>
+ </action>
+ <action name="profEad">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_ead</normaloff>:/icon_ead</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle EAD, END, EADD</string>
+ </property>
+ </action>
+ <action name="profNdl_tts">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_NDLTTS</normaloff>:/icon_NDLTTS</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle NDL, TTS</string>
+ </property>
+ </action>
+ <action name="profSAC">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_lung</normaloff>:/icon_lung</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle SAC rate</string>
+ </property>
+ </action>
+ <action name="profRuler">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/ruler</normaloff>:/ruler</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle ruler</string>
+ </property>
+ </action>
+ <action name="profScaled">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/scale</normaloff>:/scale</iconset>
+ </property>
+ <property name="text">
+ <string>Scale graph</string>
+ </property>
+ </action>
+ <action name="profTogglePicture">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/pictures</normaloff>:/pictures</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle pictures</string>
+ </property>
+ </action>
+ <action name="profTankbar">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/gaschange</normaloff>:/gaschange</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle tank bar</string>
+ </property>
+ </action>
+ <action name="actionFilterTags">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>&amp;Filter divelist</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+F</string>
+ </property>
+ </action>
+ <action name="profTissues">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_tissue</normaloff>:/icon_tissue</iconset>
+ </property>
+ <property name="text">
+ <string>Toggle tissue graph</string>
+ </property>
+ </action>
+ <action name="actionUserSurvey">
+ <property name="text">
+ <string>User &amp;survey</string>
+ </property>
+ </action>
+ <action name="action_Undo">
+ <property name="text">
+ <string>&amp;Undo</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+Z</string>
+ </property>
+ </action>
+ <action name="action_Redo">
+ <property name="text">
+ <string>&amp;Redo</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+Shift+Z</string>
+ </property>
+ </action>
+ <action name="actionHash_images">
+ <property name="text">
+ <string>&amp;Find moved images</string>
+ </property>
+ </action>
+ <action name="actionCloudstorageopen">
+ <property name="text">
+ <string>Open c&amp;loud storage</string>
+ </property>
+ </action>
+ <action name="actionCloudstoragesave">
+ <property name="text">
+ <string>Save to clo&amp;ud storage</string>
+ </property>
+ </action>
+ <action name="actionManage_dive_sites">
+ <property name="text">
+ <string>&amp;Manage dive sites</string>
+ </property>
+ </action>
+ <action name="actionDiveSiteEdit">
+ <property name="text">
+ <string>Dive Site &amp;Edit</string>
+ </property>
+ </action>
+ <action name="actionFacebook">
+ <property name="text">
+ <string>Facebook</string>
+ </property>
+ </action>
+ </widget>
+ <customwidgets>
+ <customwidget>
+ <class>NotificationWidget</class>
+ <extends>QWidget</extends>
+ <header>notificationwidget.h</header>
+ <container>1</container>
+ </customwidget>
+ <customwidget>
+ <class>MultiFilter</class>
+ <extends>QWidget</extends>
+ <header>simplewidgets.h</header>
+ <container>1</container>
+ </customwidget>
+ </customwidgets>
+ <resources>
+ <include location="../subsurface.qrc"/>
+ </resources>
+ <connections/>
+</ui>