The complete source code of IdealIRC http://www.idealirc.org/
 
 
 
 
idealirc/IConfig/AddServer.ui

183 lines
4.5 KiB

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>AddServer</class>
<widget class="QDialog" name="AddServer">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>200</height>
</rect>
</property>
<property name="windowTitle">
<string>Add server</string>
</property>
<property name="windowIcon">
<iconset resource="../Resources/resources.qrc">
<normaloff>:/Icons/options.png</normaloff>:/Icons/options.png</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QRadioButton" name="rdNetwork">
<property name="text">
<string>Network</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rdServer">
<property name="text">
<string>Server</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="edNetwork">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="placeholderText">
<string/>
</property>
<item>
<property name="text">
<string>&lt;No network&gt;</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edName"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Address</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edAddress"/>
</item>
<item>
<widget class="QCheckBox" name="chkSSL">
<property name="text">
<string>SSL</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Password</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edPassword">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>SASL credential</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edSASL">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="btnCancel">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnSave">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Save</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<tabstops>
<tabstop>rdNetwork</tabstop>
<tabstop>rdServer</tabstop>
<tabstop>edNetwork</tabstop>
<tabstop>edName</tabstop>
<tabstop>edAddress</tabstop>
<tabstop>chkSSL</tabstop>
<tabstop>edPassword</tabstop>
<tabstop>edSASL</tabstop>
<tabstop>btnCancel</tabstop>
<tabstop>btnSave</tabstop>
</tabstops>
<resources>
<include location="../Resources/resources.qrc"/>
</resources>
<connections/>
</ui>