| 1 |
<ui version="4.0" > |
| 2 |
<author></author> |
| 3 |
<comment></comment> |
| 4 |
<exportmacro></exportmacro> |
| 5 |
<class>ChatMainWindow</class> |
| 6 |
<widget class="QMainWindow" name="ChatMainWindow" > |
| 7 |
<property name="geometry" > |
| 8 |
<rect> |
| 9 |
<x>0</x> |
| 10 |
<y>0</y> |
| 11 |
<width>800</width> |
| 12 |
<height>600</height> |
| 13 |
</rect> |
| 14 |
</property> |
| 15 |
<property name="windowTitle" > |
| 16 |
<string>Qt D-Bus Chat</string> |
| 17 |
</property> |
| 18 |
<widget class="QWidget" name="centralwidget" > |
| 19 |
<layout class="QHBoxLayout" > |
| 20 |
<property name="margin" > |
| 21 |
<number>9</number> |
| 22 |
</property> |
| 23 |
<property name="spacing" > |
| 24 |
<number>6</number> |
| 25 |
</property> |
| 26 |
<item> |
| 27 |
<layout class="QVBoxLayout" > |
| 28 |
<property name="margin" > |
| 29 |
<number>0</number> |
| 30 |
</property> |
| 31 |
<property name="spacing" > |
| 32 |
<number>6</number> |
| 33 |
</property> |
| 34 |
<item> |
| 35 |
<widget class="QTextBrowser" name="chatHistory" > |
| 36 |
<property name="acceptDrops" > |
| 37 |
<bool>false</bool> |
| 38 |
</property> |
| 39 |
<property name="toolTip" > |
| 40 |
<string>Messages sent and received from other users</string> |
| 41 |
</property> |
| 42 |
<property name="acceptRichText" > |
| 43 |
<bool>true</bool> |
| 44 |
</property> |
| 45 |
</widget> |
| 46 |
</item> |
| 47 |
<item> |
| 48 |
<layout class="QHBoxLayout" > |
| 49 |
<property name="margin" > |
| 50 |
<number>0</number> |
| 51 |
</property> |
| 52 |
<property name="spacing" > |
| 53 |
<number>6</number> |
| 54 |
</property> |
| 55 |
<item> |
| 56 |
<widget class="QLabel" name="label" > |
| 57 |
<property name="text" > |
| 58 |
<string>Message:</string> |
| 59 |
</property> |
| 60 |
<property name="buddy" > |
| 61 |
<cstring>messageLineEdit</cstring> |
| 62 |
</property> |
| 63 |
</widget> |
| 64 |
</item> |
| 65 |
<item> |
| 66 |
<widget class="QLineEdit" name="messageLineEdit" /> |
| 67 |
</item> |
| 68 |
<item> |
| 69 |
<widget class="QPushButton" name="sendButton" > |
| 70 |
<property name="sizePolicy" > |
| 71 |
<sizepolicy> |
| 72 |
<hsizetype>1</hsizetype> |
| 73 |
<vsizetype>0</vsizetype> |
| 74 |
<horstretch>0</horstretch> |
| 75 |
<verstretch>0</verstretch> |
| 76 |
</sizepolicy> |
| 77 |
</property> |
| 78 |
<property name="toolTip" > |
| 79 |
<string>Sends a message to other people</string> |
| 80 |
</property> |
| 81 |
<property name="whatsThis" > |
| 82 |
<string/> |
| 83 |
</property> |
| 84 |
<property name="text" > |
| 85 |
<string>Send</string> |
| 86 |
</property> |
| 87 |
</widget> |
| 88 |
</item> |
| 89 |
</layout> |
| 90 |
</item> |
| 91 |
</layout> |
| 92 |
</item> |
| 93 |
</layout> |
| 94 |
</widget> |
| 95 |
<widget class="QMenuBar" name="menubar" > |
| 96 |
<property name="geometry" > |
| 97 |
<rect> |
| 98 |
<x>0</x> |
| 99 |
<y>0</y> |
| 100 |
<width>800</width> |
| 101 |
<height>31</height> |
| 102 |
</rect> |
| 103 |
</property> |
| 104 |
<widget class="QMenu" name="menuQuit" > |
| 105 |
<property name="title" > |
| 106 |
<string>Help</string> |
| 107 |
</property> |
| 108 |
<addaction name="actionAboutQt" /> |
| 109 |
</widget> |
| 110 |
<widget class="QMenu" name="menuFile" > |
| 111 |
<property name="title" > |
| 112 |
<string>File</string> |
| 113 |
</property> |
| 114 |
<addaction name="actionChangeNickname" /> |
| 115 |
<addaction name="separator" /> |
| 116 |
<addaction name="actionQuit" /> |
| 117 |
</widget> |
| 118 |
<addaction name="menuFile" /> |
| 119 |
<addaction name="menuQuit" /> |
| 120 |
</widget> |
| 121 |
<widget class="QStatusBar" name="statusbar" /> |
| 122 |
<action name="actionQuit" > |
| 123 |
<property name="text" > |
| 124 |
<string>Quit</string> |
| 125 |
</property> |
| 126 |
<property name="shortcut" > |
| 127 |
<string>Ctrl+Q</string> |
| 128 |
</property> |
| 129 |
</action> |
| 130 |
<action name="actionAboutQt" > |
| 131 |
<property name="text" > |
| 132 |
<string>About Qt...</string> |
| 133 |
</property> |
| 134 |
</action> |
| 135 |
<action name="actionChangeNickname" > |
| 136 |
<property name="text" > |
| 137 |
<string>Change nickname...</string> |
| 138 |
</property> |
| 139 |
<property name="shortcut" > |
| 140 |
<string>Ctrl+N</string> |
| 141 |
</property> |
| 142 |
</action> |
| 143 |
</widget> |
| 144 |
<pixmapfunction></pixmapfunction> |
| 145 |
<tabstops> |
| 146 |
<tabstop>chatHistory</tabstop> |
| 147 |
<tabstop>messageLineEdit</tabstop> |
| 148 |
<tabstop>sendButton</tabstop> |
| 149 |
</tabstops> |
| 150 |
<resources/> |
| 151 |
<connections> |
| 152 |
<connection> |
| 153 |
<sender>messageLineEdit</sender> |
| 154 |
<signal>returnPressed()</signal> |
| 155 |
<receiver>sendButton</receiver> |
| 156 |
<slot>animateClick()</slot> |
| 157 |
<hints> |
| 158 |
<hint type="sourcelabel" > |
| 159 |
<x>299</x> |
| 160 |
<y>554</y> |
| 161 |
</hint> |
| 162 |
<hint type="destinationlabel" > |
| 163 |
<x>744</x> |
| 164 |
<y>551</y> |
| 165 |
</hint> |
| 166 |
</hints> |
| 167 |
</connection> |
| 168 |
<connection> |
| 169 |
<sender>actionQuit</sender> |
| 170 |
<signal>triggered(bool)</signal> |
| 171 |
<receiver>ChatMainWindow</receiver> |
| 172 |
<slot>close()</slot> |
| 173 |
<hints> |
| 174 |
<hint type="sourcelabel" > |
| 175 |
<x>-1</x> |
| 176 |
<y>-1</y> |
| 177 |
</hint> |
| 178 |
<hint type="destinationlabel" > |
| 179 |
<x>399</x> |
| 180 |
<y>299</y> |
| 181 |
</hint> |
| 182 |
</hints> |
| 183 |
</connection> |
| 184 |
</connections> |
| 185 |
</ui> |