<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>chatmainwindow.ui Example File | Qt D-Bus</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.9</td><td ><a href="qtdbus-index.html">Qt D-Bus</a></td><td ><a href="qtdbus-chat-example.html">D-Bus Chat Example</a></td><td >chatmainwindow.ui Example File</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">chatmainwindow.ui Example File</h1> <span class="subtitle">chat/chatmainwindow.ui</span> <!-- $$$chat/chatmainwindow.ui-description --> <div class="descr"> <a name="details"></a> <pre class="cpp"> <ui version="4.0" > <author></author> <comment></comment> <exportmacro></exportmacro> <class>ChatMainWindow</class> <widget class="QMainWindow" name="ChatMainWindow" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>800</width> <height>600</height> </rect> </property> <property name="windowTitle" > <string>Qt D-Bus Chat</string> </property> <widget class="QWidget" name="centralwidget" > <layout class="QHBoxLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item> <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QTextBrowser" name="chatHistory" > <property name="acceptDrops" > <bool>false</bool> </property> <property name="toolTip" > <string>Messages sent and received from other users</string> </property> <property name="acceptRichText" > <bool>true</bool> </property> </widget> </item> <item> <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label" > <property name="text" > <string>Message:</string> </property> <property name="buddy" > <cstring>messageLineEdit</cstring> </property> </widget> </item> <item> <widget class="QLineEdit" name="messageLineEdit" /> </item> <item> <widget class="QPushButton" name="sendButton" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip" > <string>Sends a message to other people</string> </property> <property name="whatsThis" > <string/> </property> <property name="text" > <string>Send</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> <widget class="QMenuBar" name="menubar" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>800</width> <height>31</height> </rect> </property> <widget class="QMenu" name="menuQuit" > <property name="title" > <string>Help</string> </property> <addaction name="actionAboutQt" /> </widget> <widget class="QMenu" name="menuFile" > <property name="title" > <string>File</string> </property> <addaction name="actionChangeNickname" /> <addaction name="separator" /> <addaction name="actionQuit" /> </widget> <addaction name="menuFile" /> <addaction name="menuQuit" /> </widget> <widget class="QStatusBar" name="statusbar" /> <action name="actionQuit" > <property name="text" > <string>Quit</string> </property> <property name="shortcut" > <string>Ctrl+Q</string> </property> </action> <action name="actionAboutQt" > <property name="text" > <string>About Qt...</string> </property> </action> <action name="actionChangeNickname" > <property name="text" > <string>Change nickname...</string> </property> <property name="shortcut" > <string>Ctrl+N</string> </property> </action> </widget> <pixmapfunction></pixmapfunction> <tabstops> <tabstop>chatHistory</tabstop> <tabstop>messageLineEdit</tabstop> <tabstop>sendButton</tabstop> </tabstops> <resources/> <connections> <connection> <sender>messageLineEdit</sender> <signal>returnPressed()</signal> <receiver>sendButton</receiver> <slot>animateClick()</slot> <hints> <hint type="sourcelabel" > <x>299</x> <y>554</y> </hint> <hint type="destinationlabel" > <x>744</x> <y>551</y> </hint> </hints> </connection> <connection> <sender>actionQuit</sender> <signal>triggered(bool)</signal> <receiver>ChatMainWindow</receiver> <slot>close()</slot> <hints> <hint type="sourcelabel" > <x>-1</x> <y>-1</y> </hint> <hint type="destinationlabel" > <x>399</x> <y>299</y> </hint> </hints> </connection> </connections> </ui> </pre> </div> <!-- @@@chat/chatmainwindow.ui --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>