diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-10-11 14:51:38 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-10-11 14:51:38 +0000 |
| commit | efaa53642c16dfd5dfc4530202b0210af046c41b (patch) | |
| tree | e2da3dc57d950b04cbf83e700740d0c995f1750d | |
| parent | a9b502ddab79dfb72411be1e6aa03b716b2cc458 (diff) | |
| download | qxmpp-efaa53642c16dfd5dfc4530202b0210af046c41b.tar.gz | |
setIcon
| -rw-r--r-- | examples/GuiClient/xmlConsoleDialog.ui | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/examples/GuiClient/xmlConsoleDialog.ui b/examples/GuiClient/xmlConsoleDialog.ui index 29908a9c..cc246021 100644 --- a/examples/GuiClient/xmlConsoleDialog.ui +++ b/examples/GuiClient/xmlConsoleDialog.ui @@ -13,6 +13,10 @@ <property name="windowTitle">
<string>Dialog</string>
</property>
+ <property name="windowIcon">
+ <iconset resource="resources.qrc">
+ <normaloff>:/icons/resource/icon.png</normaloff>:/icons/resource/icon.png</iconset>
+ </property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="margin">
<number>6</number>
@@ -21,11 +25,18 @@ <widget class="QTextBrowser" name="textBrowser"/>
</item>
<item>
+ <widget class="QLabel" name="label_legend">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ </widget>
+ </item>
+ <item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QLabel" name="label_legend">
+ <widget class="QCheckBox" name="checkBox_enable">
<property name="text">
- <string>TextLabel</string>
+ <string>Enable</string>
</property>
</widget>
</item>
@@ -69,7 +80,9 @@ </item>
</layout>
</widget>
- <resources/>
+ <resources>
+ <include location="resources.qrc"/>
+ </resources>
<connections>
<connection>
<sender>buttonBox</sender>
|
