diff options
Diffstat (limited to 'src/gui/logviewform.ui')
-rw-r--r-- | src/gui/logviewform.ui | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/src/gui/logviewform.ui b/src/gui/logviewform.ui new file mode 100644 index 0000000..c99d24c --- /dev/null +++ b/src/gui/logviewform.ui @@ -0,0 +1,123 @@ +<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> +<class>LogViewForm</class> +<widget class="QDialog"> + <property name="name"> + <cstring>LogViewForm</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>599</width> + <height>472</height> + </rect> + </property> + <property name="caption"> + <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> + </widget> + <widget class="QPushButton" row="1" column="2"> + <property name="name"> + <cstring>closePushButton</cstring> + </property> + <property name="text"> + <string>&Close</string> + </property> + <property name="accel"> + <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> + </spacer> + <widget class="QPushButton" row="1" column="1"> + <property name="name"> + <cstring>clearPushButton</cstring> + </property> + <property name="text"> + <string>C&lear</string> + </property> + <property name="accel"> + <string>Alt+L</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Clear the log window. This does <b>not</b> clear the log file itself.</string> + </property> + </widget> + </grid> +</widget> +<connections> + <connection> + <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> + </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> |