Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
glacier-home
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
glacier-home
Commits
b5065bfa
Commit
b5065bfa
authored
Jan 26, 2017
by
Sergey Chupligin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Statusbar] Update common panel component
parent
e15e82b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
9 deletions
+60
-9
lipstick-glacier-home-qt5.spec
rpm/lipstick-glacier-home-qt5.spec
+1
-1
CommonPanel.qml
src/qml/CommonPanel.qml
+59
-8
No files found.
rpm/lipstick-glacier-home-qt5.spec
View file @
b5065bfa
...
@@ -23,7 +23,7 @@ Requires: nemo-qml-plugin-configuration-qt5
...
@@ -23,7 +23,7 @@ Requires: nemo-qml-plugin-configuration-qt5
Requires: nemo-qml-plugin-time-qt5
Requires: nemo-qml-plugin-time-qt5
Requires: qt5-qtdeclarative-import-window2
Requires: qt5-qtdeclarative-import-window2
Requires: qt5-qtquickcontrols >= 5.2.0
Requires: qt5-qtquickcontrols >= 5.2.0
Requires: qt5-qtquickcontrols-nemo
Requires: qt5-qtquickcontrols-nemo
>= 5.1.1
Requires: nemo-qml-plugin-contextkit-qt5
Requires: nemo-qml-plugin-contextkit-qt5
Requires: connman-qt5
Requires: connman-qt5
Requires: libqofono-qt5-declarative
Requires: libqofono-qt5-declarative
...
...
src/qml/CommonPanel.qml
View file @
b5065bfa
/****************************************************************************************
/****************************************************************************************
**
**
** Copyright (C) 2014 Aleksi Suomalainen <suomalainen.aleksi@gmail.com>
** Copyright (C) 2014 Aleksi Suomalainen <suomalainen.aleksi@gmail.com>
** Copyright (C) 2017 Sergey Chupligin <mail@neochapay.ru>
** All rights reserved.
** All rights reserved.
**
**
** You may use this file under the terms of BSD license as follows:
** You may use this file under the terms of BSD license as follows:
...
@@ -30,20 +31,70 @@
...
@@ -30,20 +31,70 @@
****************************************************************************************/
****************************************************************************************/
import
QtQuick
2.0
import
QtQuick
2.0
import
QtQuick
.
Controls
1.0
import
QtQuick
.
Controls
.
Nemo
1.0
import
QtQuick
.
Controls
.
Nemo
1.0
import
QtQuick
.
Controls
.
Styles
.
Nemo
1.0
import
QtQuick
.
Controls
.
Styles
.
Nemo
1.0
Rectangle
{
Rectangle
{
id
:
commonPanel
property
alias
switcherEnabled
:
columnCheckBox
.
enabled
property
alias
switcherChecked
:
columnCheckBox
.
checked
property
string
name
:
""
height
:
240
height
:
240
width
:
root
.
width
width
:
root
.
width
color
:
"
#313131
"
color
:
"
transparent
"
opacity
:
0.5
Button
{
Rectangle
{
text
:
qsTr
(
"
Close
"
)
anchors.fill
:
parent
anchors.bottom
:
parent
.
bottom
color
:
"
#313131
"
anchors.right
:
parent
.
right
opacity
:
0.3
onClicked
:
{
}
panel_loader
.
visible
=
!
panel_loader
.
visible
clip
:
true
default
property
alias
contentItem
:
dataColumn
.
children
Column
{
id
:
actionColumn
anchors
{
top
:
commonPanel
.
top
topMargin
:
20
}
width
:
parent
.
width
Label
{
id
:
nameLabel
text
:
name
anchors
{
left
:
actionColumn
.
left
leftMargin
:
20
}
wrapMode
:
Text
.
Wrap
font.pointSize
:
8
font.bold
:
true
color
:
"
#ffffff
"
}
CheckBox
{
id
:
columnCheckBox
visible
:
enabled
anchors
{
right
:
actionColumn
.
right
rightMargin
:
20
verticalCenter
:
nameLabel
.
verticalCenter
}
}
}
Column
{
id
:
dataColumn
width
:
parent
.
width
-
40
anchors
{
left
:
parent
.
left
leftMargin
:
20
top
:
actionColumn
.
bottom
topMargin
:
60
}
}
}
}
}
}
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