add checkboxes to tooltip window

This commit is contained in:
arcan1s
2014-08-30 16:30:58 +04:00
parent 7eb5197318
commit b55d453aeb
5 changed files with 142 additions and 160 deletions

View File

@ -158,90 +158,10 @@
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layout_cpuclockColor">
<item>
<widget class="QLabel" name="label_cpuclockColor">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>CPU clock color</string>
</property>
</widget>
</item>
<item>
<spacer name="spacer_cpuclockColor">
<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="KColorCombo" name="kcolorcombo_cpuclock">
<property name="minimumSize">
<size>
<width>180</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layout_swapColor">
<item>
<widget class="QLabel" name="label_swapColor">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Swap color</string>
</property>
</widget>
</item>
<item>
<spacer name="spacer_swapColor">
<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="KColorCombo" name="kcolorcombo_swap">
<property name="minimumSize">
<size>
<width>180</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layout_cpuColor">
<item>
<widget class="QLabel" name="label_cpuColor">
<widget class="QCheckBox" name="checkBox_cpu">
<property name="minimumSize">
<size>
<width>200</width>
@ -251,6 +171,9 @@
<property name="text">
<string>CPU color</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@ -279,9 +202,9 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layout_downColor">
<layout class="QHBoxLayout" name="layout_cpuclockColor">
<item>
<widget class="QLabel" name="label_downColor">
<widget class="QCheckBox" name="checkBox_cpuclock">
<property name="minimumSize">
<size>
<width>200</width>
@ -289,12 +212,15 @@
</size>
</property>
<property name="text">
<string>Download speed color</string>
<string>CPU clock color</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="spacer_downColor">
<spacer name="spacer_cpuclockColor">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -307,7 +233,7 @@
</spacer>
</item>
<item>
<widget class="KColorCombo" name="kcolorcombo_down">
<widget class="KColorCombo" name="kcolorcombo_cpuclock">
<property name="minimumSize">
<size>
<width>180</width>
@ -321,7 +247,7 @@
<item>
<layout class="QHBoxLayout" name="layout_memColor">
<item>
<widget class="QLabel" name="label_memColor">
<widget class="QCheckBox" name="checkBox_mem">
<property name="minimumSize">
<size>
<width>200</width>
@ -331,6 +257,9 @@
<property name="text">
<string>Memory color</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@ -358,10 +287,96 @@
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layout_swapColor">
<item>
<widget class="QCheckBox" name="checkBox_swap">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Swap color</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="spacer_swapColor">
<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="KColorCombo" name="kcolorcombo_swap">
<property name="minimumSize">
<size>
<width>180</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layout_downColor">
<item>
<widget class="QCheckBox" name="checkBox_down">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Download speed color</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="spacer_downColor">
<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="KColorCombo" name="kcolorcombo_down">
<property name="minimumSize">
<size>
<width>180</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layout_upColor">
<item>
<widget class="QLabel" name="label_upColor">
<widget class="QCheckBox" name="checkBox_up">
<property name="minimumSize">
<size>
<width>200</width>
@ -371,6 +386,9 @@
<property name="text">
<string>Upload speed color</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@ -424,18 +442,6 @@
<header>kcolorcombo.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>scrollArea_tooltip</tabstop>
<tabstop>spinBox_tooltipNum</tabstop>
<tabstop>checkBox_background</tabstop>
<tabstop>kcolorcombo_background</tabstop>
<tabstop>kcolorcombo_cpuclock</tabstop>
<tabstop>kcolorcombo_swap</tabstop>
<tabstop>kcolorcombo_cpu</tabstop>
<tabstop>kcolorcombo_down</tabstop>
<tabstop>kcolorcombo_mem</tabstop>
<tabstop>kcolorcombo_up</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>