mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
c5c44e3a82
The css was done by me in the first days of subsurface for Qt, and it was a code that I was never proud of. Mostly because I tougth at the time that it was better to write it into CSS than to create a new class just to take care of the size of the default cell height on a tree view. Now I see that it was a biased approach since it created issues on dark color schemes and it also didn't make a 'native' experience on Gnome or OSX, only on KDE. This fixes that. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
521 lines
14 KiB
XML
521 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>763</width>
|
|
<height>548</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QSplitter" name="mainSplitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<widget class="QSplitter" name="infoProfileSplitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<widget class="QStackedWidget" name="infoPane">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="page">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="MainTab" name="InfoWidget" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="page_2">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="DivePlannerWidget" name="divePlannerWidget" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QStackedWidget" name="stackedWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="page_5">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="ProfileGraphicsView" name="ProfileWidget"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="page_6">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="DivePlannerGraphics" name="divePlanner"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QSplitter" name="listGlobeSplitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<widget class="DiveListView" name="ListWidget">
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
</property>
|
|
<property name="rootIsDecorated">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="animated">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="allColumnsShowFocus">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="GlobeGPS" name="globe" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</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>763</width>
|
|
<height>32</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="separator"/>
|
|
<addaction name="actionClose"/>
|
|
<addaction name="actionExportUDDF"/>
|
|
<addaction name="actionPrint"/>
|
|
<addaction name="actionPreferences"/>
|
|
<addaction name="actionQuit"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuLog">
|
|
<property name="title">
|
|
<string>&Log</string>
|
|
</property>
|
|
<addaction name="actionAddDive"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionRenumber"/>
|
|
<addaction name="actionAutoGroup"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionEditDeviceNames"/>
|
|
</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="actionViewGlobe"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionYearlyStatistics"/>
|
|
<addaction name="actionPreviousDC"/>
|
|
<addaction name="actionNextDC"/>
|
|
<addaction name="separator"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuFilter">
|
|
<property name="title">
|
|
<string>Filter</string>
|
|
</property>
|
|
<addaction name="actionSelectEvents"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuHelp">
|
|
<property name="title">
|
|
<string>&Help</string>
|
|
</property>
|
|
<addaction name="actionAboutSubsurface"/>
|
|
<addaction name="actionUserManual"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuImport">
|
|
<property name="title">
|
|
<string>&Import</string>
|
|
</property>
|
|
<addaction name="actionDownloadDC"/>
|
|
<addaction name="actionImport"/>
|
|
<addaction name="actionImportCSV"/>
|
|
<addaction name="actionDownloadWeb"/>
|
|
<addaction name="actionDivelogs_de"/>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
<addaction name="menuImport"/>
|
|
<addaction name="menuLog"/>
|
|
<addaction name="menuView"/>
|
|
<addaction name="menuFilter"/>
|
|
<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>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>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>Ctrl+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSaveAs">
|
|
<property name="text">
|
|
<string>Save 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>Close</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Close</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+W</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionImport">
|
|
<property name="text">
|
|
<string>Import Files</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Import Files</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+I</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExportUDDF">
|
|
<property name="text">
|
|
<string>Export &UDDF</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+U</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPrint">
|
|
<property name="text">
|
|
<string>&Print</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+P</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPreferences">
|
|
<property name="text">
|
|
<string>Preferences</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>&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 &dive computer</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+D</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDownloadWeb">
|
|
<property name="text">
|
|
<string>Import &GPS data from Subsurface Service</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+G</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEditDeviceNames">
|
|
<property name="text">
|
|
<string>&Edit Device Names</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAddDive">
|
|
<property name="text">
|
|
<string>Add Dive</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl++</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionRenumber">
|
|
<property name="text">
|
|
<string>&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 Group</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionToggleZoom">
|
|
<property name="text">
|
|
<string>Toggle &Zoom</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionYearlyStatistics">
|
|
<property name="text">
|
|
<string>&Yearly Statistics</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Y</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionViewList">
|
|
<property name="text">
|
|
<string>Dive List</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+2</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionViewProfile">
|
|
<property name="text">
|
|
<string>Profile</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+3</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionViewInfo">
|
|
<property name="text">
|
|
<string>Info</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+4</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionViewAll">
|
|
<property name="text">
|
|
<string>All</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+1</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPreviousDC">
|
|
<property name="text">
|
|
<string>Prev DC</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Left</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionNextDC">
|
|
<property name="text">
|
|
<string>Next DC</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Right</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSelectEvents">
|
|
<property name="text">
|
|
<string>Select Events</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionInputPlan">
|
|
<property name="text">
|
|
<string>Input Plan</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>F1</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionViewGlobe">
|
|
<property name="text">
|
|
<string>Globe</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+5</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDivePlanner">
|
|
<property name="text">
|
|
<string>P&lan Dive</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+L</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionImportCSV">
|
|
<property name="text">
|
|
<string>Import CSV</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Import CS&V</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDivelogs_de">
|
|
<property name="text">
|
|
<string>Import from Divelogs.de</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>KMessageWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>kmessagewidget.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>MainTab</class>
|
|
<extends>QWidget</extends>
|
|
<header>qt-ui/maintab.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>DiveListView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>divelistview.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>ProfileGraphicsView</class>
|
|
<extends>QGraphicsView</extends>
|
|
<header>profilegraphics.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>GlobeGPS</class>
|
|
<extends>QWidget</extends>
|
|
<header>globe.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>DivePlannerGraphics</class>
|
|
<extends>QGraphicsView</extends>
|
|
<header>diveplanner.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>DivePlannerWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>diveplanner.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|