Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qtquickcontrols-nemo
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
qtquickcontrols-nemo
Commits
a40a1b66
Commit
a40a1b66
authored
Jun 09, 2017
by
Chupligin Sergey
Committed by
GitHub
Jun 09, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5 from neochapay/examples
Examples
parents
e6061b65
e915ade3
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
50 deletions
+44
-50
.gitignore
.gitignore
+1
-1
glacier-gallery.desktop
examples/touch/glacier-gallery.desktop
+2
-2
resources.qrc
examples/touch/resources.qrc
+0
-31
main.cpp
examples/touch/src/main.cpp
+10
-2
src.pri
examples/touch/src/src.pri
+0
-2
touch.pro
examples/touch/touch.pro
+29
-11
qtquickcontrols-nemo.spec
rpm/qtquickcontrols-nemo.spec
+2
-1
No files found.
.gitignore
View file @
a40a1b66
...
@@ -9,7 +9,7 @@ qrc_*
...
@@ -9,7 +9,7 @@ qrc_*
.qmake.stash
.qmake.stash
*.spec.*
*.spec.*
documentation.list
documentation.list
examples/touch/
touch_nemo
examples/touch/
glacier-components
Makefile
Makefile
installroot/
installroot/
RPMS/
RPMS/
\ No newline at end of file
examples/touch/glacier-gallery.desktop
View file @
a40a1b66
[Desktop Entry]
[Desktop Entry]
Type=Application
Type=Application
Name=Glacier
UI
Name=Glacier
components
Categories=Applications;
Categories=Applications;
Exec=env QT_QUICK_CONTROLS_STYLE=Nemo /usr/
lib/qt5/examples/touch_nemo
Exec=env QT_QUICK_CONTROLS_STYLE=Nemo /usr/
bin/glacier-components
Icon=icon-app-components
Icon=icon-app-components
X-Desktop-File-Install-Version=0.20
X-Desktop-File-Install-Version=0.20
...
...
examples/touch/resources.qrc
deleted
100644 → 0
View file @
e6061b65
<RCC>
<qresource prefix="/">
<file>main.qml</file>
<file>content/AndroidDelegate.qml</file>
<file>content/ButtonPage.qml</file>
<file>content/ProgressBarPage.qml</file>
<file>content/SliderPage.qml</file>
<file>content/TabBarPage.qml</file>
<file>content/TextInputPage.qml</file>
<file>content/SelectRollerPage.qml</file>
<file>images/button_default.png</file>
<file>images/button_pressed.png</file>
<file>images/navigation_next_item.png</file>
<file>images/navigation_previous_item.png</file>
<file>images/tab_selected.png</file>
<file>images/tabs_standard.png</file>
<file>images/textinput.png</file>
<file>images/toolbar.png</file>
<file>content/LiveCoding.qml</file>
<file>content/SpinnerPage.qml</file>
<file>content/LabelPage.qml</file>
<file>content/CheckboxPage.qml</file>
<file>content/ButtonRowPage.qml</file>
<file>content/QueryDialogPage.qml</file>
<file>images/dots-vertical.png</file>
<file>images/icon-triangle-left.png</file>
<file>images/icon_cog.png</file>
<file>images/icon_edit.png</file>
<file>images/icon_refresh.png</file>
</qresource>
</RCC>
examples/touch/src/main.cpp
View file @
a40a1b66
/****************************************************************************
/****************************************************************************
**
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Copyright (C) 2017 Chupligin Sergey neochapay@gmail.com
** Contact: http://www.qt-project.org/legal
** Contact: http://www.qt-project.org/legal
**
**
** This file is part of the Qt Quick Controls module of the Qt Toolkit.
** This file is part of the Qt Quick Controls module of the Qt Toolkit.
...
@@ -37,6 +38,13 @@
...
@@ -37,6 +38,13 @@
** $QT_END_LICENSE$
** $QT_END_LICENSE$
**
**
****************************************************************************/
****************************************************************************/
#include <QApplication>
#include <QQmlApplicationEngine>
#include "../../shared/qt_quick_controls_examplemain.h"
int
main
(
int
argc
,
char
*
argv
[])
QT_QUICK_CONTROLS_EXAMPLE_MAIN
(
qrc
:/
main
.
qml
)
{
QApplication
app
(
argc
,
argv
);
QQmlApplicationEngine
engine
;
engine
.
load
(
QUrl
(
QStringLiteral
(
"/usr/share/glacier-components/main.qml"
)));
return
app
.
exec
();
}
examples/touch/src/src.pri
deleted
100644 → 0
View file @
e6061b65
SOURCES += \
$$PWD/main.cpp
examples/touch/touch.pro
View file @
a40a1b66
TEMPLATE
=
app
TEMPLATE
=
app
QT
+=
qml
quick
QT
+=
qml
quick
TARGET
=
touch_nemo
TARGET
=
glacier
-
components
target
.
path
=
/
usr
/
lib
/
qt5
/
examples
target
.
path
=
/
usr
/
bin
qtHaveModule
(
widgets
)
{
qtHaveModule
(
widgets
)
{
QT
+=
widgets
QT
+=
widgets
}
}
include
(
src
/
src
.
pri
)
mainqml
.
files
=
main
.
qml
mainqml
.
path
=
/
usr
/
share
/
glacier
-
components
qml
.
files
+=
\
content
/
AndroidDelegate
.
qml
\
content
/
ButtonPage
.
qml
\
content
/
ProgressBarPage
.
qml
\
content
/
SliderPage
.
qml
\
content
/
TabBarPage
.
qml
\
content
/
TextInputPage
.
qml
\
content
/
LiveCoding
.
qml
\
content
/
SpinnerPage
.
qml
\
content
/
LabelPage
.
qml
\
content
/
CheckboxPage
.
qml
\
content
/
ButtonRowPage
.
qml
\
content
/
QueryDialogPage
.
qml
\
content
/
ListViewPage
.
qml
\
content
/
SelectRollerPage
.
qml
qml
.
path
=
/
usr
/
share
/
glacier
-
components
/
content
images
.
files
=
images
/*
.png
images.path = /usr/share/glacier-components/images
OTHER_FILES += \
OTHER_FILES += \
main.qml \
main.qml \
...
@@ -23,18 +45,14 @@ OTHER_FILES += \
...
@@ -23,18 +45,14 @@ OTHER_FILES += \
content/CheckboxPage.qml \
content/CheckboxPage.qml \
content/ButtonRowPage.qml \
content/ButtonRowPage.qml \
content/QueryDialogPage.qml \
content/QueryDialogPage.qml \
content/ListViewPage.qml \
content/SelectRollerPage.qml
content/SelectRollerPage.qml
RESOURCES
+=
\
resources
.
qrc
INSTALLS
+=
target
desktop.path = /usr/share/applications
desktop.path = /usr/share/applications
desktop.files = glacier-gallery.desktop
desktop.files = glacier-gallery.desktop
INSTALLS
+=
desktop
DISTFILES
+=
\
INSTALLS += desktop target qml mainqml images
content
/
ListViewPage
.
qml
\
content
/
SelectRollerPage
.
qml
SOURCES += \
src/main.cpp
rpm/qtquickcontrols-nemo.spec
View file @
a40a1b66
...
@@ -68,6 +68,7 @@ desktop-file-install --delete-original \
...
@@ -68,6 +68,7 @@ desktop-file-install --delete-original \
%files examples
%files examples
%defattr(-,root,root,-)
%defattr(-,root,root,-)
%{_libdir}/qt5/examples/touch_nemo
%{_bindir}/glacier-components
%{_datadir}/glacier-components
%{_datadir}/applications/*.desktop
%{_datadir}/applications/*.desktop
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