summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/ScreenshotDialog.ui
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-02-24 10:34:51 +0100
committerJan Dalheimer <jan@dalheimer.de>2014-02-24 10:34:51 +0100
commita8811a27f78698f1ab2acad47e90f3b16274e221 (patch)
tree4986fed4712433484597e4a63a022ee5c989c337 /gui/dialogs/ScreenshotDialog.ui
parent226c1bdae5ec615381965b6731f6496dffa3299e (diff)
downloadMultiMC-a8811a27f78698f1ab2acad47e90f3b16274e221.tar
MultiMC-a8811a27f78698f1ab2acad47e90f3b16274e221.tar.gz
MultiMC-a8811a27f78698f1ab2acad47e90f3b16274e221.tar.lz
MultiMC-a8811a27f78698f1ab2acad47e90f3b16274e221.tar.xz
MultiMC-a8811a27f78698f1ab2acad47e90f3b16274e221.zip
Working screenshot upload
Diffstat (limited to 'gui/dialogs/ScreenshotDialog.ui')
-rw-r--r--gui/dialogs/ScreenshotDialog.ui114
1 files changed, 64 insertions, 50 deletions
diff --git a/gui/dialogs/ScreenshotDialog.ui b/gui/dialogs/ScreenshotDialog.ui
index 7eeab859..9e4bd6f0 100644
--- a/gui/dialogs/ScreenshotDialog.ui
+++ b/gui/dialogs/ScreenshotDialog.ui
@@ -17,68 +17,82 @@
<iconset resource="../../resources/multimc/multimc.qrc">
<normaloff>:/icons/multimc/scalable/apps/multimc.svg</normaloff>:/icons/multimc/scalable/apps/multimc.svg</iconset>
</property>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>260</y>
- <width>441</width>
- <height>31</height>
- </rect>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- <widget class="QListView" name="listView">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>439</width>
- <height>241</height>
- </rect>
- </property>
- <property name="selectionMode">
- <enum>QAbstractItemView::ExtendedSelection</enum>
- </property>
- <property name="selectionBehavior">
- <enum>QAbstractItemView::SelectItems</enum>
- </property>
- <property name="iconSize">
- <size>
- <width>120</width>
- <height>90</height>
- </size>
- </property>
- <property name="flow">
- <enum>QListView::LeftToRight</enum>
- </property>
- <property name="isWrapping" stdset="0">
- <bool>true</bool>
- </property>
- <property name="viewMode">
- <enum>QListView::IconMode</enum>
- </property>
- </widget>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QListView" name="listView">
+ <property name="selectionMode">
+ <enum>QAbstractItemView::ExtendedSelection</enum>
+ </property>
+ <property name="selectionBehavior">
+ <enum>QAbstractItemView::SelectItems</enum>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>120</width>
+ <height>90</height>
+ </size>
+ </property>
+ <property name="flow">
+ <enum>QListView::LeftToRight</enum>
+ </property>
+ <property name="isWrapping" stdset="0">
+ <bool>true</bool>
+ </property>
+ <property name="viewMode">
+ <enum>QListView::IconMode</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <spacer name="horizontalSpacer">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="closeBtn">
+ <property name="text">
+ <string>Close</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="uploadBtn">
+ <property name="text">
+ <string>Upload</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
</widget>
<resources>
<include location="../../resources/multimc/multimc.qrc"/>
</resources>
<connections>
<connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
+ <sender>closeBtn</sender>
+ <signal>clicked()</signal>
<receiver>ScreenshotDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
- <x>316</x>
- <y>260</y>
+ <x>315</x>
+ <y>272</y>
</hint>
<hint type="destinationlabel">
- <x>286</x>
- <y>274</y>
+ <x>271</x>
+ <y>258</y>
</hint>
</hints>
</connection>