mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
13d4f595cb
Create a new class that encapsulates the profile-widget UI. This is called ProfileWidget, which might be confusing since the actual display is called ProfileWidget2. However, the plan is to rename the latter to ProfileView. After all, it is also used to print and to show the profile on mobile. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
511 lines
14 KiB
XML
511 lines
14 KiB
XML
<?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="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QSplitter" name="mainSplitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</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>22</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>&File</string>
|
|
</property>
|
|
<addaction name="actionNew"/>
|
|
<addaction name="actionOpen"/>
|
|
<addaction name="actionSave"/>
|
|
<addaction name="actionSaveAs"/>
|
|
<addaction name="actionCloudstorageopen"/>
|
|
<addaction name="actionCloudstoragesave"/>
|
|
<addaction name="actionCloudOnline"/>
|
|
<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="actionQuit"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuLog">
|
|
<property name="title">
|
|
<string>&Log</string>
|
|
</property>
|
|
<addaction name="actionAddDive"/>
|
|
<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="actionFilterTags"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuView">
|
|
<property name="title">
|
|
<string>&View</string>
|
|
</property>
|
|
<addaction name="actionViewAll"/>
|
|
<addaction name="actionViewList"/>
|
|
<addaction name="actionViewProfile"/>
|
|
<addaction name="actionViewInfo"/>
|
|
<addaction name="actionViewMap"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionStats"/>
|
|
<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>&Help</string>
|
|
</property>
|
|
<addaction name="actionAboutSubsurface"/>
|
|
<addaction name="action_Check_for_Updates"/>
|
|
<addaction name="actionUserManual"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuImport">
|
|
<property name="title">
|
|
<string>&Import</string>
|
|
</property>
|
|
<addaction name="actionDownloadDC"/>
|
|
<addaction name="actionImportDiveLog"/>
|
|
<addaction name="actionImportDiveSites"/>
|
|
<addaction name="actionDivelogs_de"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_Edit">
|
|
<property name="title">
|
|
<string>&Edit</string>
|
|
</property>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
<addaction name="menu_Edit"/>
|
|
<addaction name="menuImport"/>
|
|
<addaction name="menuLog"/>
|
|
<addaction name="menuView"/>
|
|
<addaction name="menuHelp"/>
|
|
</widget>
|
|
<action name="actionNew">
|
|
<property name="text">
|
|
<string>&New logbook</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>New</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+N</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionOpen">
|
|
<property name="text">
|
|
<string>&Open logbook</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Open</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+O</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSave">
|
|
<property name="text">
|
|
<string>&Save</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Save</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSaveAs">
|
|
<property name="text">
|
|
<string>Sa&ve as</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Save as</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Shift+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionClose">
|
|
<property name="text">
|
|
<string>&Close</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Close</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+W</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPrint">
|
|
<property name="text">
|
|
<string>&Print</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+P</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPreferences">
|
|
<property name="text">
|
|
<string>P&references</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+,</string>
|
|
</property>
|
|
<property name="menuRole">
|
|
<enum>QAction::PreferencesRole</enum>
|
|
</property>
|
|
</action>
|
|
<action name="actionQuit">
|
|
<property name="text">
|
|
<string>&Quit</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Q</string>
|
|
</property>
|
|
<property name="menuRole">
|
|
<enum>QAction::QuitRole</enum>
|
|
</property>
|
|
</action>
|
|
<action name="actionDownloadDC">
|
|
<property name="text">
|
|
<string>Import from &dive computer</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+D</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAddDive">
|
|
<property name="text">
|
|
<string>&Add dive</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl++</string>
|
|
</property>
|
|
</action>
|
|
<action name="copy">
|
|
<property name="text">
|
|
<string>&Copy dive components</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+C</string>
|
|
</property>
|
|
</action>
|
|
<action name="paste">
|
|
<property name="text">
|
|
<string>&Paste dive components</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+V</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionRenumber">
|
|
<property name="text">
|
|
<string>&Renumber</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+R</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAutoGroup">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Auto &group</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionYearlyStatistics">
|
|
<property name="text">
|
|
<string>&Yearly statistics</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Y</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionViewList">
|
|
<property name="text">
|
|
<string>&Dive list</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+2</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionViewProfile">
|
|
<property name="text">
|
|
<string>&Profile</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+3</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionViewInfo">
|
|
<property name="text">
|
|
<string>&Info</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+4</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionViewAll">
|
|
<property name="text">
|
|
<string>&All</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+1</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPreviousDC">
|
|
<property name="text">
|
|
<string>P&revious DC</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Left</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionNextDC">
|
|
<property name="text">
|
|
<string>&Next DC</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Right</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAboutSubsurface">
|
|
<property name="text">
|
|
<string>&About Subsurface</string>
|
|
</property>
|
|
<property name="menuRole">
|
|
<enum>QAction::AboutRole</enum>
|
|
</property>
|
|
</action>
|
|
<action name="actionUserManual">
|
|
<property name="text">
|
|
<string>User &manual</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">F1</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionViewMap">
|
|
<property name="text">
|
|
<string>&Map</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+5</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDivePlanner">
|
|
<property name="text">
|
|
<string>P&lan dive</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+L</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionImportDiveLog">
|
|
<property name="text">
|
|
<string>&Import log files</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Import divelog files from other applications</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+I</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionImportDiveSites">
|
|
<property name="text">
|
|
<string>&Import dive sites</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Import dive sites from other users</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+J</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDivelogs_de">
|
|
<property name="text">
|
|
<string>Import &from divelogs.de</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFullScreen">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Full screen</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Toggle full screen</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">F11</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_Check_for_Updates">
|
|
<property name="text">
|
|
<string>&Check for updates</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExport">
|
|
<property name="text">
|
|
<string>&Export</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Export dive logs</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+E</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionConfigure_Dive_Computer">
|
|
<property name="text">
|
|
<string>Change settings on &dive computer</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Shift+C</string>
|
|
</property>
|
|
<property name="menuRole">
|
|
<enum>QAction::NoRole</enum>
|
|
</property>
|
|
</action>
|
|
<action name="actionReplanDive">
|
|
<property name="text">
|
|
<string>Edit &dive in planner</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFilterTags">
|
|
<property name="checkable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Filter divelist</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+F</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStats">
|
|
<property name="text">
|
|
<string>Dive statistics</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+T</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_Undo">
|
|
<property name="text">
|
|
<string>&Undo</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Z</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_Redo">
|
|
<property name="text">
|
|
<string>&Redo</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Shift+Z</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionHash_images">
|
|
<property name="text">
|
|
<string>&Find moved media files</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionCloudstorageopen">
|
|
<property name="text">
|
|
<string>Open c&loud storage</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Shift+O</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionCloudstoragesave">
|
|
<property name="text">
|
|
<string>Save to clo&ud storage</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionManage_dive_sites">
|
|
<property name="text">
|
|
<string>&Manage dive sites</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDiveSiteEdit">
|
|
<property name="text">
|
|
<string>Dive Site &Edit</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionCloudOnline">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cloud stora&ge online</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>NotificationWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>desktop-widgets/notificationwidget.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../subsurface.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|