summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r--qt-ui/maintab.ui67
1 files changed, 54 insertions, 13 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui
index 55d4f3a54..c42dc4638 100644
--- a/qt-ui/maintab.ui
+++ b/qt-ui/maintab.ui
@@ -6,18 +6,15 @@
<rect>
<x>0</x>
<y>0</y>
- <width>409</width>
- <height>368</height>
+ <width>505</width>
+ <height>459</height>
</rect>
</property>
<property name="windowTitle">
<string>TabWidget</string>
</property>
<property name="currentIndex">
- <number>3</number>
- </property>
- <property name="documentMode">
- <bool>true</bool>
+ <number>1</number>
</property>
<widget class="QWidget" name="notesTab">
<attribute name="title">
@@ -25,7 +22,7 @@
</attribute>
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="0">
- <widget class="QLabel" name="label_2">
+ <widget class="QLabel" name="LocationLabel">
<property name="text">
<string>Location</string>
</property>
@@ -39,14 +36,14 @@
</widget>
</item>
<item row="3" column="0">
- <widget class="QLabel" name="label_15">
+ <widget class="QLabel" name="DivemasterLabel">
<property name="text">
<string>Divemaster</string>
</property>
</widget>
</item>
<item row="3" column="1">
- <widget class="QLabel" name="label_3">
+ <widget class="QLabel" name="BuddyLabel">
<property name="text">
<string>Buddy</string>
</property>
@@ -83,7 +80,7 @@
<item row="5" column="0">
<layout class="QHBoxLayout" name="ratingVisibilityLabels">
<item>
- <widget class="QLabel" name="label_14">
+ <widget class="QLabel" name="RatingLabel">
<property name="text">
<string>Rating</string>
</property>
@@ -99,14 +96,14 @@
</layout>
</item>
<item row="5" column="1">
- <widget class="QLabel" name="label_19">
+ <widget class="QLabel" name="SuitLabel">
<property name="text">
<string>Suit</string>
</property>
</widget>
</item>
<item row="7" column="0">
- <widget class="QLabel" name="label_16">
+ <widget class="QLabel" name="NotesLabel">
<property name="text">
<string>Notes</string>
</property>
@@ -195,6 +192,12 @@
<property name="alternatingRowColors">
<bool>true</bool>
</property>
+ <property name="showGrid">
+ <bool>false</bool>
+ </property>
+ <attribute name="verticalHeaderVisible">
+ <bool>false</bool>
+ </attribute>
</widget>
</item>
</layout>
@@ -205,7 +208,45 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
- <widget class="QTableView" name="weights"/>
+ <widget class="QTableView" name="weights">
+ <property name="styleSheet">
+ <string notr="true"> QTableView {
+ show-decoration-selected: 1;
+ }
+
+ QTableView::item {
+ border: 1px solid #d9d9d9;
+ border-top-color: transparent;
+ border-bottom-color: transparent;
+ padding: 2px;
+ }
+
+ QTableView::item:hover {
+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1);
+ border: 1px solid #bfcde4;
+ }
+
+ QTableView::item:selected {
+ border: 1px solid #567dbc;
+ }
+
+ QTableView::item:selected:active{
+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
+ }
+
+ QTableView::item:selected:!active {
+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf);
+ }
+
+</string>
+ </property>
+ <property name="showGrid">
+ <bool>false</bool>
+ </property>
+ <attribute name="verticalHeaderVisible">
+ <bool>false</bool>
+ </attribute>
+ </widget>
</item>
</layout>
</widget>