diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-02-27 12:31:00 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 10:48:35 -0800 |
commit | 8c56b2f45e546048941ba004bce5e5bfd0e6e660 (patch) | |
tree | dda271fc80ce1d57df9dd31ea7c0644ae8bd62fc /qt-ui/mainwindow.ui | |
parent | 0307f3d5432dfc98cc4be317b0f2ce93e27c336b (diff) | |
download | subsurface-8c56b2f45e546048941ba004bce5e5bfd0e6e660.tar.gz |
Store zoomed plot in preferences
This patch makes the 'Zoomed Plot' a preference that can be stored and
retrieved, this way if the user sets the plot to be 'zoomed', this
information will persist even if they closed or opened subsurface again.
Also, added the 'Scale' button on the new profile, but didn't did the glue
code yet.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r-- | qt-ui/mainwindow.ui | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index 6e1489eca..e6adb5ba2 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>763</width> - <height>667</height> + <width>1418</width> + <height>1084</height> </rect> </property> <widget class="QWidget" name="centralwidget"> @@ -454,7 +454,7 @@ <string>...</string> </property> <property name="icon"> - <iconset> + <iconset resource="../subsurface.qrc"> <normaloff>:/flag</normaloff>:/flag</iconset> </property> <property name="iconSize"> @@ -472,6 +472,29 @@ </widget> </item> <item> + <widget class="QToolButton" name="profScaled"> + <property name="text"> + <string>...</string> + </property> + <property name="icon"> + <iconset resource="../subsurface.qrc"> + <normaloff>:/scale</normaloff>:/scale</iconset> + </property> + <property name="iconSize"> + <size> + <width>24</width> + <height>24</height> + </size> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -564,7 +587,7 @@ <rect> <x>0</x> <y>0</y> - <width>763</width> + <width>1418</width> <height>25</height> </rect> </property> |