summaryrefslogtreecommitdiff
path: root/portato/gui/templates/ui
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui/templates/ui')
-rw-r--r--portato/gui/templates/ui/LogDialog.ui88
-rw-r--r--portato/gui/templates/ui/MainWindow.ui22
2 files changed, 102 insertions, 8 deletions
diff --git a/portato/gui/templates/ui/LogDialog.ui b/portato/gui/templates/ui/LogDialog.ui
new file mode 100644
index 0000000..3415893
--- /dev/null
+++ b/portato/gui/templates/ui/LogDialog.ui
@@ -0,0 +1,88 @@
+<ui version="4.0" >
+ <class>LogDialog</class>
+ <widget class="QDialog" name="LogDialog" >
+ <property name="geometry" >
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>481</width>
+ <height>603</height>
+ </rect>
+ </property>
+ <property name="windowTitle" >
+ <string>Log Viewer</string>
+ </property>
+ <layout class="QVBoxLayout" >
+ <property name="margin" >
+ <number>9</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item>
+ <widget class="QTextEdit" name="logView" >
+ <property name="undoRedoEnabled" >
+ <bool>false</bool>
+ </property>
+ <property name="readOnly" >
+ <bool>true</bool>
+ </property>
+ <property name="acceptRichText" >
+ <bool>false</bool>
+ </property>
+ <property name="cursorWidth" >
+ <number>0</number>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QDialogButtonBox" name="buttonBox" >
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons" >
+ <set>QDialogButtonBox::Ok</set>
+ </property>
+ <property name="centerButtons" >
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>accepted()</signal>
+ <receiver>LogDialog</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel" >
+ <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>LogDialog</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel" >
+ <x>316</x>
+ <y>260</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>286</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>
diff --git a/portato/gui/templates/ui/MainWindow.ui b/portato/gui/templates/ui/MainWindow.ui
index 5329f9e..0011ead 100644
--- a/portato/gui/templates/ui/MainWindow.ui
+++ b/portato/gui/templates/ui/MainWindow.ui
@@ -428,13 +428,6 @@ p, li { white-space: pre-wrap; }
<addaction name="separator" />
<addaction name="quitAction" />
</widget>
- <widget class="QMenu" name="helpMenu" >
- <property name="title" >
- <string>&amp;?</string>
- </property>
- <addaction name="aboutAction" />
- <addaction name="pluginAction" />
- </widget>
<widget class="QMenu" name="emergeMenu" >
<property name="title" >
<string>&amp;Emerge</string>
@@ -450,6 +443,14 @@ p, li { white-space: pre-wrap; }
<addaction name="killAction" />
<addaction name="pauseAction" />
</widget>
+ <widget class="QMenu" name="helpMenu" >
+ <property name="title" >
+ <string>&amp;?</string>
+ </property>
+ <addaction name="aboutAction" />
+ <addaction name="pluginAction" />
+ <addaction name="logAction" />
+ </widget>
<addaction name="fileMenu" />
<addaction name="emergeMenu" />
<addaction name="helpMenu" />
@@ -544,7 +545,7 @@ p, li { white-space: pre-wrap; }
</action>
<action name="pluginAction" >
<property name="text" >
- <string>Plugins</string>
+ <string>&amp;Plugins</string>
</property>
</action>
<action name="pauseAction" >
@@ -555,6 +556,11 @@ p, li { white-space: pre-wrap; }
<string>Emerge &amp;paused</string>
</property>
</action>
+ <action name="logAction" >
+ <property name="text" >
+ <string>Show &amp;Logs</string>
+ </property>
+ </action>
</widget>
<customwidgets>
<customwidget>