Remove FontsSettingsPage - hasn't been used in months
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 12 Aug 2009 15:04:39 +0000 (17:04 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 12 Aug 2009 18:06:52 +0000 (20:06 +0200)
src/qtui/settingspages/fontssettingspage.cpp [deleted file]
src/qtui/settingspages/fontssettingspage.h [deleted file]
src/qtui/settingspages/fontssettingspage.ui [deleted file]

diff --git a/src/qtui/settingspages/fontssettingspage.cpp b/src/qtui/settingspages/fontssettingspage.cpp
deleted file mode 100644 (file)
index 2695a4f..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-/***************************************************************************
- *   Copyright (C) 2005-09 by the Quassel Project                          *
- *   devel@quassel-irc.org                                                 *
- *                                                                         *
- *   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.                                   *
- *                                                                         *
- *   This program is distributed in the hope that it will be useful,       *
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
- *   GNU General Public License for more details.                          *
- *                                                                         *
- *   You should have received a copy of the GNU General Public License     *
- *   along with this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
- ***************************************************************************/
-
-#include "fontssettingspage.h"
-
-#include "qtui.h"
-#include "qtuisettings.h"
-#include "qtuistyle.h"
-
-#include <QFontDialog>
-
-FontsSettingsPage::FontsSettingsPage(QWidget *parent)
-  : SettingsPage(tr("Appearance"), tr("Fonts"), parent) {
-
-  ui.setupUi(this);
-  mapper = new QSignalMapper(this);
-  connect(ui.chooseGeneral, SIGNAL(clicked()), mapper, SLOT(map()));
-  connect(ui.chooseTopic, SIGNAL(clicked()), mapper, SLOT(map()));
-  connect(ui.chooseBufferView, SIGNAL(clicked()), mapper, SLOT(map()));
-  connect(ui.chooseNickList, SIGNAL(clicked()), mapper, SLOT(map()));
-  connect(ui.chooseInputLine, SIGNAL(clicked()), mapper, SLOT(map()));
-  connect(ui.chooseChatMessages, SIGNAL(clicked()), mapper, SLOT(map()));
-  connect(ui.chooseNicks, SIGNAL(clicked()), mapper, SLOT(map()));
-  connect(ui.chooseTimestamp, SIGNAL(clicked()), mapper, SLOT(map()));
-
-  mapper->setMapping(ui.chooseGeneral, ui.demoGeneral);
-  mapper->setMapping(ui.chooseTopic, ui.demoTopic);
-  mapper->setMapping(ui.chooseBufferView, ui.demoBufferView);
-  mapper->setMapping(ui.chooseNickList, ui.demoNickList);
-  mapper->setMapping(ui.chooseInputLine, ui.demoInputLine);
-  mapper->setMapping(ui.chooseChatMessages, ui.demoChatMessages);
-  mapper->setMapping(ui.chooseNicks, ui.demoNicks);
-  mapper->setMapping(ui.chooseTimestamp, ui.demoTimestamp);
-
-  connect(mapper, SIGNAL(mapped(QWidget *)), this, SLOT(chooseFont(QWidget *)));
-
-  //connect(ui.customAppFonts, SIGNAL(clicked()), this, SLOT(widgetHasChanged()));
-  connect(ui.checkTopic, SIGNAL(clicked()), this, SLOT(widgetHasChanged()));
-  connect(ui.checkBufferView, SIGNAL(clicked()), this, SLOT(widgetHasChanged()));
-  connect(ui.checkNickList, SIGNAL(clicked()), this, SLOT(widgetHasChanged()));
-  connect(ui.checkInputLine, SIGNAL(clicked()), this, SLOT(widgetHasChanged()));
-  connect(ui.checkNicks, SIGNAL(clicked()), this, SLOT(widgetHasChanged()));
-  connect(ui.checkTimestamp, SIGNAL(clicked()), this, SLOT(widgetHasChanged()));
-
-  load();
-
-}
-
-bool FontsSettingsPage::hasDefaults() const {
-  return true;
-}
-
-void FontsSettingsPage::defaults() {
-  load(Settings::Default);
-  widgetHasChanged();
-}
-
-void FontsSettingsPage::load() {
-  load(Settings::Custom);
-  setChangedState(false);
-}
-
-void FontsSettingsPage::load(Settings::Mode mode) {
-  QtUiSettings s;
-  bool useInputLineFont = s.value("UseInputLineFont", QVariant(false)).toBool();
-  QFont inputLineFont;
-  if(useInputLineFont) {
-    ui.checkInputLine->setChecked(true);
-    inputLineFont = s.value("InputLineFont").value<QFont>();
-  } else {
-    inputLineFont = qApp->font();
-  }
-  initLabel(ui.demoInputLine, inputLineFont);
-
-  QTextCharFormat chatFormat = QtUi::style()->format(UiStyle::None, mode);
-  initLabel(ui.demoChatMessages, chatFormat.font());
-  QTextCharFormat nicksFormat = QtUi::style()->format(UiStyle::Sender, mode);
-  if(nicksFormat.hasProperty(QTextFormat::FontFamily)) {
-    initLabel(ui.demoNicks, nicksFormat.font());
-    ui.checkNicks->setChecked(true);
-  } else {
-    initLabel(ui.demoNicks, chatFormat.font());
-    ui.checkNicks->setChecked(false);
-  }
-
-  QTextCharFormat timestampFormat = QtUi::style()->format(UiStyle::Timestamp, mode);
-  if(timestampFormat.hasProperty(QTextFormat::FontFamily)) {
-    initLabel(ui.demoTimestamp, timestampFormat.font());
-    ui.checkTimestamp->setChecked(true);
-  } else {
-    initLabel(ui.demoTimestamp, chatFormat.font());
-    ui.checkTimestamp->setChecked(false);
-  }
-
-  setChangedState(false);
-}
-
-void FontsSettingsPage::save() {
-  QtUiSettings s;
-  s.setValue("UseInputLineFont", (ui.checkInputLine->checkState() == Qt::Checked));
-  s.setValue("InputLineFont", ui.demoInputLine->font());
-
-  QTextCharFormat chatFormat = QtUi::style()->format(UiStyle::None);
-  chatFormat.setFont(ui.demoChatMessages->font());
-  QtUi::style()->setFormat(UiStyle::None, chatFormat, Settings::Custom);
-
-  QTextCharFormat nicksFormat = QtUi::style()->format(UiStyle::Sender);
-  if(ui.checkNicks->checkState() == Qt::Checked)
-    nicksFormat.setFont(ui.demoNicks->font());
-  else
-    clearFontFromFormat(nicksFormat);
-  QtUi::style()->setFormat(UiStyle::Sender, nicksFormat, Settings::Custom);
-
-  QTextCharFormat timestampFormat = QtUi::style()->format(UiStyle::Timestamp);
-  if(ui.checkTimestamp->checkState() == Qt::Checked)
-    timestampFormat.setFont(ui.demoTimestamp->font());
-  else
-    clearFontFromFormat(timestampFormat);
-  QtUi::style()->setFormat(UiStyle::Timestamp, timestampFormat, Settings::Custom);
-
-  setChangedState(false);
-}
-
-void FontsSettingsPage::widgetHasChanged() {
-  if(!hasChanged()) setChangedState(true);
-}
-
-void FontsSettingsPage::initLabel(QLabel *label, const QFont &font) {
-  setFont(label, font);
-}
-
-void FontsSettingsPage::setFont(QLabel *label, const QFont &font) {
-  label->setFont(font);
-  label->setText(QString("%1 %2").arg(font.family()).arg(font.pointSize()));
-  widgetHasChanged();
-}
-
-void FontsSettingsPage::chooseFont(QWidget *widget) {
-  QLabel *label = qobject_cast<QLabel *>(widget);
-  Q_ASSERT(label);
-  bool ok;
-  QFont font = QFontDialog::getFont(&ok, label->font());
-  if(ok) {
-    setFont(label, font);
-  }
-}
-
-void FontsSettingsPage::clearFontFromFormat(QTextCharFormat &fmt) {
-  fmt.clearProperty(QTextFormat::FontFamily);
-  fmt.clearProperty(QTextFormat::FontPointSize);
-  fmt.clearProperty(QTextFormat::FontPixelSize);
-  fmt.clearProperty(QTextFormat::FontWeight);
-  fmt.clearProperty(QTextFormat::FontItalic);
-  fmt.clearProperty(QTextFormat::TextUnderlineStyle);
-  fmt.clearProperty(QTextFormat::FontOverline);
-  fmt.clearProperty(QTextFormat::FontStrikeOut);
-  fmt.clearProperty(QTextFormat::FontFixedPitch);
-  fmt.clearProperty(QTextFormat::FontCapitalization);
-  fmt.clearProperty(QTextFormat::FontWordSpacing);
-  fmt.clearProperty(QTextFormat::FontLetterSpacing);
-}
diff --git a/src/qtui/settingspages/fontssettingspage.h b/src/qtui/settingspages/fontssettingspage.h
deleted file mode 100644 (file)
index d075976..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-/***************************************************************************
- *   Copyright (C) 2005-09 by the Quassel Project                          *
- *   devel@quassel-irc.org                                                 *
- *                                                                         *
- *   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.                                   *
- *                                                                         *
- *   This program is distributed in the hope that it will be useful,       *
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
- *   GNU General Public License for more details.                          *
- *                                                                         *
- *   You should have received a copy of the GNU General Public License     *
- *   along with this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
- ***************************************************************************/
-
-#ifndef _FONTSSETTINGSPAGE_H_
-#define _FONTSSETTINGSPAGE_H_
-
-#include <QHash>
-#include <QTextCharFormat>
-
-#include "settings.h"
-#include "settingspage.h"
-
-#include "ui_fontssettingspage.h"
-
-class QSignalMapper;
-class QLabel;
-
-class FontsSettingsPage : public SettingsPage {
-  Q_OBJECT
-
-  public:
-    FontsSettingsPage(QWidget *parent = 0);
-
-    bool hasDefaults() const;
-
-  public slots:
-    void save();
-    void load();
-    void defaults();
-
-  private slots:
-    void load(Settings::Mode mode);
-    void initLabel(QLabel *label, const QFont &font);
-    void setFont(QLabel *label, const QFont &font);
-    void chooseFont(QWidget *label);
-
-    void widgetHasChanged();
-
-  private:
-    void clearFontFromFormat(QTextCharFormat &fmt);
-
-    Ui::FontsSettingsPage ui;
-
-    QSignalMapper *mapper;
-
-};
-
-#endif
diff --git a/src/qtui/settingspages/fontssettingspage.ui b/src/qtui/settingspages/fontssettingspage.ui
deleted file mode 100644 (file)
index c261c45..0000000
+++ /dev/null
@@ -1,664 +0,0 @@
-<ui version="4.0" >
- <class>FontsSettingsPage</class>
- <widget class="QWidget" name="FontsSettingsPage" >
-  <property name="geometry" >
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>588</width>
-    <height>558</height>
-   </rect>
-  </property>
-  <property name="windowTitle" >
-   <string>Form</string>
-  </property>
-  <layout class="QVBoxLayout" >
-   <item>
-    <layout class="QVBoxLayout" >
-     <item>
-      <widget class="QGroupBox" name="customAppFonts" >
-       <property name="enabled" >
-        <bool>true</bool>
-       </property>
-       <property name="title" >
-        <string>Custom Application Fonts</string>
-       </property>
-       <property name="checkable" >
-        <bool>false</bool>
-       </property>
-       <property name="checked" >
-        <bool>false</bool>
-       </property>
-       <layout class="QVBoxLayout" >
-        <item>
-         <layout class="QGridLayout" >
-          <item row="0" column="1" >
-           <widget class="QLabel" name="demoGeneral" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="frameShape" >
-             <enum>QFrame::StyledPanel</enum>
-            </property>
-            <property name="frameShadow" >
-             <enum>QFrame::Sunken</enum>
-            </property>
-            <property name="text" >
-             <string>Font</string>
-            </property>
-            <property name="alignment" >
-             <set>Qt::AlignCenter</set>
-            </property>
-           </widget>
-          </item>
-          <item row="0" column="2" >
-           <widget class="QPushButton" name="chooseGeneral" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="text" >
-             <string>Choose...</string>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="0" >
-           <widget class="QCheckBox" name="checkTopic" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="text" >
-             <string>Topic:</string>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="1" >
-           <widget class="QLabel" name="demoTopic" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="frameShape" >
-             <enum>QFrame::StyledPanel</enum>
-            </property>
-            <property name="frameShadow" >
-             <enum>QFrame::Sunken</enum>
-            </property>
-            <property name="text" >
-             <string>Font</string>
-            </property>
-            <property name="alignment" >
-             <set>Qt::AlignCenter</set>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="2" >
-           <widget class="QPushButton" name="chooseTopic" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="text" >
-             <string>Choose...</string>
-            </property>
-           </widget>
-          </item>
-          <item row="2" column="0" >
-           <widget class="QCheckBox" name="checkBufferView" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="text" >
-             <string>Buffer Views:</string>
-            </property>
-            <property name="checked" >
-             <bool>false</bool>
-            </property>
-           </widget>
-          </item>
-          <item row="2" column="1" >
-           <widget class="QLabel" name="demoBufferView" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="frameShape" >
-             <enum>QFrame::StyledPanel</enum>
-            </property>
-            <property name="frameShadow" >
-             <enum>QFrame::Sunken</enum>
-            </property>
-            <property name="text" >
-             <string>Font</string>
-            </property>
-            <property name="alignment" >
-             <set>Qt::AlignCenter</set>
-            </property>
-           </widget>
-          </item>
-          <item row="2" column="2" >
-           <widget class="QPushButton" name="chooseBufferView" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="text" >
-             <string>Choose...</string>
-            </property>
-           </widget>
-          </item>
-          <item row="3" column="0" >
-           <widget class="QCheckBox" name="checkNickList" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="text" >
-             <string>Nick List:</string>
-            </property>
-            <property name="checked" >
-             <bool>false</bool>
-            </property>
-           </widget>
-          </item>
-          <item row="3" column="1" >
-           <widget class="QLabel" name="demoNickList" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="frameShape" >
-             <enum>QFrame::StyledPanel</enum>
-            </property>
-            <property name="frameShadow" >
-             <enum>QFrame::Sunken</enum>
-            </property>
-            <property name="text" >
-             <string>Font</string>
-            </property>
-            <property name="alignment" >
-             <set>Qt::AlignCenter</set>
-            </property>
-           </widget>
-          </item>
-          <item row="3" column="2" >
-           <widget class="QPushButton" name="chooseNickList" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="text" >
-             <string>Choose...</string>
-            </property>
-           </widget>
-          </item>
-          <item row="4" column="0" >
-           <widget class="QCheckBox" name="checkInputLine" >
-            <property name="text" >
-             <string>Inputline:</string>
-            </property>
-           </widget>
-          </item>
-          <item row="4" column="1" >
-           <widget class="QLabel" name="demoInputLine" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="frameShape" >
-             <enum>QFrame::StyledPanel</enum>
-            </property>
-            <property name="frameShadow" >
-             <enum>QFrame::Sunken</enum>
-            </property>
-            <property name="text" >
-             <string>Font</string>
-            </property>
-            <property name="alignment" >
-             <set>Qt::AlignCenter</set>
-            </property>
-           </widget>
-          </item>
-          <item row="4" column="2" >
-           <widget class="QPushButton" name="chooseInputLine" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="text" >
-             <string>Choose...</string>
-            </property>
-           </widget>
-          </item>
-          <item row="0" column="0" >
-           <widget class="QLabel" name="generalApp" >
-            <property name="enabled" >
-             <bool>false</bool>
-            </property>
-            <property name="text" >
-             <string>General:</string>
-            </property>
-           </widget>
-          </item>
-         </layout>
-        </item>
-       </layout>
-      </widget>
-     </item>
-     <item>
-      <widget class="QGroupBox" name="groupBox_2" >
-       <property name="title" >
-        <string>Chat Widget</string>
-       </property>
-       <layout class="QVBoxLayout" >
-        <item>
-         <layout class="QGridLayout" >
-          <item row="0" column="0" >
-           <widget class="QLabel" name="label_2" >
-            <property name="text" >
-             <string>General:</string>
-            </property>
-           </widget>
-          </item>
-          <item row="0" column="1" >
-           <widget class="QLabel" name="demoChatMessages" >
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="frameShape" >
-             <enum>QFrame::StyledPanel</enum>
-            </property>
-            <property name="frameShadow" >
-             <enum>QFrame::Sunken</enum>
-            </property>
-            <property name="text" >
-             <string>Font</string>
-            </property>
-            <property name="alignment" >
-             <set>Qt::AlignCenter</set>
-            </property>
-           </widget>
-          </item>
-          <item row="0" column="2" >
-           <widget class="QPushButton" name="chooseChatMessages" >
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="text" >
-             <string>Choose...</string>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="1" >
-           <widget class="QLabel" name="demoNicks" >
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="frameShape" >
-             <enum>QFrame::StyledPanel</enum>
-            </property>
-            <property name="frameShadow" >
-             <enum>QFrame::Sunken</enum>
-            </property>
-            <property name="text" >
-             <string>Font</string>
-            </property>
-            <property name="alignment" >
-             <set>Qt::AlignCenter</set>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="2" >
-           <widget class="QPushButton" name="chooseNicks" >
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="text" >
-             <string>Choose...</string>
-            </property>
-           </widget>
-          </item>
-          <item row="2" column="1" >
-           <widget class="QLabel" name="demoTimestamp" >
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="frameShape" >
-             <enum>QFrame::StyledPanel</enum>
-            </property>
-            <property name="frameShadow" >
-             <enum>QFrame::Sunken</enum>
-            </property>
-            <property name="text" >
-             <string>Font</string>
-            </property>
-            <property name="alignment" >
-             <set>Qt::AlignCenter</set>
-            </property>
-           </widget>
-          </item>
-          <item row="2" column="2" >
-           <widget class="QPushButton" name="chooseTimestamp" >
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="text" >
-             <string>Choose...</string>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="0" >
-           <widget class="QCheckBox" name="checkNicks" >
-            <property name="text" >
-             <string>Nicks:</string>
-            </property>
-            <property name="checked" >
-             <bool>true</bool>
-            </property>
-           </widget>
-          </item>
-          <item row="2" column="0" >
-           <widget class="QCheckBox" name="checkTimestamp" >
-            <property name="text" >
-             <string>Timestamp:</string>
-            </property>
-            <property name="checked" >
-             <bool>true</bool>
-            </property>
-           </widget>
-          </item>
-         </layout>
-        </item>
-       </layout>
-      </widget>
-     </item>
-     <item>
-      <widget class="QLabel" name="label_3" >
-       <property name="font" >
-        <font>
-         <italic>true</italic>
-        </font>
-       </property>
-       <property name="text" >
-        <string>Some of these settings require a restart of the Quassel Client in order to take effect. We intend to fix this.</string>
-       </property>
-       <property name="wordWrap" >
-        <bool>true</bool>
-       </property>
-      </widget>
-     </item>
-    </layout>
-   </item>
-   <item>
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>20</width>
-       <height>40</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-  </layout>
- </widget>
- <resources/>
- <connections>
-  <connection>
-   <sender>checkTimestamp</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>demoTimestamp</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>74</x>
-     <y>349</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>310</x>
-     <y>349</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>checkTimestamp</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>chooseTimestamp</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>124</x>
-     <y>349</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>559</x>
-     <y>356</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>checkNicks</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>demoNicks</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>68</x>
-     <y>317</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>338</x>
-     <y>317</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>checkNicks</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>chooseNicks</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>117</x>
-     <y>317</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>559</x>
-     <y>324</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>checkBufferView</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>demoBufferView</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>32</x>
-     <y>116</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>215</x>
-     <y>117</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>checkBufferView</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>chooseBufferView</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>114</x>
-     <y>135</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>559</x>
-     <y>142</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>checkNickList</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>demoNickList</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>69</x>
-     <y>147</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>199</x>
-     <y>151</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>checkNickList</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>chooseNickList</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>106</x>
-     <y>167</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>559</x>
-     <y>174</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>checkTopic</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>demoTopic</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>62</x>
-     <y>103</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>190</x>
-     <y>87</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>checkTopic</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>chooseTopic</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>129</x>
-     <y>103</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>559</x>
-     <y>110</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>checkInputLine</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>demoInputLine</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>82</x>
-     <y>194</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>221</x>
-     <y>197</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>checkInputLine</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>chooseInputLine</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>83</x>
-     <y>185</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>506</x>
-     <y>194</y>
-    </hint>
-   </hints>
-  </connection>
- </connections>
-</ui>