Skip to content
Permalink
Browse files

Minor UI layout fixes

  • Loading branch information
nyalldawson committed Mar 13, 2020
1 parent f37da16 commit 1bce6e44014174e2e9b4899a1d63106ff2a0f95a
Showing with 136 additions and 142 deletions.
  1. +134 −86 src/ui/qgstemporalcontrollerwidgetbase.ui
  2. +2 −56 src/ui/raster/qgsrasterlayertemporalpropertieswidgetbase.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1154</width>
<height>81</height>
<width>747</width>
<height>93</height>
</rect>
</property>
<property name="windowTitle">
@@ -27,100 +27,104 @@
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<layout class="QHBoxLayout" name="horizontalLayout_5" stretch="0,0,0,0,0,0,0,2,0,4,0">
<item>
<widget class="QPushButton" name="mRewindButton">
<widget class="QLabel" name="label_4">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/rewindToStart.svg</normaloff>:/images/themes/default/temporal_navigation/rewindToStart.svg</iconset>
<string>Range</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mPreviousButton">
<property name="text">
<string/>
<widget class="QDateTimeEdit" name="mStartDateTime">
<property name="displayFormat">
<string>M/d/yyyy h:mm AP</string>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/previous.svg</normaloff>:/images/themes/default/temporal_navigation/previous.svg</iconset>
<property name="timeSpec">
<enum>Qt::UTC</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mBackButton">
<widget class="QLabel" name="label_5">
<property name="text">
<string/>
<string>to </string>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/back.svg</normaloff>:/images/themes/default/temporal_navigation/back.svg</iconset>
</widget>
</item>
<item>
<widget class="QDateTimeEdit" name="mEndDateTime">
<property name="displayFormat">
<string>M/d/yyyy h:mm AP</string>
</property>
<property name="checkable">
<bool>true</bool>
<property name="timeSpec">
<enum>Qt::UTC</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mStopButton">
<widget class="QToolButton" name="mSetToProjectTimeButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/pause.svg</normaloff>:/images/themes/default/temporal_navigation/pause.svg</iconset>
<normaloff>:/images/themes/default/mActionRefresh.svg</normaloff>:/images/themes/default/mActionRefresh.svg</iconset>
</property>
<property name="checkable">
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mForwardButton">
<property name="text">
<string/>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/forward.svg</normaloff>:/images/themes/default/temporal_navigation/forward.svg</iconset>
<property name="sizeType">
<enum>QSizePolicy::Maximum</enum>
</property>
<property name="checkable">
<bool>true</bool>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</widget>
</spacer>
</item>
<item>
<widget class="QPushButton" name="mNextButton">
<widget class="QLabel" name="label_2">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/next.svg</normaloff>:/images/themes/default/temporal_navigation/next.svg</iconset>
<string>Step</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mFastForwardButton">
<property name="text">
<string/>
<widget class="QgsDoubleSpinBox" name="mSpinBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>130</width>
<height>16777215</height>
</size>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/skipToEnd.svg</normaloff>:/images/themes/default/temporal_navigation/skipToEnd.svg</iconset>
<property name="decimals">
<number>3</number>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="mLoopingCheckBox">
<property name="toolTip">
<string>Automatically reset and repeat the animation endlessly</string>
<widget class="QComboBox" name="mTimeStepsComboBox">
<property name="editable">
<bool>false</bool>
</property>
<property name="text">
<string>Loop</string>
<property name="currentText">
<string/>
</property>
</widget>
</item>
@@ -138,90 +142,134 @@
</spacer>
</item>
<item>
<widget class="QLabel" name="label_2">
<widget class="QToolButton" name="mSettings">
<property name="text">
<string>Time steps of</string>
<string/>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/propertyicons/settings.svg</normaloff>:/images/themes/default/propertyicons/settings.svg</iconset>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QgsDoubleSpinBox" name="mSpinBox"/>
</item>
<item>
<widget class="QComboBox" name="mTimeStepsComboBox">
<property name="editable">
<bool>false</bool>
</property>
<property name="currentText">
<widget class="QPushButton" name="mRewindButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/rewindToStart.svg</normaloff>:/images/themes/default/temporal_navigation/rewindToStart.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<widget class="QPushButton" name="mPreviousButton">
<property name="text">
<string>Currently set from </string>
<string/>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/previous.svg</normaloff>:/images/themes/default/temporal_navigation/previous.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QDateTimeEdit" name="mStartDateTime">
<property name="displayFormat">
<string>M/d/yyyy h:mm AP</string>
<widget class="QPushButton" name="mBackButton">
<property name="text">
<string/>
</property>
<property name="timeSpec">
<enum>Qt::UTC</enum>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/back.svg</normaloff>:/images/themes/default/temporal_navigation/back.svg</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_5">
<widget class="QPushButton" name="mStopButton">
<property name="text">
<string>to </string>
<string/>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/pause.svg</normaloff>:/images/themes/default/temporal_navigation/pause.svg</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QDateTimeEdit" name="mEndDateTime">
<property name="displayFormat">
<string>M/d/yyyy h:mm AP</string>
<widget class="QPushButton" name="mForwardButton">
<property name="text">
<string/>
</property>
<property name="timeSpec">
<enum>Qt::UTC</enum>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/temporal_navigation/forward.svg</normaloff>:/images/themes/default/temporal_navigation/forward.svg</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mSetToProjectTimeButton">
<widget class="QPushButton" name="mNextButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/propertyicons/temporal.svg</normaloff>:/images/themes/default/propertyicons/temporal.svg</iconset>
<normaloff>:/images/themes/default/temporal_navigation/next.svg</normaloff>:/images/themes/default/temporal_navigation/next.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mSettings">
<widget class="QPushButton" name="mFastForwardButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/propertyicons/settings.svg</normaloff>:/images/themes/default/propertyicons/settings.svg</iconset>
<normaloff>:/images/themes/default/temporal_navigation/skipToEnd.svg</normaloff>:/images/themes/default/temporal_navigation/skipToEnd.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="mLoopingCheckBox">
<property name="toolTip">
<string>Automatically reset and repeat the animation endlessly</string>
</property>
<property name="text">
<string>Loop</string>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="mSlider">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
<property name="tickPosition">
<enum>QSlider::NoTicks</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QSlider" name="mSlider">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="mCurrentRangeLabel">
<property name="text">

0 comments on commit 1bce6e4

Please sign in to comment.
You can’t perform that action at this time.