Network/IRC/IrcChannelWidget.ui

Sun, 16 Dec 2012 16:17:17 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 16 Dec 2012 16:17:17 +0100
changeset 2272
fda4c45f21ff
parent 2271
7dd914b6eb7d
child 2442
1dcfd570fa12
permissions
-rw-r--r--

Some layout tweaks to the IRC widgets.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>IrcChannelWidget</class>
 <widget class="QWidget" name="IrcChannelWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>400</width>
    <height>685</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string/>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <property name="spacing">
    <number>3</number>
   </property>
   <property name="margin">
    <number>0</number>
   </property>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <widget class="QLabel" name="topicLabel">
       <property name="text">
        <string/>
       </property>
       <property name="wordWrap">
        <bool>true</bool>
       </property>
       <property name="openExternalLinks">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QToolButton" name="editTopicButton">
       <property name="toolTip">
        <string>Press to change the topic</string>
       </property>
       <property name="text">
        <string/>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QSplitter" name="splitter">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <widget class="QListWidget" name="usersList">
      <property name="contextMenuPolicy">
       <enum>Qt::CustomContextMenu</enum>
      </property>
      <property name="toolTip">
       <string>Shows the list of users</string>
      </property>
      <property name="alternatingRowColors">
       <bool>true</bool>
      </property>
      <property name="sortingEnabled">
       <bool>true</bool>
      </property>
     </widget>
     <widget class="QTextBrowser" name="messages">
      <property name="sizePolicy">
       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
        <horstretch>0</horstretch>
        <verstretch>1</verstretch>
       </sizepolicy>
      </property>
      <property name="contextMenuPolicy">
       <enum>Qt::CustomContextMenu</enum>
      </property>
      <property name="toolTip">
       <string>Shows the channel messages</string>
      </property>
      <property name="tabChangesFocus">
       <bool>true</bool>
      </property>
      <property name="openExternalLinks">
       <bool>true</bool>
      </property>
     </widget>
    </widget>
   </item>
   <item>
    <widget class="IrcMessageEdit" name="messageEdit">
     <property name="toolTip">
      <string>Enter a message, send by pressing Return or Enter</string>
     </property>
     <property name="placeholderText">
      <string>Enter a message, send by pressing Return or Enter</string>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>IrcMessageEdit</class>
   <extends>QLineEdit</extends>
   <header>Network/IRC/IrcMessageEdit.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>messageEdit</tabstop>
  <tabstop>messages</tabstop>
  <tabstop>usersList</tabstop>
  <tabstop>editTopicButton</tabstop>
 </tabstops>
 <resources/>
 <connections/>
</ui>

eric ide

mercurial