Skip to content
Permalink
Browse files
Make search box in options pages blend in better
  • Loading branch information
nyalldawson committed Apr 13, 2017
1 parent 7f065c7 commit 271e6f14ac4731cc8a76589a76232521b69ac0be
Showing with 60 additions and 57 deletions.
  1. +4 −1 src/app/qgisappstylesheet.cpp
  2. +56 −56 src/ui/qgsoptionsbase.ui
@@ -147,9 +147,12 @@ void QgisAppStyleSheet::buildStyleSheet( const QMap<QString, QVariant> &opts )

//sidebar style
QString style = "QListWidget#mOptionsListWidget {"
" background-color: rgb(69, 69, 69, 220);"
" background-color: rgb(69, 69, 69, 0);"
" outline: 0;"
"}"
"QFrame#mOptionsListFrame {"
" background-color: rgb(69, 69, 69, 220);"
"}"
"QListWidget#mOptionsListWidget::item {"
" color: white;"
" padding: 3px;"
@@ -43,7 +43,7 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_15">
<property name="spacing">
<number>0</number>
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
@@ -340,8 +340,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>856</width>
<height>679</height>
<width>691</width>
<height>702</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_28">
@@ -1026,8 +1026,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>839</width>
<height>1009</height>
<width>579</width>
<height>1110</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_22">
@@ -1556,8 +1556,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>856</width>
<height>679</height>
<width>843</width>
<height>787</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_27">
@@ -1924,8 +1924,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>839</width>
<height>827</height>
<width>713</width>
<height>1110</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_22">
@@ -2675,8 +2675,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>112</width>
<height>219</height>
<width>151</width>
<height>239</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_46">
@@ -2826,8 +2826,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>453</width>
<height>281</height>
<width>523</width>
<height>370</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_25">
@@ -3169,8 +3169,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>506</width>
<height>533</height>
<width>640</width>
<height>660</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_30">
@@ -3613,8 +3613,8 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
<rect>
<x>0</x>
<y>0</y>
<width>393</width>
<height>530</height>
<width>509</width>
<height>623</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_39">
@@ -3882,8 +3882,8 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
<rect>
<x>0</x>
<y>0</y>
<width>488</width>
<height>612</height>
<width>572</width>
<height>828</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_31">
@@ -4460,8 +4460,8 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
<rect>
<x>0</x>
<y>0</y>
<width>345</width>
<height>350</height>
<width>435</width>
<height>402</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
@@ -4599,8 +4599,8 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
<rect>
<x>0</x>
<y>0</y>
<width>332</width>
<height>499</height>
<width>437</width>
<height>584</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_15">
@@ -4812,8 +4812,8 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
<rect>
<x>0</x>
<y>0</y>
<width>221</width>
<height>201</height>
<width>292</width>
<height>258</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_32">
@@ -4921,8 +4921,8 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
<rect>
<x>0</x>
<y>0</y>
<width>856</width>
<height>679</height>
<width>534</width>
<height>790</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_33">
@@ -5441,32 +5441,16 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
<header>qgsscrollarea.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsPasswordLineEdit</class>
<extends>QLineEdit</extends>
<header>qgspasswordlineedit.h</header>
</customwidget>
<customwidget>
<class>QgsFilterLineEdit</class>
<extends>QLineEdit</extends>
<header>qgsfilterlineedit.h</header>
</customwidget>
<customwidget>
<class>QgsColorButton</class>
<extends>QToolButton</extends>
<header>qgscolorbutton.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsCollapsibleGroupBox</class>
<extends>QGroupBox</extends>
<header>qgscollapsiblegroupbox.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsColorSchemeList</class>
<class>QgsProjectionSelectionWidget</class>
<extends>QWidget</extends>
<header location="global">qgscolorschemelist.h</header>
<header>qgsprojectionselectionwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
@@ -5475,17 +5459,38 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
<header location="global">qgsvariableeditorwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsProjectionSelectionWidget</class>
<extends>QWidget</extends>
<header>qgsprojectionselectionwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsScaleComboBox</class>
<extends>QComboBox</extends>
<header>qgsscalecombobox.h</header>
</customwidget>
<customwidget>
<class>QgsFilterLineEdit</class>
<extends>QLineEdit</extends>
<header>qgsfilterlineedit.h</header>
</customwidget>
<customwidget>
<class>QgsColorButton</class>
<extends>QToolButton</extends>
<header>qgscolorbutton.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsPasswordLineEdit</class>
<extends>QLineEdit</extends>
<header>qgspasswordlineedit.h</header>
</customwidget>
<customwidget>
<class>QgsColorSchemeList</class>
<extends>QWidget</extends>
<header location="global">qgscolorschemelist.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsSettingsTree</class>
<extends>QWidget</extends>
@@ -5498,11 +5503,6 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
<header>qgsautheditorwidgets.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>mOptionsListWidget</tabstop>

1 comment on commit 271e6f1

@nirvn

This comment has been minimized.

Copy link
Contributor

@nirvn nirvn commented on 271e6f1 Apr 16, 2017

@nyalldawson , I think this commit might have led to a visual regression with the plugin manager's side bar:
reg

Please sign in to comment.