mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
desktop: generalize the colorization of the tab widget
Instead of doing it just for the Information tab, do it for all of the tabs. There's still room for improvement. But this certainly feels more consistent. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7d18a525f1
commit
814cda7183
6 changed files with 80 additions and 15 deletions
|
|
@ -82,6 +82,10 @@
|
|||
<property name="text">
|
||||
<string>Date</string>
|
||||
</property>
|
||||
<property name="isHeader" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
||||
<horstretch>1</horstretch>
|
||||
|
|
@ -98,6 +102,9 @@
|
|||
<property name="text">
|
||||
<string>Time</string>
|
||||
</property>
|
||||
<property name="isHeader" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
||||
<horstretch>1</horstretch>
|
||||
|
|
@ -133,6 +140,9 @@
|
|||
<property name="text">
|
||||
<string>Depth</string>
|
||||
</property>
|
||||
<property name="isHeader" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="3">
|
||||
|
|
@ -146,6 +156,9 @@
|
|||
<property name="text">
|
||||
<string>Duration (h:mm)</string>
|
||||
</property>
|
||||
<property name="isHeader" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
|
|
@ -230,6 +243,9 @@
|
|||
<property name="text">
|
||||
<string>Location</string>
|
||||
</property>
|
||||
<property name="isHeader" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||
</property>
|
||||
|
|
@ -302,6 +318,9 @@
|
|||
<property name="text">
|
||||
<string>Divemaster</string>
|
||||
</property>
|
||||
<property name="isHeader" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||
</property>
|
||||
|
|
@ -312,6 +331,9 @@
|
|||
<property name="text">
|
||||
<string>Buddy</string>
|
||||
</property>
|
||||
<property name="isHeader" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||
</property>
|
||||
|
|
@ -348,6 +370,9 @@
|
|||
<property name="text">
|
||||
<string>Tags</string>
|
||||
</property>
|
||||
<property name="isHeader" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||
</property>
|
||||
|
|
@ -396,6 +421,9 @@
|
|||
<property name="text">
|
||||
<string>Rating</string>
|
||||
</property>
|
||||
<property name="isHeader" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1" alignment="Qt::AlignVCenter">
|
||||
|
|
@ -425,6 +453,9 @@
|
|||
<property name="text">
|
||||
<string>Notes</string>
|
||||
</property>
|
||||
<property name="isHeader" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||
</property>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue