Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
manjaro-settings-manager
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
57
Issues
57
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Applications
manjaro-settings-manager
Commits
5e352507
Commit
5e352507
authored
Jun 23, 2017
by
Sanchit Samuel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverting back to buttons
parent
1e008d8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
30 deletions
+9
-30
src/modules/mhwd/MhwdPage.cpp
src/modules/mhwd/MhwdPage.cpp
+4
-6
src/modules/mhwd/ui/PageMhwd.ui
src/modules/mhwd/ui/PageMhwd.ui
+5
-24
No files found.
src/modules/mhwd/MhwdPage.cpp
View file @
5e352507
...
...
@@ -43,17 +43,15 @@ MhwdPage::MhwdPage( QWidget* parent ) :
ui
->
reinstallAction
->
setIcon
(
QIcon
::
fromTheme
(
"view-refresh"
,
QIcon
(
":/icons/restore.png"
)
)
);
// Connect signals and slots
connect
(
ui
->
buttonInstallFree
,
&
Q
Label
::
linkActivat
ed
,
[
=
]
(
const
QString
&
link
)
connect
(
ui
->
buttonInstallFree
,
&
Q
PushButton
::
click
ed
,
[
=
]
(
)
{
Q_UNUSED
(
link
)
MhwdCommon
::
installFreeConfiguration
();
load
();
}
);
connect
(
ui
->
buttonInstallNonFree
,
&
Q
Label
::
linkActivat
ed
,
[
=
]
(
const
QString
&
link
)
connect
(
ui
->
buttonInstallNonFree
,
&
Q
PushButton
::
click
ed
,
[
=
]
(
)
{
Q_UNUSED
(
link
)
MhwdCommon
::
installNonFreeConfiguration
();
load
();
}
);
...
...
src/modules/mhwd/ui/PageMhwd.ui
View file @
5e352507
...
...
@@ -27,43 +27,24 @@
<number>
11
</number>
</property>
<item>
<layout
class=
"Q
VBoxLayout"
name=
"verticalLayout"
stretch=
"0,
0,0"
>
<layout
class=
"Q
HBoxLayout"
name=
"horizontalLayout"
stretch=
"
0,0"
>
<property
name=
"spacing"
>
<number>
10
</number>
</property>
<item>
<widget
class=
"Q
Label"
name=
"buttonInstall
Free"
>
<widget
class=
"Q
PushButton"
name=
"buttonInstallNon
Free"
>
<property
name=
"text"
>
<string>
<
a href=
"
#
">
Auto Install Open-Source Driver
<
/a
>
</string>
<string>
Auto Install Proprietary Driver
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"Q
Label"
name=
"buttonInstallNon
Free"
>
<widget
class=
"Q
PushButton"
name=
"buttonInstall
Free"
>
<property
name=
"text"
>
<string>
<
a href=
"
#
">
Auto Install Proprietary Driver
<
/a
>
</string>
</property>
<property
name=
"textFormat"
>
<enum>
Qt::RichText
</enum>
<string>
Auto Install Open-Source Driver
</string>
</property>
</widget>
</item>
<item>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
</property>
<property
name=
"sizeType"
>
<enum>
QSizePolicy::Minimum
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
20
</width>
<height>
2
</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
...
...
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