File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ set (PROJECT glacier-filemuncher)
2+
13set (SRC main.cpp
24 filetools.cpp
35 txtfilereader.cpp)
46
57set (HEADERS filetools.h
68 txtfilereader.h)
79
8- add_executable (glacier-filemuncher ${SRC} ${HEADERS} )
10+ qt_add_resources (RESOURCES qml/${PROJECT}.qrc )
11+
12+ add_executable (${PROJECT} ${SRC} ${HEADERS} ${RESOURCES}
13+ qml/glacier-filemuncher.qrc )
914
10- target_link_libraries (glacier-filemuncher
15+ target_link_libraries (${PROJECT}
1116 Qt6::Gui
1217 Qt6::Qml
1318 Qt6::Quick
1419 Glacier::App )
1520
16- install (TARGETS glacier-filemuncher RUNTIME
21+ install (TARGETS ${PROJECT} RUNTIME
1722 DESTINATION ${CMAKE_INSTALL_BINDIR} )
18- install (DIRECTORY qml
19- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR} /glacier-filemuncher
20- PATTERN "api" EXCLUDE)
2123install (DIRECTORY qml/api/
22- DESTINATION ${QT_INSTALL_QML} /org/nemomobile/filemuncher/
23- )
24+ DESTINATION ${QT_INSTALL_QML} /org/nemomobile/filemuncher/)
Original file line number Diff line number Diff line change 11/*
22 * Copyright (C) 2012 Robin Burchell <robin+nemo@viroteck.net>
3- * Copyright (C) 2017 Chupligin Sergey <neochapay@gmail.com>
3+ * Copyright (C) 2017-2025 Chupligin Sergey <neochapay@gmail.com>
44 *
55 * You may use this file under the terms of the BSD license as follows:
66 *
3131 */
3232
3333import QtQuick
34+ import Nemo
3435import Nemo.Controls
3536
3637Page {
Original file line number Diff line number Diff line change 11/*
22 * Copyright (C) 2012 Robin Burchell <robin+nemo@viroteck.net>
3- * Copyright (C) 2017-2020 Chupligin Sergey <neochapay@gmail.com>
3+ * Copyright (C) 2017-2025 Chupligin Sergey <neochapay@gmail.com>
44 *
55 * You may use this file under the terms of the BSD license as follows:
66 *
3232
3333import QtQuick
3434
35+ import Nemo
3536import Nemo.Controls
3637import Nemo.Dialogs
3738
@@ -55,11 +56,7 @@ Page {
5556 ToolButton {
5657 iconSource: " image://theme/refresh"
5758 onClicked: dirModel .refresh ()
58- }/* ,
59- ToolButton {
60- iconSource: "image://theme/bars"
61- onClicked: (pageMenu.status == DialogStatus.Closed) ? pageMenu.open() : pageMenu.close()
62- }*/
59+ }
6360 ]
6461 drawerLevels: [
6562 Button {
@@ -167,7 +164,9 @@ Page {
167164 if (component .status == Component .Ready ) {
168165 // TODO: error handling
169166 var detailsSheet = component .createObject (page, {" model" : model});
170- pageStack .push (detailsSheet)
167+ if (detailsSheet != null ) {
168+ pageStack .push (detailsSheet)
169+ }
171170 }
172171
173172 console .log (component .errorString ())
Original file line number Diff line number Diff line change 11/*
22 * Copyright (C) 2012 Robin Burchell <robin+nemo@viroteck.net>
3- * Copyright (C) 2017 Chupligin Sergey <neochapay@gmail.com>
3+ * Copyright (C) 2017-2025 Chupligin Sergey <neochapay@gmail.com>
44 *
55 * You may use this file under the terms of the BSD license as follows:
66 *
3131 */
3232
3333import QtQuick
34+ import Nemo
3435import Nemo.Controls
3536
3637Sheet {
Original file line number Diff line number Diff line change 11/*
22 * Copyright (C) 2012 Arto Jalkanen <ajalkane@gmail.com>
3- * Copyright (C) 2017 Chupligin Sergey <neochapay@gmail.com>
3+ * Copyright (C) 2017-2025 Chupligin Sergey <neochapay@gmail.com>
44 *
55 * You may use this file under the terms of the BSD license as follows:
66 *
3131 */
3232
3333import QtQuick
34+ import Nemo
3435import Nemo.Controls
3536
3637Page {
Original file line number Diff line number Diff line change 11/*
2- * Copyright (C) 2020 Chupligin Sergey <neochapay@gmail.com>
2+ * Copyright (C) 2020-2025 Chupligin Sergey <neochapay@gmail.com>
33 *
44 * You may use this file under the terms of the BSD license as follows:
55 *
3030 */
3131
3232import QtQuick
33+ import Nemo
3334import Nemo.Controls
3435import org.nemomobile.glacier.filemuncher
3536
Original file line number Diff line number Diff line change 11/*
22 * Copyright (C) 2012 Robin Burchell <robin+nemo@viroteck.net>
3- * Copyright (C) 2017 Chupligin Sergey <neochapay@gmail.com>
3+ * Copyright (C) 2017-2025 Chupligin Sergey <neochapay@gmail.com>
44 *
55 * You may use this file under the terms of the BSD license as follows:
66 *
3131 */
3232
3333import QtQuick
34+ import Nemo
3435import Nemo.Controls
3536
3637ListViewItemWithActions {
@@ -59,11 +60,10 @@ ListViewItemWithActions {
5960 }
6061 ]
6162
62- Text {
63+ Label {
6364 id: fileSize
6465 color: Theme .textColor
6566 visible: model .isFile
66- font: Theme .fontFamily
6767 text: model .fileSize
6868 anchors{
6969 right: parent .right
Original file line number Diff line number Diff line change 11/*
22 * Copyright (C) 2012 Petri M. Gerdt <petri.gerdt@gmail.com>
3- * Copyright (C) 2017 Chupligin Sergey <neochapay@gmail.com>
3+ * Copyright (C) 2017-2025 Chupligin Sergey <neochapay@gmail.com>
44 *
55 * You may use this file under the terms of the BSD license as follows:
66 *
3131 */
3232
3333import QtQuick
34+ import Nemo
3435import Nemo.Controls
3536
3637Rectangle {
Original file line number Diff line number Diff line change 11/*
22 * Copyright (C) 2012 Robin Burchell <robin+nemo@viroteck.net>
3- * Copyright (C) 2018 Chupligin Sergey <neochapay@gmail.com>
3+ * Copyright (C) 2018-2025 Chupligin Sergey <neochapay@gmail.com>
44 *
55 * You may use this file under the terms of the BSD license as follows:
66 *
3131 */
3232
3333import QtQuick
34+ import Nemo
3435import Nemo.Controls
3536//import Nemo.Thumbnailer
3637
Original file line number Diff line number Diff line change 1+ <RCC>
2+ <qresource prefix="/">
3+ <file>DetailViewSheet.qml</file>
4+ <file>DirectoryPage.qml</file>
5+ <file>FilePickerSheet.qml</file>
6+ <file>glacier-filemuncher.qml</file>
7+ <file>InputSheet.qml</file>
8+ <file>TextViewPage.qml</file>
9+ </qresource>
10+ </RCC>
You can’t perform that action at this time.
0 commit comments