]> Shamusworld >> Repos - architektonas/blob - src/forms/commandwidget.ui
c91bf12db75d2bfb719b56c8b233d94c78df1d4a
[architektonas] / src / forms / commandwidget.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>CommandWidget</class>
4  <widget class="QWidget" name="CommandWidget">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>639</width>
10     <height>102</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Command Line</string>
15   </property>
16   <layout class="QVBoxLayout">
17    <property name="spacing">
18     <number>0</number>
19    </property>
20    <property name="margin">
21     <number>0</number>
22    </property>
23    <item>
24     <widget class="QTextEdit" name="teHistory"/>
25    </item>
26    <item>
27     <widget class="Line" name="line1">
28      <property name="sizePolicy">
29       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
30        <horstretch>0</horstretch>
31        <verstretch>0</verstretch>
32       </sizepolicy>
33      </property>
34      <property name="frameShape">
35       <enum>QFrame::HLine</enum>
36      </property>
37      <property name="frameShadow">
38       <enum>QFrame::Sunken</enum>
39      </property>
40     </widget>
41    </item>
42    <item>
43     <layout class="QHBoxLayout">
44      <item>
45       <widget class="QLabel" name="lCommand">
46        <property name="text">
47         <string>Command:</string>
48        </property>
49        <property name="wordWrap">
50         <bool>false</bool>
51        </property>
52       </widget>
53      </item>
54      <item>
55       <widget class="QG_CommandEdit" name="leCommand" native="true">
56        <property name="sizePolicy">
57         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
58          <horstretch>0</horstretch>
59          <verstretch>0</verstretch>
60         </sizepolicy>
61        </property>
62       </widget>
63      </item>
64     </layout>
65    </item>
66   </layout>
67  </widget>
68  <layoutdefault spacing="6" margin="11"/>
69  <customwidgets>
70   <customwidget>
71    <class>QG_CommandEdit</class>
72    <extends>QWidget</extends>
73    <header>qg_commandedit.h</header>
74   </customwidget>
75  </customwidgets>
76  <resources/>
77  <connections>
78   <connection>
79    <sender>leCommand</sender>
80    <signal>returnPressed()</signal>
81    <receiver>CommandWidget</receiver>
82    <slot>trigger()</slot>
83    <hints>
84     <hint type="sourcelabel">
85      <x>20</x>
86      <y>20</y>
87     </hint>
88     <hint type="destinationlabel">
89      <x>20</x>
90      <y>20</y>
91     </hint>
92    </hints>
93   </connection>
94   <connection>
95    <sender>leCommand</sender>
96    <signal>tabPressed()</signal>
97    <receiver>CommandWidget</receiver>
98    <slot>tabPressed()</slot>
99    <hints>
100     <hint type="sourcelabel">
101      <x>20</x>
102      <y>20</y>
103     </hint>
104     <hint type="destinationlabel">
105      <x>20</x>
106      <y>20</y>
107     </hint>
108    </hints>
109   </connection>
110   <connection>
111    <sender>leCommand</sender>
112    <signal>escape()</signal>
113    <receiver>CommandWidget</receiver>
114    <slot>escape()</slot>
115    <hints>
116     <hint type="sourcelabel">
117      <x>20</x>
118      <y>20</y>
119     </hint>
120     <hint type="destinationlabel">
121      <x>20</x>
122      <y>20</y>
123     </hint>
124    </hints>
125   </connection>
126   <connection>
127    <sender>leCommand</sender>
128    <signal>focusIn()</signal>
129    <receiver>CommandWidget</receiver>
130    <slot>setCommandMode()</slot>
131    <hints>
132     <hint type="sourcelabel">
133      <x>20</x>
134      <y>20</y>
135     </hint>
136     <hint type="destinationlabel">
137      <x>20</x>
138      <y>20</y>
139     </hint>
140    </hints>
141   </connection>
142   <connection>
143    <sender>leCommand</sender>
144    <signal>focusOut()</signal>
145    <receiver>CommandWidget</receiver>
146    <slot>setNormalMode()</slot>
147    <hints>
148     <hint type="sourcelabel">
149      <x>20</x>
150      <y>20</y>
151     </hint>
152     <hint type="destinationlabel">
153      <x>20</x>
154      <y>20</y>
155     </hint>
156    </hints>
157   </connection>
158  </connections>
159 </ui>