mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
1ed2f1681a
There was the "application state", which decided what to show in the "quadrants" and the "view state" which decided which quadrant to show. These interacted in a hard-to-grasp way. The "view state" is used to show the map or dive list in full screen. I simply couldn't get these two orthogonal states to interact properly. Moreover the thing was buggy: If a quadrant was hidden, the user could still show it, by dragging from the side of the window, at least under KDE. To solve these woes, merge the two states into a single application state. If the widget of a quadrant is set to null, don't show it. So the four "view states" are now "application states" where three of the four quadrants are not shown. This also changes the memory management of the widgets: widgets that are not shown are now removed from the QSplitter objects. This makes it possible that the same widget is shown in *different* quadrants. While writing this, I stumbled upon a Qt bug, which is known since 2014: https://forum.qt.io/topic/43176/qsplitter-sizes-return-0 When restoring the quadrant sizes there was a test whether the quadrant size is 0. If that was the case, a default size was set. This seems not to work if the widgets were recently added. Since this test now always fails, make the quadrants non-collapsible and thus guarantee that 0 is never saved as a size. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
730 lines
19 KiB
XML
730 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>
|
|
<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="profPO2">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>:pp-o2-icon</normaloff>:pp-o2-icon</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>
|
|
<normaloff>:pp-n2-icon</normaloff>:pp-n2-icon</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>
|
|
<normaloff>:pp-he-icon</normaloff>:pp-he-icon</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>
|
|
<normaloff>:ceiling-dc-icon</normaloff>:ceiling-dc-icon</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>
|
|
<normaloff>:ceiling-calculated-icon</normaloff>:ceiling-calculated-icon</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>
|
|
<normaloff>:ceiling-tissues-icon</normaloff>:ceiling-tissues-icon</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>
|
|
<normaloff>:ceiling-increments-icon</normaloff>:ceiling-increments-icon</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>
|
|
<normaloff>:rate-heart-icon</normaloff>:rate-heart-icon</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>
|
|
<normaloff>:depth-mod-icon</normaloff>:depth-mod-icon</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>
|
|
<normaloff>:depth-ead-icon</normaloff>:depth-ead-icon</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>
|
|
<normaloff>:depth-ndl-icon</normaloff>:depth-ndl-icon</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>
|
|
<normaloff>:rate-sac-icon</normaloff>:rate-sac-icon</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>
|
|
<normaloff>:ruler-icon</normaloff>:ruler-icon</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>
|
|
<normaloff>:scale-graph-icon</normaloff>:scale-graph-icon</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>
|
|
<normaloff>:photo-icon</normaloff>:photo-icon</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Toggle media</string>
|
|
</property>
|
|
</action>
|
|
<action name="profTankbar">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>:gaschange-icon</normaloff>:gaschange-icon</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Toggle gas bar</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="profTissues">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>:heatmap-icon</normaloff>:heatmap-icon</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Toggle tissue heat-map</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>
|
|
<action name="profDeco">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../subsurface.qrc">
|
|
<normaloff>:/tissue-icon</normaloff>:/tissue-icon</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Toggle deco information</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Toggle deco information</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>
|