summaryrefslogtreecommitdiffstats
path: root/src/gui/logviewform.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/logviewform.ui')
-rw-r--r--src/gui/logviewform.ui203
1 files changed, 91 insertions, 112 deletions
diff --git a/src/gui/logviewform.ui b/src/gui/logviewform.ui
index c99d24c..496c529 100644
--- a/src/gui/logviewform.ui
+++ b/src/gui/logviewform.ui
@@ -1,123 +1,102 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>LogViewForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>LogViewForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>LogViewForm</class>
+ <widget class="QDialog" name="LogViewForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>599</width>
- <height>472</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>599</width>
+ <height>472</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Log</string>
+ <property name="windowTitle">
+ <string>Twinkle - Log</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QTextEdit" row="0" column="0" rowspan="1" colspan="3">
- <property name="name">
- <cstring>logTextEdit</cstring>
- </property>
- <property name="textFormat">
- <enum>PlainText</enum>
- </property>
- <property name="wordWrap">
- <enum>NoWrap</enum>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Contents of the current log file (~/.twinkle/twinkle.log)</string>
- </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0" rowspan="1" colspan="3">
+ <widget class="Q3TextEdit" name="logTextEdit">
+ <property name="textFormat">
+ <enum>Qt::PlainText</enum>
+ </property>
+ <property name="wordWrap">
+ <enum>Q3TextEdit::NoWrap</enum>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Contents of the current log file (~/.twinkle/twinkle.log)</string>
+ </property>
</widget>
- <widget class="QPushButton" row="1" column="2">
- <property name="name">
- <cstring>closePushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;Close</string>
- </property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
+ </item>
+ <item row="1" column="2">
+ <widget class="QPushButton" name="closePushButton">
+ <property name="text">
+ <string>&amp;Close</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
</widget>
- <spacer row="1" column="0">
- <property name="name">
- <cstring>spacer23</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>360</width>
- <height>20</height>
- </size>
- </property>
+ </item>
+ <item row="1" column="0">
+ <spacer name="spacer23">
+ <property name="sizeHint">
+ <size>
+ <width>360</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
</spacer>
- <widget class="QPushButton" row="1" column="1">
- <property name="name">
- <cstring>clearPushButton</cstring>
- </property>
- <property name="text">
- <string>C&amp;lear</string>
- </property>
- <property name="accel">
- <string>Alt+L</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Clear the log window. This does &lt;b&gt;not&lt;/b&gt; clear the log file itself.</string>
- </property>
+ </item>
+ <item row="1" column="1">
+ <widget class="QPushButton" name="clearPushButton">
+ <property name="text">
+ <string>C&amp;lear</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+L</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Clear the log window. This does &lt;b&gt;not&lt;/b&gt; clear the log file itself.</string>
+ </property>
</widget>
- </grid>
-</widget>
-<connections>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>logTextEdit</tabstop>
+ <tabstop>clearPushButton</tabstop>
+ <tabstop>closePushButton</tabstop>
+ </tabstops>
+ <includes>
+ <include location="local">qfile.h</include>
+ <include location="local">q3textstream.h</include>
+ </includes>
+ <connections>
<connection>
- <sender>closePushButton</sender>
- <signal>clicked()</signal>
- <receiver>LogViewForm</receiver>
- <slot>close()</slot>
+ <sender>closePushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>LogViewForm</receiver>
+ <slot>close()</slot>
</connection>
<connection>
- <sender>clearPushButton</sender>
- <signal>clicked()</signal>
- <receiver>LogViewForm</receiver>
- <slot>clear()</slot>
+ <sender>clearPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>LogViewForm</receiver>
+ <slot>clear()</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>logTextEdit</tabstop>
- <tabstop>clearPushButton</tabstop>
- <tabstop>closePushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">qfile.h</include>
- <include location="local" impldecl="in declaration">qtextstream.h</include>
- <include location="local" impldecl="in implementation">log.h</include>
- <include location="local" impldecl="in implementation">qdialog.h</include>
- <include location="local" impldecl="in implementation">qstring.h</include>
- <include location="local" impldecl="in implementation">audits/memman.h</include>
- <include location="local" impldecl="in implementation">logviewform.ui.h</include>
-</includes>
-<variables>
- <variable access="private">QFile *logfile;</variable>
- <variable access="private">QTextStream *logstream;</variable>
-</variables>
-<slots>
- <slot>show()</slot>
- <slot>closeEvent( QCloseEvent * ev )</slot>
- <slot>update( bool log_zapped )</slot>
- <slot>clear()</slot>
-</slots>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>