Changeset View
Changeset View
Standalone View
Standalone View
qmlUiKirigami/Main.qml
Show All 17 Lines | |||||
18 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | 18 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
19 | * | 19 | * | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | import QtQuick 2.1 | 22 | import QtQuick 2.1 | ||
23 | import QtQuick.Controls 2.0 as Controls | 23 | import QtQuick.Controls 2.0 as Controls | ||
24 | 24 | | |||
25 | import org.kde.kirigami 2.0 as Kirigami | 25 | import org.kde.kirigami 2.0 as Kirigami | ||
26 | import org.kde.kquickcontrolsaddons 2.0 as KQA | ||||
26 | import org.kde.koko 0.1 as Koko | 27 | import org.kde.koko 0.1 as Koko | ||
27 | 28 | | |||
28 | Kirigami.ApplicationWindow { | 29 | Kirigami.ApplicationWindow { | ||
29 | id: root | 30 | id: root | ||
30 | header: Kirigami.ApplicationHeader {} | 31 | header: Kirigami.ApplicationHeader {} | ||
31 | 32 | | |||
32 | /* | 33 | /* | ||
33 | * currentImage now stores the information related to the source model | 34 | * currentImage now stores the information related to the source model | ||
▲ Show 20 Lines • Show All 168 Lines • ▼ Show 20 Line(s) | 202 | if (imagePathArgument != "") { | |||
202 | pageStack.layers.push(imageViewerComponent); | 203 | pageStack.layers.push(imageViewerComponent); | ||
203 | } | 204 | } | ||
204 | } | 205 | } | ||
205 | 206 | | |||
206 | Koko.NotificationManager { | 207 | Koko.NotificationManager { | ||
207 | id: notificationManager | 208 | id: notificationManager | ||
208 | } | 209 | } | ||
209 | 210 | | |||
211 | KQA.Clipboard { | ||||
212 | id: clipboard | ||||
213 | } | ||||
214 | | ||||
210 | } | 215 | } |