blob: a3f783ea05b44646ca4d0b16e4530ca4b16ccf84 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<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>
</property>
<property name="windowTitle">
<string>Twinkle - Log</string>
</property>
<layout class="QGridLayout">
<item row="0" column="0" colspan="3">
<widget class="QPlainTextEdit" name="logTextEdit">
<property name="whatsThis">
<string>Contents of the current log file (~/.twinkle/twinkle.log)</string>
</property>
<property name="lineWrapMode">
<enum>QPlainTextEdit::NoWrap</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="closePushButton">
<property name="text">
<string>&Close</string>
</property>
<property name="shortcut">
<string>Alt+C</string>
</property>
</widget>
</item>
<item row="1" column="0">
<spacer name="spacer23">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>360</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="clearPushButton">
<property name="whatsThis">
<string>Clear the log window. This does <b>not</b> clear the log file itself.</string>
</property>
<property name="text">
<string>C&lear</string>
</property>
<property name="shortcut">
<string>Alt+L</string>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<tabstops>
<tabstop>logTextEdit</tabstop>
<tabstop>clearPushButton</tabstop>
<tabstop>closePushButton</tabstop>
</tabstops>
<includes>
<include location="local">qfile.h</include>
</includes>
<resources/>
<connections>
<connection>
<sender>closePushButton</sender>
<signal>clicked()</signal>
<receiver>LogViewForm</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>clearPushButton</sender>
<signal>clicked()</signal>
<receiver>LogViewForm</receiver>
<slot>clear()</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
</connections>
</ui>
|