diff options
author | Paweł Jastrzębski <pawelj@vulturis.eu> | 2013-10-11 10:37:55 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@vulturis.eu> | 2013-10-11 10:37:55 +0200 |
commit | c8933e7326a5117a6751dcb8205452e1050665d0 (patch) | |
tree | 55d20cd4993dc457cde3dd1b629ff030acbdf266 | |
parent | CBR/CB7: Unicode fix (diff) | |
download | kcc-c8933e7326a5117a6751dcb8205452e1050665d0.tar.gz kcc-c8933e7326a5117a6751dcb8205452e1050665d0.tar.bz2 kcc-c8933e7326a5117a6751dcb8205452e1050665d0.zip |
GUI: Made scrollbars smaller
-rw-r--r-- | KCC-Linux.ui | 2 | ||||
-rw-r--r-- | KCC-OSX.ui | 2 | ||||
-rw-r--r-- | KCC.ui | 2 | ||||
-rw-r--r-- | kcc/KCC_ui.py | 4 | ||||
-rw-r--r-- | kcc/KCC_ui_linux.py | 4 | ||||
-rw-r--r-- | kcc/KCC_ui_osx.py | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/KCC-Linux.ui b/KCC-Linux.ui index 35f996c..7594133 100644 --- a/KCC-Linux.ui +++ b/KCC-Linux.ui @@ -449,7 +449,7 @@ p, li { white-space: pre-wrap; } <enum>Qt::NoFocus</enum> </property> <property name="styleSheet"> - <string notr="true">background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;</string> + <string notr="true">QListWidget#JobList {background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;}QScrollBar:vertical{border:1px solid #999;background:#FFF;width:5px;margin:0}QScrollBar::handle:vertical{background:#000;min-height:0}QScrollBar::add-line:vertical{height:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:vertical{height:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}QScrollBar:horizontal{border:1px solid #999;background:#FFF;height:5px;margin:0}QScrollBar::handle:horizontal{background:#000;min-width:0}QScrollBar::add-line:horizontal{width:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:horizontal{width:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}</string> </property> <property name="showDropIndicator" stdset="0"> <bool>false</bool> diff --git a/KCC-OSX.ui b/KCC-OSX.ui index 2ae89d2..592780e 100644 --- a/KCC-OSX.ui +++ b/KCC-OSX.ui @@ -448,7 +448,7 @@ <enum>Qt::NoFocus</enum> </property> <property name="styleSheet"> - <string notr="true">background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;</string> + <string notr="true">QListWidget#JobList {background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;}QScrollBar:vertical{border:1px solid #999;background:#FFF;width:5px;margin:0}QScrollBar::handle:vertical{background:#000;min-height:0}QScrollBar::add-line:vertical{height:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:vertical{height:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}QScrollBar:horizontal{border:1px solid #999;background:#FFF;height:5px;margin:0}QScrollBar::handle:horizontal{background:#000;min-width:0}QScrollBar::add-line:horizontal{width:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:horizontal{width:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}</string> </property> <property name="showDropIndicator" stdset="0"> <bool>false</bool> diff --git a/KCC.ui b/KCC.ui index 551d91d..72ab817 100644 --- a/KCC.ui +++ b/KCC.ui @@ -389,7 +389,7 @@ p, li { white-space: pre-wrap; } <enum>Qt::NoFocus</enum> </property> <property name="styleSheet"> - <string notr="true">background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;</string> + <string notr="true">QListWidget#JobList {background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;}QScrollBar:vertical{border:1px solid #999;background:#FFF;width:5px;margin:0}QScrollBar::handle:vertical{background:#000;min-height:0}QScrollBar::add-line:vertical{height:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:vertical{height:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}QScrollBar:horizontal{border:1px solid #999;background:#FFF;height:5px;margin:0}QScrollBar::handle:horizontal{background:#000;min-width:0}QScrollBar::add-line:horizontal{width:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:horizontal{width:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}</string> </property> <property name="showDropIndicator" stdset="0"> <bool>false</bool> diff --git a/kcc/KCC_ui.py b/kcc/KCC_ui.py index a1531a7..e8933f6 100644 --- a/kcc/KCC_ui.py +++ b/kcc/KCC_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'KCC.ui' # -# Created: Mon Oct 07 09:18:36 2013 +# Created: Fri Oct 11 10:36:02 2013 # by: PyQt4 UI code generator 4.10.3 # # WARNING! All changes made in this file will be lost! @@ -153,7 +153,7 @@ class Ui_KCC(object): self.JobList = QtGui.QListWidget(self.Form) self.JobList.setGeometry(QtCore.QRect(10, 50, 401, 101)) self.JobList.setFocusPolicy(QtCore.Qt.NoFocus) - self.JobList.setStyleSheet(_fromUtf8("background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;")) + self.JobList.setStyleSheet(_fromUtf8("QListWidget#JobList {background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;}QScrollBar:vertical{border:1px solid #999;background:#FFF;width:5px;margin:0}QScrollBar::handle:vertical{background:#000;min-height:0}QScrollBar::add-line:vertical{height:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:vertical{height:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}QScrollBar:horizontal{border:1px solid #999;background:#FFF;height:5px;margin:0}QScrollBar::handle:horizontal{background:#000;min-width:0}QScrollBar::add-line:horizontal{width:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:horizontal{width:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}")) self.JobList.setProperty("showDropIndicator", False) self.JobList.setSelectionMode(QtGui.QAbstractItemView.NoSelection) self.JobList.setObjectName(_fromUtf8("JobList")) diff --git a/kcc/KCC_ui_linux.py b/kcc/KCC_ui_linux.py index e9cf824..badf3d1 100644 --- a/kcc/KCC_ui_linux.py +++ b/kcc/KCC_ui_linux.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'KCC-Linux.ui' # -# Created: Mon Oct 07 09:18:59 2013 +# Created: Fri Oct 11 10:36:16 2013 # by: PyQt4 UI code generator 4.10.3 # # WARNING! All changes made in this file will be lost! @@ -193,7 +193,7 @@ class Ui_KCC(object): font.setItalic(False) self.JobList.setFont(font) self.JobList.setFocusPolicy(QtCore.Qt.NoFocus) - self.JobList.setStyleSheet(_fromUtf8("background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;")) + self.JobList.setStyleSheet(_fromUtf8("QListWidget#JobList {background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;}QScrollBar:vertical{border:1px solid #999;background:#FFF;width:5px;margin:0}QScrollBar::handle:vertical{background:#000;min-height:0}QScrollBar::add-line:vertical{height:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:vertical{height:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}QScrollBar:horizontal{border:1px solid #999;background:#FFF;height:5px;margin:0}QScrollBar::handle:horizontal{background:#000;min-width:0}QScrollBar::add-line:horizontal{width:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:horizontal{width:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}")) self.JobList.setProperty("showDropIndicator", False) self.JobList.setSelectionMode(QtGui.QAbstractItemView.NoSelection) self.JobList.setIconSize(QtCore.QSize(18, 18)) diff --git a/kcc/KCC_ui_osx.py b/kcc/KCC_ui_osx.py index af61872..3c8dd0e 100644 --- a/kcc/KCC_ui_osx.py +++ b/kcc/KCC_ui_osx.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'KCC-OSX.ui' # -# Created: Mon Oct 07 09:19:14 2013 +# Created: Fri Oct 11 10:36:27 2013 # by: PyQt4 UI code generator 4.10.3 # # WARNING! All changes made in this file will be lost! @@ -200,7 +200,7 @@ class Ui_KCC(object): font.setPointSize(11) self.JobList.setFont(font) self.JobList.setFocusPolicy(QtCore.Qt.NoFocus) - self.JobList.setStyleSheet(_fromUtf8("background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;")) + self.JobList.setStyleSheet(_fromUtf8("QListWidget#JobList {background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;}QScrollBar:vertical{border:1px solid #999;background:#FFF;width:5px;margin:0}QScrollBar::handle:vertical{background:#000;min-height:0}QScrollBar::add-line:vertical{height:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:vertical{height:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}QScrollBar:horizontal{border:1px solid #999;background:#FFF;height:5px;margin:0}QScrollBar::handle:horizontal{background:#000;min-width:0}QScrollBar::add-line:horizontal{width:0;background:#000;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:horizontal{width:0;background:#000;subcontrol-position:top;subcontrol-origin:margin}")) self.JobList.setProperty("showDropIndicator", False) self.JobList.setSelectionMode(QtGui.QAbstractItemView.NoSelection) self.JobList.setObjectName(_fromUtf8("JobList")) |