diff options
Diffstat (limited to 'portato/gui/templates')
-rw-r--r-- | portato/gui/templates/ui/AboutDialog.ui | 144 | ||||
-rw-r--r-- | portato/gui/templates/ui/MainWindow.ui | 18 |
2 files changed, 66 insertions, 96 deletions
diff --git a/portato/gui/templates/ui/AboutDialog.ui b/portato/gui/templates/ui/AboutDialog.ui index b4064dd..ce89b44 100644 --- a/portato/gui/templates/ui/AboutDialog.ui +++ b/portato/gui/templates/ui/AboutDialog.ui @@ -8,8 +8,8 @@ <rect> <x>0</x> <y>0</y> - <width>369</width> - <height>270</height> + <width>400</width> + <height>300</height> </rect> </property> <property name="windowTitle" > @@ -23,94 +23,42 @@ <number>6</number> </property> <item> - <widget class="QTabWidget" name="tabWidget" > - <property name="currentIndex" > - <number>0</number> + <widget class="QLabel" name="imgLabel" > + <property name="text" > + <string/> + </property> + <property name="alignment" > + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label" > + <property name="text" > + <string>TextLabel</string> + </property> + <property name="alignment" > + <set>Qt::AlignCenter</set> + </property> + <property name="wordWrap" > + <bool>true</bool> </property> - <widget class="QWidget" name="tab" > - <attribute name="title" > - <string>About</string> - </attribute> - <layout class="QVBoxLayout" > - <property name="margin" > - <number>9</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <widget class="QLabel" name="label" > - <property name="text" > - <string>TextLabel</string> - </property> - <property name="alignment" > - <set>Qt::AlignCenter</set> - </property> - <property name="wordWrap" > - <bool>true</bool> - </property> - </widget> - </item> - <item> - <spacer> - <property name="orientation" > - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" > - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> - <widget class="QWidget" name="tab_2" > - <attribute name="title" > - <string>Plugins</string> - </attribute> - <layout class="QVBoxLayout" > - <property name="margin" > - <number>9</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <widget class="QTreeWidget" name="pluginList" > - <property name="editTriggers" > - <set>QAbstractItemView::NoEditTriggers</set> - </property> - <property name="showDropIndicator" stdset="0" > - <bool>false</bool> - </property> - <property name="alternatingRowColors" > - <bool>true</bool> - </property> - <property name="rootIsDecorated" > - <bool>false</bool> - </property> - <property name="columnCount" > - <number>2</number> - </property> - <column> - <property name="text" > - <string>1</string> - </property> - </column> - <column> - <property name="text" > - <string>1</string> - </property> - </column> - </widget> - </item> - </layout> - </widget> </widget> </item> <item> + <spacer> + <property name="orientation" > + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" > + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> <widget class="QDialogButtonBox" name="buttonBox" > <property name="orientation" > <enum>Qt::Horizontal</enum> @@ -134,12 +82,28 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel" > - <x>174</x> - <y>252</y> + <x>248</x> + <y>254</y> + </hint> + <hint type="destinationlabel" > + <x>157</x> + <y>274</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>AboutDialog</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel" > + <x>316</x> + <y>260</y> </hint> <hint type="destinationlabel" > - <x>176</x> - <y>197</y> + <x>286</x> + <y>274</y> </hint> </hints> </connection> diff --git a/portato/gui/templates/ui/MainWindow.ui b/portato/gui/templates/ui/MainWindow.ui index e2eb0dc..9a3e15e 100644 --- a/portato/gui/templates/ui/MainWindow.ui +++ b/portato/gui/templates/ui/MainWindow.ui @@ -428,12 +428,6 @@ p, li { white-space: pre-wrap; } <addaction name="separator" /> <addaction name="quitAction" /> </widget> - <widget class="QMenu" name="helpMenu" > - <property name="title" > - <string>&?</string> - </property> - <addaction name="aboutAction" /> - </widget> <widget class="QMenu" name="emergeMenu" > <property name="title" > <string>&Emerge</string> @@ -448,6 +442,13 @@ p, li { white-space: pre-wrap; } <addaction name="separator" /> <addaction name="killAction" /> </widget> + <widget class="QMenu" name="helpMenu" > + <property name="title" > + <string>&?</string> + </property> + <addaction name="aboutAction" /> + <addaction name="pluginAction" /> + </widget> <addaction name="fileMenu" /> <addaction name="emergeMenu" /> <addaction name="helpMenu" /> @@ -540,6 +541,11 @@ p, li { white-space: pre-wrap; } <string>Show &new packages</string> </property> </action> + <action name="pluginAction" > + <property name="text" > + <string>Plugins</string> + </property> + </action> </widget> <customwidgets> <customwidget> |