Mon, 07 Nov 2022 17:19:58 +0100
Corrected/acknowledged some bad import style and removed some obsolete code.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>IrcPage</class> <widget class="QWidget" name="IrcPage"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>522</width> <height>1025</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QLabel" name="headerLabel"> <property name="text"> <string><b>Configure IRC</b></string> </property> </widget> </item> <item> <widget class="Line" name="line3"> <property name="frameShape"> <enum>QFrame::HLine</enum> </property> <property name="frameShadow"> <enum>QFrame::Sunken</enum> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <widget class="QGroupBox" name="timestampGroup"> <property name="toolTip"> <string>Enable to show timestamps</string> </property> <property name="title"> <string>Show Timestamps</string> </property> <property name="checkable"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Time Format:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="timeFormatCombo"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select the time format to use</string> </property> </widget> </item> <item row="0" column="2"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Date Format</string> </property> </widget> </item> <item row="0" column="3"> <widget class="QComboBox" name="dateFormatCombo"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select the date format to use</string> </property> </widget> </item> <item row="1" column="0" colspan="4"> <widget class="QCheckBox" name="showDateCheckBox"> <property name="toolTip"> <string>Select to show the date in timestamps</string> </property> <property name="text"> <string>Show Date</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="coloursGroup"> <property name="title"> <string>Colors</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Network Messages:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QPushButton" name="networkButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the color for network messages</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="0" column="2"> <widget class="QLabel" name="label_9"> <property name="text"> <string>Nick Names:</string> </property> </widget> </item> <item row="0" column="3"> <widget class="QPushButton" name="nickButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the color for nick names</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>Server Messages:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QPushButton" name="serverButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the color for server messages</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="1" column="2"> <widget class="QLabel" name="label_10"> <property name="text"> <string>Own Nick Name:</string> </property> </widget> </item> <item row="1" column="3"> <widget class="QPushButton" name="ownNickButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the color for own nick name</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>Channel Messages:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QPushButton" name="channelButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the color for channel messages</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="2" column="2"> <widget class="QLabel" name="label_11"> <property name="text"> <string>Join Channel:</string> </property> </widget> </item> <item row="2" column="3"> <widget class="QPushButton" name="joinButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the color for join channel messages</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_6"> <property name="text"> <string>Error Messages:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QPushButton" name="errorButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the color for error messages</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="3" column="2"> <widget class="QLabel" name="label_12"> <property name="text"> <string>Leave Channel:</string> </property> </widget> </item> <item row="3" column="3"> <widget class="QPushButton" name="leaveButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the color for leave channel messages</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="label_7"> <property name="text"> <string>Timestamp:</string> </property> </widget> </item> <item row="4" column="1"> <widget class="QPushButton" name="timestampButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the color for timestamps</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="4" column="2"> <widget class="QLabel" name="label_13"> <property name="text"> <string>Channel Info:</string> </property> </widget> </item> <item row="4" column="3"> <widget class="QPushButton" name="infoButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the color for channel info messages</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="5" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> <string>Hyperlink:</string> </property> </widget> </item> <item row="5" column="1"> <widget class="QPushButton" name="hyperlinkButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the color for hyperlinks</string> </property> <property name="text"> <string/> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="textColoursGroup"> <property name="toolTip"> <string>Enable to allow colored text in IRC messages</string> </property> <property name="title"> <string>Allow Colored Text in IRC Messages</string> </property> <property name="checkable"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout_4"> <item row="0" column="0"> <widget class="QLabel" name="label_15"> <property name="text"> <string notr="true">0:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QPushButton" name="ircColor0Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="0" column="2"> <widget class="QLabel" name="label_19"> <property name="text"> <string notr="true">4:</string> </property> </widget> </item> <item row="0" column="3"> <widget class="QPushButton" name="ircColor4Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="0" column="4"> <widget class="QLabel" name="label_23"> <property name="text"> <string notr="true">8:</string> </property> </widget> </item> <item row="0" column="5"> <widget class="QPushButton" name="ircColor8Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="0" column="6"> <widget class="QLabel" name="label_27"> <property name="text"> <string notr="true">12:</string> </property> </widget> </item> <item row="0" column="7"> <widget class="QPushButton" name="ircColor12Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_16"> <property name="text"> <string notr="true">1:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QPushButton" name="ircColor1Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="1" column="2"> <widget class="QLabel" name="label_20"> <property name="text"> <string notr="true">5:</string> </property> </widget> </item> <item row="1" column="3"> <widget class="QPushButton" name="ircColor5Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="1" column="4"> <widget class="QLabel" name="label_24"> <property name="text"> <string notr="true">9:</string> </property> </widget> </item> <item row="1" column="5"> <widget class="QPushButton" name="ircColor9Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="1" column="6"> <widget class="QLabel" name="label_28"> <property name="text"> <string notr="true">13:</string> </property> </widget> </item> <item row="1" column="7"> <widget class="QPushButton" name="ircColor13Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_17"> <property name="text"> <string notr="true">2:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QPushButton" name="ircColor2Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="2" column="2"> <widget class="QLabel" name="label_21"> <property name="text"> <string notr="true">6:</string> </property> </widget> </item> <item row="2" column="3"> <widget class="QPushButton" name="ircColor6Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="2" column="4"> <widget class="QLabel" name="label_25"> <property name="text"> <string notr="true">10:</string> </property> </widget> </item> <item row="2" column="5"> <widget class="QPushButton" name="ircColor10Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="2" column="6"> <widget class="QLabel" name="label_29"> <property name="text"> <string notr="true">14:</string> </property> </widget> </item> <item row="2" column="7"> <widget class="QPushButton" name="ircColor14Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_18"> <property name="text"> <string notr="true">3:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QPushButton" name="ircColor3Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="3" column="2"> <widget class="QLabel" name="label_22"> <property name="text"> <string notr="true">7:</string> </property> </widget> </item> <item row="3" column="3"> <widget class="QPushButton" name="ircColor7Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="3" column="4"> <widget class="QLabel" name="label_26"> <property name="text"> <string notr="true">11:</string> </property> </widget> </item> <item row="3" column="5"> <widget class="QPushButton" name="ircColor11Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="3" column="6"> <widget class="QLabel" name="label_30"> <property name="text"> <string notr="true">15:</string> </property> </widget> </item> <item row="3" column="7"> <widget class="QPushButton" name="ircColor15Button"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="notificationsGroup"> <property name="toolTip"> <string>Enable to show notifications</string> </property> <property name="title"> <string>Show Notifications</string> </property> <property name="checkable"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> <widget class="QCheckBox" name="joinLeaveCheckBox"> <property name="toolTip"> <string>Select to show a notification for join and leave events</string> </property> <property name="text"> <string>Join/Leave Event</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QCheckBox" name="messageCheckBox"> <property name="toolTip"> <string>Select to show a notification for every message</string> </property> <property name="text"> <string>Every Message</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QCheckBox" name="ownNickCheckBox"> <property name="toolTip"> <string>Select to show a notification for every mentioning of your nick</string> </property> <property name="text"> <string>Mentioning of Own Nick</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="whoGroup"> <property name="toolTip"> <string>Select this to enable the automatic lookup of user information for joined channels</string> </property> <property name="title"> <string>Enable Automatic User Information Lookup (/WHO)</string> </property> <property name="checkable"> <bool>true</bool> </property> <property name="checked"> <bool>false</bool> </property> <layout class="QGridLayout" name="gridLayout_5"> <item row="0" column="0"> <widget class="QLabel" name="label_31"> <property name="text"> <string>Max. Number of Users in Channel:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="whoUsersSpinBox"> <property name="toolTip"> <string>Enter the maximum numbers of users in a channel allowed for this function</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="maximum"> <number>999</number> </property> </widget> </item> <item row="0" column="2"> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>174</width> <height>20</height> </size> </property> </spacer> </item> <item row="1" column="0"> <widget class="QLabel" name="label_32"> <property name="text"> <string>Update Interval:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QSpinBox" name="whoIntervalSpinBox"> <property name="toolTip"> <string>Enter the user information update interval</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="suffix"> <string> s</string> </property> <property name="minimum"> <number>30</number> </property> <property name="maximum"> <number>600</number> </property> <property name="singleStep"> <number>10</number> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="markerGroup"> <property name="title"> <string>Marker</string> </property> <layout class="QGridLayout" name="gridLayout_6"> <item row="0" column="0" colspan="3"> <widget class="QCheckBox" name="markWhenHiddenCheckBox"> <property name="toolTip"> <string>Select to mark the current position, when the chat window is hidden</string> </property> <property name="text"> <string>Mark Current Position When Hidden</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_33"> <property name="text"> <string>Marker Foreground:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QPushButton" name="markerForegroundButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the foreground color for the marker</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="1" column="2" rowspan="2"> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>240</width> <height>20</height> </size> </property> </spacer> </item> <item row="2" column="1" rowspan="2"> <widget class="QPushButton" name="markerBackgroundButton"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Select the background color for the marker</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_34"> <property name="text"> <string>Marker Background:</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="shutdownGroup"> <property name="title"> <string>Shutdown</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QCheckBox" name="confirmShutdownCheckBox"> <property name="toolTip"> <string>Select to confirm a shutdown operation while still connected to an IRC server</string> </property> <property name="text"> <string>Confirm Shutdown When Connected</string> </property> </widget> </item> </layout> </widget> </item> </layout> </widget> <tabstops> <tabstop>timestampGroup</tabstop> <tabstop>timeFormatCombo</tabstop> <tabstop>dateFormatCombo</tabstop> <tabstop>showDateCheckBox</tabstop> <tabstop>networkButton</tabstop> <tabstop>serverButton</tabstop> <tabstop>channelButton</tabstop> <tabstop>errorButton</tabstop> <tabstop>timestampButton</tabstop> <tabstop>hyperlinkButton</tabstop> <tabstop>nickButton</tabstop> <tabstop>ownNickButton</tabstop> <tabstop>joinButton</tabstop> <tabstop>leaveButton</tabstop> <tabstop>infoButton</tabstop> <tabstop>textColoursGroup</tabstop> <tabstop>ircColor0Button</tabstop> <tabstop>ircColor1Button</tabstop> <tabstop>ircColor2Button</tabstop> <tabstop>ircColor3Button</tabstop> <tabstop>ircColor4Button</tabstop> <tabstop>ircColor5Button</tabstop> <tabstop>ircColor6Button</tabstop> <tabstop>ircColor7Button</tabstop> <tabstop>ircColor8Button</tabstop> <tabstop>ircColor9Button</tabstop> <tabstop>ircColor10Button</tabstop> <tabstop>ircColor11Button</tabstop> <tabstop>ircColor12Button</tabstop> <tabstop>ircColor13Button</tabstop> <tabstop>ircColor14Button</tabstop> <tabstop>ircColor15Button</tabstop> <tabstop>notificationsGroup</tabstop> <tabstop>joinLeaveCheckBox</tabstop> <tabstop>messageCheckBox</tabstop> <tabstop>ownNickCheckBox</tabstop> <tabstop>whoGroup</tabstop> <tabstop>whoUsersSpinBox</tabstop> <tabstop>whoIntervalSpinBox</tabstop> <tabstop>markWhenHiddenCheckBox</tabstop> <tabstop>markerForegroundButton</tabstop> <tabstop>markerBackgroundButton</tabstop> <tabstop>confirmShutdownCheckBox</tabstop> </tabstops> <resources/> <connections/> </ui>