diff options
author | Ken Moore <moorekou@gmail.com> | 2016-02-05 14:07:41 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-02-05 14:07:41 -0500 |
commit | 1888981c405d60b4e4accdfc086457a8ba8e3277 (patch) | |
tree | abaeac852ac8428f6ce1d5b2cc4276099d3ff555 /lumina-fm/widgets/DirWidget.ui | |
parent | A few small fixes to lumina-desktop: (diff) | |
download | lumina-1888981c405d60b4e4accdfc086457a8ba8e3277.tar.gz lumina-1888981c405d60b4e4accdfc086457a8ba8e3277.tar.bz2 lumina-1888981c405d60b4e4accdfc086457a8ba8e3277.zip |
Convert the ZFS snapshot timestamp label into a button with a dropdown menu of all the snapshots by name (same time-ordered list: oldest->newest). This allows the user to go into a specific snapshot instead of using the time slider.
Diffstat (limited to 'lumina-fm/widgets/DirWidget.ui')
-rw-r--r-- | lumina-fm/widgets/DirWidget.ui | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/lumina-fm/widgets/DirWidget.ui b/lumina-fm/widgets/DirWidget.ui index 6de649e6..c5bf12c3 100644 --- a/lumina-fm/widgets/DirWidget.ui +++ b/lumina-fm/widgets/DirWidget.ui @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>400</width> - <height>349</height> + <height>350</height> </rect> </property> <property name="minimumSize"> @@ -157,9 +157,24 @@ <number>1</number> </property> <item> - <widget class="QLabel" name="label_snap"> + <widget class="QToolButton" name="tool_snap"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="styleSheet"> + <string notr="true">padding-right: 5px;</string> + </property> <property name="text"> - <string notr="true">Snap</string> + <string notr="true"/> + </property> + <property name="popupMode"> + <enum>QToolButton::InstantPopup</enum> + </property> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextOnly</enum> </property> </widget> </item> |