Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
6af683ff
Commit
6af683ff
authored
Aug 06, 2020
by
Tomaz Canabrava
Browse files
Disable Darkening Strength text
parent
54a510cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/widgets/EditProfileAppearancePage.ui
View file @
6af683ff
...
...
@@ -693,7 +693,7 @@
<item
row=
"4"
column=
"1"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<item>
<widget
class=
"QLabel"
name=
"
l
abel
_11
"
>
<widget
class=
"QLabel"
name=
"
dimL
abel"
>
<property
name=
"text"
>
<string>
Darkening strength:
</string>
</property>
...
...
@@ -795,14 +795,30 @@
<y>
249
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
205
</x>
<y>
277
</y>
<x>
461
</x>
<y>
288
</y>
</hint>
</hints>
</connection>
<connection>
<sender>
dimWhenInactiveCheckbox
</sender>
<signal>
clicked(bool)
</signal>
<receiver>
dimLabel
</receiver>
<slot>
setEnabled(bool)
</slot>
<hints>
<hint
type=
"sourcelabel"
>
<x>
236
</x>
<y>
247
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
229
</x>
<y>
270
</y>
</hint>
</hints>
</connection>
</connections>
<buttongroups>
<buttongroup
name=
"cursorColor"
/>
<buttongroup
name=
"cursorShape"
/>
<buttongroup
name=
"cursorColor"
/>
</buttongroups>
</ui>
src/widgets/EditProfileDialog.cpp
View file @
6af683ff
...
...
@@ -774,6 +774,8 @@ void EditProfileDialog::setupAppearancePage(const Profile::Ptr &profile)
&
Konsole
::
EditProfileDialog
::
setDimWhenInactive
);
_appearanceUi
->
dimValue
->
setValue
(
profile
->
dimValue
());
_appearanceUi
->
dimValue
->
setEnabled
(
profile
->
dimWhenInactive
());
_appearanceUi
->
dimLabel
->
setEnabled
(
profile
->
dimWhenInactive
());
connect
(
_appearanceUi
->
dimValue
,
&
QSlider
::
valueChanged
,
this
,
&
Konsole
::
EditProfileDialog
::
setDimValue
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment