summaryrefslogtreecommitdiffstats
path: root/src/gui/logviewform.ui
blob: c52ee45694430bf2227cb56b7dec406f88088842 (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
<?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>
    </property>
    <property name="windowTitle">
      <string>Twinkle - Log</string>
    </property>
    <layout class="QGridLayout">
      <item row="0" column="0" rowspan="1" colspan="3">
        <widget class="QPlainTextEdit" name="logTextEdit">
          <property name="lineWrapMode">
            <enum>QPlainTextEdit::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>
      </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>
      </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>
      </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>
      </item>
    </layout>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <pixmapfunction></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>
    </connection>
    <connection>
      <sender>clearPushButton</sender>
      <signal>clicked()</signal>
      <receiver>LogViewForm</receiver>
      <slot>clear()</slot>
    </connection>
  </connections>
</ui>