summaryrefslogtreecommitdiffstats
path: root/src/gui/logviewform.ui
blob: c99d24c0802364b3c08d3a1b17ac683d21a18c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
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>&amp;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&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>
        </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>