initializing Repository, adding gui mockup
[dpim.git] / ui / mainwindowdlg.ui
blobf00b6edbf032221c2269d6e211215af27748cdc4
1 <ui version="4.0" >
2  <class>MainWindowDlg</class>
3  <widget class="QMainWindow" name="MainWindowDlg" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>944</width>
9     <height>534</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>MainWindow</string>
14   </property>
15   <widget class="QWidget" name="centralwidget" >
16    <property name="geometry" >
17     <rect>
18      <x>0</x>
19      <y>38</y>
20      <width>944</width>
21      <height>473</height>
22     </rect>
23    </property>
24    <layout class="QGridLayout" name="gridLayout" >
25     <item row="0" column="0" >
26      <widget class="QDockWidget" name="BuddyWidget" >
27       <property name="acceptDrops" >
28        <bool>true</bool>
29       </property>
30       <property name="floating" >
31        <bool>true</bool>
32       </property>
33       <property name="features" >
34        <set>QDockWidget::AllDockWidgetFeatures</set>
35       </property>
36       <property name="windowTitle" >
37        <string comment="Shows your current Buddys" >Buddy List</string>
38       </property>
39       <widget class="QWidget" name="dockWidgetContents" >
40        <property name="geometry" >
41         <rect>
42          <x>2</x>
43          <y>22</y>
44          <width>462</width>
45          <height>441</height>
46         </rect>
47        </property>
48        <layout class="QHBoxLayout" name="horizontalLayout_2" >
49         <item>
50          <widget class="QTreeView" name="BuddyView" />
51         </item>
52        </layout>
53       </widget>
54      </widget>
55     </item>
56     <item row="0" column="1" >
57      <widget class="QDockWidget" name="ChatWidget" >
58       <property name="windowTitle" >
59        <string>Chat</string>
60       </property>
61       <widget class="QWidget" name="dockWidgetContents_2" >
62        <property name="geometry" >
63         <rect>
64          <x>2</x>
65          <y>22</y>
66          <width>462</width>
67          <height>441</height>
68         </rect>
69        </property>
70        <layout class="QGridLayout" name="gridLayout_2" >
71         <item row="0" column="0" colspan="2" >
72          <widget class="QTabWidget" name="tabWidget" >
73           <property name="currentIndex" >
74            <number>0</number>
75           </property>
76           <widget class="QWidget" name="tab" >
77            <property name="geometry" >
78             <rect>
79              <x>0</x>
80              <y>0</y>
81              <width>442</width>
82              <height>360</height>
83             </rect>
84            </property>
85            <attribute name="title" >
86             <string>Tab 1</string>
87            </attribute>
88            <layout class="QGridLayout" name="gridLayout_3" >
89             <item row="0" column="0" >
90              <widget class="QTextEdit" name="ChatView" />
91             </item>
92            </layout>
93           </widget>
94           <widget class="QWidget" name="tab_2" >
95            <property name="geometry" >
96             <rect>
97              <x>0</x>
98              <y>0</y>
99              <width>442</width>
100              <height>360</height>
101             </rect>
102            </property>
103            <attribute name="title" >
104             <string>Tab 2</string>
105            </attribute>
106           </widget>
107          </widget>
108         </item>
109         <item row="1" column="0" >
110          <widget class="QLineEdit" name="InputLine" />
111         </item>
112         <item row="1" column="1" >
113          <widget class="QPushButton" name="SendButton" >
114           <property name="text" >
115            <string>Send</string>
116           </property>
117          </widget>
118         </item>
119        </layout>
120       </widget>
121      </widget>
122     </item>
123    </layout>
124   </widget>
125   <widget class="QMenuBar" name="menubar" >
126    <property name="geometry" >
127     <rect>
128      <x>0</x>
129      <y>0</y>
130      <width>944</width>
131      <height>26</height>
132     </rect>
133    </property>
134    <widget class="QMenu" name="menuFile" >
135     <property name="title" >
136      <string>File</string>
137     </property>
138     <widget class="QMenu" name="menuAccounts" >
139      <property name="title" >
140       <string>Accounts</string>
141      </property>
142      <addaction name="actionJabber" />
143     </widget>
144     <addaction name="actionConnect2Core" />
145     <addaction name="actionDisconnect_From_Core" />
146     <addaction name="menuAccounts" />
147     <addaction name="actionExit" />
148    </widget>
149    <widget class="QMenu" name="menuAbout" >
150     <property name="title" >
151      <string>About</string>
152     </property>
153     <addaction name="actionAbout_dPIM" />
154     <addaction name="actionAbout_Qt" />
155    </widget>
156    <addaction name="menuFile" />
157    <addaction name="menuAbout" />
158   </widget>
159   <widget class="QStatusBar" name="statusbar" >
160    <property name="geometry" >
161     <rect>
162      <x>0</x>
163      <y>511</y>
164      <width>944</width>
165      <height>23</height>
166     </rect>
167    </property>
168   </widget>
169   <widget class="QToolBar" name="toolBar" >
170    <property name="geometry" >
171     <rect>
172      <x>0</x>
173      <y>26</y>
174      <width>944</width>
175      <height>12</height>
176     </rect>
177    </property>
178    <property name="windowTitle" >
179     <string>toolBar</string>
180    </property>
181    <attribute name="toolBarArea" >
182     <enum>TopToolBarArea</enum>
183    </attribute>
184    <attribute name="toolBarBreak" >
185     <bool>false</bool>
186    </attribute>
187   </widget>
188   <action name="actionConnect2Core" >
189    <property name="text" >
190     <string>Connect2Core</string>
191    </property>
192   </action>
193   <action name="actionDisconnect_From_Core" >
194    <property name="text" >
195     <string>Disconnect From Core</string>
196    </property>
197   </action>
198   <action name="actionExit" >
199    <property name="text" >
200     <string>Exit</string>
201    </property>
202   </action>
203   <action name="actionAbout_dPIM" >
204    <property name="text" >
205     <string>About dPIM</string>
206    </property>
207   </action>
208   <action name="actionAbout_Qt" >
209    <property name="text" >
210     <string>About Qt</string>
211    </property>
212   </action>
213   <action name="actionJabber" >
214    <property name="text" >
215     <string>Jabber</string>
216    </property>
217   </action>
218  </widget>
219  <resources/>
220  <connections>
221   <connection>
222    <sender>InputLine</sender>
223    <signal>returnPressed()</signal>
224    <receiver>SendButton</receiver>
225    <slot>click()</slot>
226    <hints>
227     <hint type="sourcelabel" >
228      <x>367</x>
229      <y>282</y>
230     </hint>
231     <hint type="destinationlabel" >
232      <x>622</x>
233      <y>282</y>
234     </hint>
235    </hints>
236   </connection>
237   <connection>
238    <sender>actionJabber</sender>
239    <signal>activated()</signal>
240    <receiver>MainWindowDlg</receiver>
241    <slot>connectJabber()</slot>
242    <hints>
243     <hint type="sourcelabel" >
244      <x>-1</x>
245      <y>-1</y>
246     </hint>
247     <hint type="destinationlabel" >
248      <x>431</x>
249      <y>259</y>
250     </hint>
251    </hints>
252   </connection>
253  </connections>
254  <slots>
255   <slot>connectJabber()</slot>
256  </slots>
257 </ui>