diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-06-24 14:36:38 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-06-24 07:44:28 -0700 |
commit | f3b04a88dffcda6cbe10be81d5c9613e0ab00c37 (patch) | |
tree | a8deb49502d1b4bdf9015b057acc8e25df920377 /qt-ui/about.ui | |
parent | ef0272f5efb7cfd7d864dbe1f53b18348de305d3 (diff) | |
download | subsurface-f3b04a88dffcda6cbe10be81d5c9613e0ab00c37.tar.gz |
Add an 'About' dialog for the Qt UI
The dialog is similar to the one in the GTK version
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/about.ui')
-rw-r--r-- | qt-ui/about.ui | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/qt-ui/about.ui b/qt-ui/about.ui new file mode 100644 index 000000000..e03bb3ec0 --- /dev/null +++ b/qt-ui/about.ui @@ -0,0 +1,142 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>SubsurfaceAbout</class> + <widget class="QDialog" name="SubsurfaceAbout"> + <property name="windowModality"> + <enum>Qt::WindowModal</enum> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>456</width> + <height>450</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="windowTitle"> + <string>About Subsurface</string> + </property> + <property name="windowIcon"> + <iconset resource="../subsurface.qrc"> + <normaloff>:/subsurface-icon</normaloff>:/subsurface-icon</iconset> + </property> + <property name="modal"> + <bool>true</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <property name="spacing"> + <number>0</number> + </property> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Fixed</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="subsurfaceIcon"> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../subsurface.qrc">:/subsurface-icon</pixmap> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="aboutLabel"> + <property name="text"> + <string>TextLabel</string> + </property> + <property name="textFormat"> + <enum>Qt::RichText</enum> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Close</set> + </property> + <property name="centerButtons"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Fixed</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <resources> + <include location="../subsurface.qrc"/> + </resources> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>SubsurfaceAbout</receiver> + <slot>close()</slot> + <hints> + <hint type="sourcelabel"> + <x>227</x> + <y>437</y> + </hint> + <hint type="destinationlabel"> + <x>227</x> + <y>224</y> + </hint> + </hints> + </connection> + </connections> +</ui> |