You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
konversation/konversation/src/channeloptionsui.ui

556 lines
28 KiB

<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>Konversation::ChannelOptionsUI</class>
<comment>This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
</comment>
<author>Peter Simonsson</author>
<widget class="TQWidget">
<property name="name">
<cstring>Konversation::ChannelOptionsUI</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>502</width>
<height>421</height>
</rect>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="TQTabWidget">
<property name="name">
<cstring>channelTabWidget</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>topicTab</cstring>
</property>
<attribute name="title">
<string>Topi&amp;c</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQSplitter">
<property name="name">
<cstring>splitter4</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<widget class="TDEListView">
<column>
<property name="text">
<string>Nickname</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Date</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Topic</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>topicHistoryList</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="selectionMode" stdset="0">
<enum>Single</enum>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="showSortIndicator">
<bool>true</bool>
</property>
<property name="showToolTips">
<bool>false</bool>
</property>
<property name="resizeMode">
<enum>AllColumns</enum>
</property>
<property name="fullWidth">
<bool>true</bool>
</property>
<property name="itemsMovable">
<bool>false</bool>
</property>
</widget>
<widget class="KTextEdit">
<property name="name">
<cstring>topicPreview</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="backgroundOrigin">
<enum>WidgetOrigin</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="KTextEdit">
<property name="name">
<cstring>topicEdit</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>2</verstretch>
</sizepolicy>
</property>
<property name="textFormat">
<enum>PlainText</enum>
</property>
</widget>
</vbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>modesPage</cstring>
</property>
<attribute name="title">
<string>Mo&amp;des</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>topicModeChBox</cstring>
</property>
<property name="text">
<string>&amp;Topic can only be changed by channel operators</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;qt&gt;These control the &lt;em&gt;mode&lt;/em&gt; of the channel. Only an operator can change these.&lt;p&gt;The &lt;b&gt;T&lt;/b&gt;opic mode means that only the channel operator can change the topic for the channel.&lt;/qt&gt;</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>messageModeChBox</cstring>
</property>
<property name="text">
<string>&amp;No messages from outside the channel</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;qt&gt;These control the &lt;em&gt;mode&lt;/em&gt; of the channel. Only an operator can change these.&lt;p&gt;&lt;b&gt;N&lt;/b&gt;o messages from outside means that users that are not in the channel cannot send messages that everybody in the channel can see. Almost all channels have this set to prevent nuisance messages.&lt;/qt&gt;</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>secretModeChBox</cstring>
</property>
<property name="text">
<string>&amp;Secret channel, the channel is not listed in the channel list</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;qt&gt;These control the &lt;em&gt;mode&lt;/em&gt; of the channel. Only an operator can change these.&lt;p&gt;A &lt;b&gt;S&lt;/b&gt;ecret channel will not show up in the channel list, nor will any user be able to see that you are in the channel with the &lt;em&gt;WHOIS&lt;/em&gt; command or anything similar. Only the people that are in the same channel will know that you are in this channel, if this mode is set.&lt;/qt&gt;</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>inviteModeChBox</cstring>
</property>
<property name="text">
<string>Only &amp;invited are allowed to join the channel</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;qt&gt;These control the &lt;em&gt;mode&lt;/em&gt; of the channel. Only an operator can change these.&lt;p&gt;An &lt;b&gt;I&lt;/b&gt;nvite only channel means that people can only join the channel if they are invited. To invite someone, a channel operator needs to issue the command&lt;em&gt;/invite nick&lt;/em&gt; from within the channel.&lt;/qt&gt;</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>moderatedModeChBox</cstring>
</property>
<property name="text">
<string>&amp;Moderated channel, only people with voice can write to the channel</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;qt&gt;These control the &lt;em&gt;mode&lt;/em&gt; of the channel. Only an operator can change these.&lt;p&gt;A &lt;b&gt;M&lt;/b&gt;oderated channel is one where only operators, half-operators and those with voice can talk.&lt;/qt&gt;</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout11</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>keyModeChBox</cstring>
</property>
<property name="text">
<string>Channel &amp;password:</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;qt&gt;These control the &lt;em&gt;mode&lt;/em&gt; of the channel. Only an operator can change these.&lt;p&gt;A &lt;b&gt;P&lt;/b&gt;rotected channel requires users to enter a password in order to join.&lt;/qt&gt;</string>
</property>
</widget>
<widget class="KIntNumInput" row="0" column="1">
<property name="name">
<cstring>userLimitEdit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minValue">
<number>0</number>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;qt&gt;These control the &lt;em&gt;mode&lt;/em&gt; of the channel. Only an operator can change these.&lt;p&gt;A channel that has a user &lt;b&gt;L&lt;/b&gt;imit means that only that many users can be in the channel at any one time. Some channels have a bot that sits in the channel and changes this automatically depending on how busy the channel is.&lt;/qt&gt;</string>
</property>
</widget>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>userLimitChBox</cstring>
</property>
<property name="text">
<string>User &amp;limit:</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;qt&gt;These control the &lt;em&gt;mode&lt;/em&gt; of the channel. Only an operator can change these.&lt;p&gt;A channel that has a user &lt;b&gt;L&lt;/b&gt;imit means that only that many users can be in the channel at any one time. Some channels have a bot that sits in the channel and changes this automatically depending on how busy the channel is.&lt;/qt&gt;</string>
</property>
</widget>
<spacer row="0" column="2">
<property name="name">
<cstring>spacer10</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>211</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="KLineEdit" row="1" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>keyModeEdit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;qt&gt;These control the &lt;em&gt;mode&lt;/em&gt; of the channel. Only an operator can change these.&lt;p&gt;A &lt;b&gt;P&lt;/b&gt;rotected channel requires users to enter a password in order to join.&lt;/qt&gt;</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQPushButton">
<property name="name">
<cstring>toggleAdvancedModes</cstring>
</property>
<property name="text">
<string>Show &amp;Advanced Modes &gt;&gt;</string>
</property>
<property name="accel">
<string>Alt+A, Backspace, Tab, Backspace</string>
</property>
<property name="toggleButton">
<bool>true</bool>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>301</width>
<height>31</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TDEListView">
<column>
<property name="text">
<string>Mode</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Parameter</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>otherModesList</cstring>
</property>
<property name="selectionMode" stdset="0">
<enum>Single</enum>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="resizeMode">
<enum>LastColumn</enum>
</property>
<property name="defaultRenameAction">
<enum>Accept</enum>
</property>
<property name="itemsMovable">
<bool>false</bool>
</property>
<property name="itemsRenameable">
<bool>true</bool>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
<attribute name="title">
<string>&amp;Ban List</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQPushButton" row="2" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>removeBan</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&amp;Remove Ban</string>
</property>
</widget>
<widget class="TQPushButton" row="2" column="3">
<property name="name">
<cstring>addBan</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&amp;Add Ban</string>
</property>
</widget>
<widget class="TDEListView" row="1" column="0" rowspan="1" colspan="4">
<column>
<property name="text">
<string>Hostmask</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Set By</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Time Set</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>banList</cstring>
</property>
<property name="showSortIndicator">
<bool>true</bool>
</property>
<property name="itemsRenameable">
<bool>true</bool>
</property>
</widget>
<widget class="TQToolButton" row="0" column="0">
<property name="name">
<cstring>clearButton</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>4</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="TQLabel" row="0" column="1">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Search:</string>
</property>
</widget>
<widget class="TDEListViewSearchLine" row="0" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>banListSearchLine</cstring>
</property>
</widget>
</grid>
</widget>
</widget>
</vbox>
</widget>
<customwidgets>
</customwidgets>
<connections>
<connection>
<sender>keyModeChBox</sender>
<signal>toggled(bool)</signal>
<receiver>keyModeEdit</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>userLimitChBox</sender>
<signal>toggled(bool)</signal>
<receiver>userLimitEdit</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>clearButton</sender>
<signal>clicked()</signal>
<receiver>banListSearchLine</receiver>
<slot>clear()</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
<include location="global" impldecl="in implementation">knuminput.h</include>
<include location="global" impldecl="in implementation">ktextedit.h</include>
<include location="global" impldecl="in implementation">tdelistview.h</include>
<include location="global" impldecl="in implementation">tdelistviewsearchline.h</include>
</includes>
</UI>