subsurface/qt-ui/mainwindow.ui
Grace Karanja 013da6b0af Reverse undo buffer
Reverse all the code using the UndoBuffer class so that we can
use the QUndoStack and QUndoCommand classes. These are Qt's own
inbuild undo framework classes, offering a better undo/redo
process.

Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-02-11 07:59:46 -08:00

712 lines
19 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>
<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="KMessageWidget" 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>25</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>&amp;File</string>
</property>
<addaction name="actionNew"/>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
<addaction name="actionSaveAs"/>
<addaction name="separator"/>
<addaction name="actionClose"/>
<addaction name="actionExport"/>
<addaction name="actionPrint"/>
<addaction name="actionPreferences"/>
<addaction name="separator"/>
<addaction name="actionConfigure_Dive_Computer"/>
<addaction name="separator"/>
<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="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>
<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>&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>&amp;Edit device 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="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>Re-plan &amp;dive</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>
</widget>
<customwidgets>
<customwidget>
<class>KMessageWidget</class>
<extends>QWidget</extends>
<header>kmessagewidget.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>