Small settingspage fixes
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 16 Nov 2008 01:56:19 +0000 (02:56 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 16 Nov 2008 01:56:19 +0000 (02:56 +0100)
src/qtui/settingspages/colorsettingspage.ui
src/qtui/settingspages/generalsettingspage.cpp
src/qtui/settingspages/generalsettingspage.ui
src/qtui/settingspages/networkssettingspage.ui

index bbf5389..99f3ff8 100644 (file)
    <item>
     <widget class="QTabWidget" name="tabWidget" >
      <property name="currentIndex" >
    <item>
     <widget class="QTabWidget" name="tabWidget" >
      <property name="currentIndex" >
-      <number>1</number>
+      <number>0</number>
      </property>
      <widget class="QWidget" name="bufferview" >
      </property>
      <widget class="QWidget" name="bufferview" >
-      <property name="geometry" >
-       <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>487</width>
-        <height>485</height>
-       </rect>
-      </property>
       <attribute name="title" >
        <string>Bufferview</string>
       </attribute>
       <attribute name="title" >
        <string>Bufferview</string>
       </attribute>
       </layout>
      </widget>
      <widget class="QWidget" name="chatview" >
       </layout>
      </widget>
      <widget class="QWidget" name="chatview" >
-      <property name="geometry" >
-       <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>487</width>
-        <height>485</height>
-       </rect>
-      </property>
       <attribute name="title" >
        <string>Chatview</string>
       </attribute>
       <attribute name="title" >
        <string>Chatview</string>
       </attribute>
           </sizepolicy>
          </property>
          <property name="currentIndex" >
           </sizepolicy>
          </property>
          <property name="currentIndex" >
-          <number>2</number>
+          <number>0</number>
          </property>
          <widget class="QWidget" name="tab" >
          </property>
          <widget class="QWidget" name="tab" >
-          <property name="geometry" >
-           <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>441</width>
-            <height>262</height>
-           </rect>
-          </property>
           <attribute name="title" >
            <string>Server Activity</string>
           </attribute>
           <attribute name="title" >
            <string>Server Activity</string>
           </attribute>
           </layout>
          </widget>
          <widget class="QWidget" name="tab_2" >
           </layout>
          </widget>
          <widget class="QWidget" name="tab_2" >
-          <property name="geometry" >
-           <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>441</width>
-            <height>294</height>
-           </rect>
-          </property>
           <attribute name="title" >
            <string>User Activity</string>
           </attribute>
           <attribute name="title" >
            <string>User Activity</string>
           </attribute>
           </layout>
          </widget>
          <widget class="QWidget" name="Seite_2" >
           </layout>
          </widget>
          <widget class="QWidget" name="Seite_2" >
-          <property name="geometry" >
-           <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>441</width>
-            <height>294</height>
-           </rect>
-          </property>
           <attribute name="title" >
            <string>Message</string>
           </attribute>
           <attribute name="title" >
            <string>Message</string>
           </attribute>
       </layout>
      </widget>
      <widget class="QWidget" name="Mirc" >
       </layout>
      </widget>
      <widget class="QWidget" name="Mirc" >
-      <property name="geometry" >
-       <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>487</width>
-        <height>485</height>
-       </rect>
-      </property>
       <attribute name="title" >
        <string>Mirc Color Codes</string>
       </attribute>
       <attribute name="title" >
        <string>Mirc Color Codes</string>
       </attribute>
       </layout>
      </widget>
      <widget class="QWidget" name="nickview" >
       </layout>
      </widget>
      <widget class="QWidget" name="nickview" >
-      <property name="geometry" >
-       <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>487</width>
-        <height>485</height>
-       </rect>
-      </property>
       <attribute name="title" >
        <string>Nickview</string>
       </attribute>
       <attribute name="title" >
        <string>Nickview</string>
       </attribute>
index 9b232bd..1c91d01 100644 (file)
@@ -55,7 +55,7 @@ GeneralSettingsPage::GeneralSettingsPage(QWidget *parent)
   connect(ui.errorMsgsInDefaultBuffer, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
   connect(ui.errorMsgsInStatusBuffer, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
   connect(ui.errorMsgsInCurrentBuffer, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
   connect(ui.errorMsgsInDefaultBuffer, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
   connect(ui.errorMsgsInStatusBuffer, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
   connect(ui.errorMsgsInCurrentBuffer, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
-  
+
   connect(ui.displayTopicInTooltip, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
   connect(ui.mouseWheelChangesBuffers, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
   connect(ui.completionSuffix, SIGNAL(textEdited(const QString&)), this, SLOT(widgetHasChanged()));
   connect(ui.displayTopicInTooltip, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
   connect(ui.mouseWheelChangesBuffers, SIGNAL(clicked(bool)), this, SLOT(widgetHasChanged()));
   connect(ui.completionSuffix, SIGNAL(textEdited(const QString&)), this, SLOT(widgetHasChanged()));
@@ -86,7 +86,7 @@ void GeneralSettingsPage::defaults() {
   ui.errorMsgsInCurrentBuffer->setChecked(false);
 
   ui.displayTopicInTooltip->setChecked(false);
   ui.errorMsgsInCurrentBuffer->setChecked(false);
 
   ui.displayTopicInTooltip->setChecked(false);
-  ui.mouseWheelChangesBuffers->setChecked(true);
+  ui.mouseWheelChangesBuffers->setChecked(false);
 
   ui.completionSuffix->setText(": ");
 
 
   ui.completionSuffix->setText(": ");
 
@@ -107,7 +107,7 @@ void GeneralSettingsPage::load() {
   settings["MinimizeOnClose"] = qtuiSettings.value("MinimizeOnClose", QVariant(false));
   ui.minimizeOnClose->setChecked(settings["MinimizeOnClose"].toBool());
 
   settings["MinimizeOnClose"] = qtuiSettings.value("MinimizeOnClose", QVariant(false));
   ui.minimizeOnClose->setChecked(settings["MinimizeOnClose"].toBool());
 
-  settings["MouseWheelChangesBuffers"] = uiSettings.value("MouseWheelChangesBuffers", QVariant(true));
+  settings["MouseWheelChangesBuffers"] = uiSettings.value("MouseWheelChangesBuffers", QVariant(false));
   ui.mouseWheelChangesBuffers->setChecked(settings["MouseWheelChangesBuffers"].toBool());
 
   // bufferSettings:
   ui.mouseWheelChangesBuffers->setChecked(settings["MouseWheelChangesBuffers"].toBool());
 
   // bufferSettings:
@@ -124,7 +124,7 @@ void GeneralSettingsPage::load() {
   SettingsPage::load(ui.errorMsgsInStatusBuffer, bufferSettings.value("ErrorMsgsInStatusBuffer", QVariant(false)).toBool());
   SettingsPage::load(ui.errorMsgsInCurrentBuffer, bufferSettings.value("ErrorMsgsInCurrentBuffer", QVariant(false)).toBool());
 
   SettingsPage::load(ui.errorMsgsInStatusBuffer, bufferSettings.value("ErrorMsgsInStatusBuffer", QVariant(false)).toBool());
   SettingsPage::load(ui.errorMsgsInCurrentBuffer, bufferSettings.value("ErrorMsgsInCurrentBuffer", QVariant(false)).toBool());
 
-  
+
   settings["DisplayTopicInTooltip"] = bufferSettings.value("DisplayTopicInTooltip", QVariant(false));
   ui.displayTopicInTooltip->setChecked(settings["DisplayTopicInTooltip"].toBool());
 
   settings["DisplayTopicInTooltip"] = bufferSettings.value("DisplayTopicInTooltip", QVariant(false));
   ui.displayTopicInTooltip->setChecked(settings["DisplayTopicInTooltip"].toBool());
 
@@ -173,7 +173,7 @@ void GeneralSettingsPage::save() {
   BacklogSettings backlogSettings;
   backlogSettings.setFixedBacklogAmount(ui.fixedBacklogAmount->value());
   backlogSettings.setDynamicBacklogAmount(ui.dynamicBacklogAmount->value());
   BacklogSettings backlogSettings;
   backlogSettings.setFixedBacklogAmount(ui.fixedBacklogAmount->value());
   backlogSettings.setDynamicBacklogAmount(ui.dynamicBacklogAmount->value());
-  
+
   load();
   setChangedState(false);
 }
   load();
   setChangedState(false);
 }
index 9257cc1..b8be73a 100644 (file)
          <string>Mouse wheel changes displayed buffers</string>
         </property>
         <property name="checked" >
          <string>Mouse wheel changes displayed buffers</string>
         </property>
         <property name="checked" >
-         <bool>true</bool>
+         <bool>false</bool>
         </property>
        </widget>
       </item>
         </property>
        </widget>
       </item>
index 4c1563e..5f578f5 100644 (file)
          <string/>
         </property>
         <property name="currentIndex" >
          <string/>
         </property>
         <property name="currentIndex" >
-         <number>2</number>
+         <number>0</number>
         </property>
         <widget class="QWidget" name="serversTab" >
          <property name="enabled" >
         </property>
         <widget class="QWidget" name="serversTab" >
          <property name="enabled" >