-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
192 additions
and
340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# SPDX-FileCopyrightText: 2024 Christian Tallner <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# Created by https://www.toptal.com/developers/gitignore/api/cmake,clion | ||
# Edit at https://www.toptal.com/developers/gitignore?templates=cmake,clion | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# SPDX-FileCopyrightText: 2024 Christian Tallner <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
cmake_minimum_required(VERSION 3.16 FATAL_ERROR) | ||
project(org.chrtall.kppleMenu) | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
#!/bin/bash | ||
# SPDX-FileCopyrightText: 2024 Christian Tallner <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
kpackagetool5 -t "Plasma/Applet" -i package/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2024 Christian Tallner <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
*/ | ||
SPDX-FileCopyrightText: 2013 Aurélien Gâteau <[email protected]> | ||
SPDX-FileCopyrightText: 2013-2015 Eike Hein <[email protected]> | ||
SPDX-FileCopyrightText: 2017 Ivan Cukic <[email protected]> | ||
SPDX-FileCopyrightText: 2022 ivan tkachenko <[email protected]> | ||
SPDX-License-Identifier: GPL-2.0-or-later | ||
Begin: code from plasma-desktop/applets/kickoff/contents/ui/code/tool.js | ||
*/ | ||
|
||
const defaultIconName = "start-here-kde-symbolic"; | ||
|
||
function iconOrDefault(formFactor, preferredIconName) { | ||
// Vertical panels must have an icon, at least a default one. | ||
return (formFactor === PlasmaCore.Types.Vertical && preferredIconName === "") | ||
? defaultIconName : preferredIconName; | ||
} | ||
/* | ||
* End: code from plasma-desktop/applets/kickoff/contents/ui/code/tool.js | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* SPDX-FileCopyrightText: 2024 Christian Tallner <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
*/ | ||
*/ | ||
|
||
import QtQuick | ||
import QtQuick.Layouts | ||
|
@@ -37,7 +37,15 @@ KCM.SimpleKCM { | |
|
||
|
||
Kirigami.FormLayout { | ||
|
||
/* | ||
* Begin: code from plasma-desktop/applets/kickoff/contents/ui/ConfigGeneral.qml | ||
* SPDX-FileCopyrightText: 2013 David Edmundson <[email protected]> | ||
* SPDX-FileCopyrightText: 2021 Mikel Johnson <[email protected]> | ||
* SPDX-FileCopyrightText: 2022 Nate Graham <[email protected]> | ||
* SPDX-FileCopyrightText: 2022 ivan tkachenko <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
*/ | ||
QQC2.Button { | ||
id: iconButton | ||
|
||
|
@@ -57,7 +65,7 @@ KCM.SimpleKCM { | |
|
||
KIconThemes.IconDialog { | ||
id: iconDialog | ||
onIconNameChanged: { | ||
onIconNameChanged: (iconName) => { | ||
root.cfg_icon = iconName || Tools.defaultIconName; | ||
} | ||
} | ||
|
@@ -106,14 +114,9 @@ KCM.SimpleKCM { | |
} | ||
} | ||
} | ||
|
||
// Text { | ||
// text: i18n("Adapt the links with your own command lines") | ||
// } | ||
// Text { | ||
// color: "red" | ||
// text: i18n("( Warning : This is the expert mode, do not change anything if the application is working properly. )") | ||
// } | ||
/* | ||
End: code from plasma-desktop/applets/kickoff/contents/ui/ConfigGeneral.qml | ||
*/ | ||
|
||
QQC2.CheckBox { | ||
id: showAdvancedMode | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
|
||
#!/bin/sh | ||
# SPDX-FileCopyrightText: 2020 Kpple <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# Version: 5 | ||
|
||
# This script will convert the *.po files to *.mo files, rebuilding the package/contents/locale folder. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
|
||
#!/bin/sh | ||
# SPDX-FileCopyrightText: 2020 Kpple <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# Version: 15 | ||
|
||
# https://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
#!/bin/bash | ||
# SPDX-FileCopyrightText: 2024 Christian Tallner <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
kpackagetool5 -t "Plasma/Applet" -r package/ | ||
kpackagetool5 -t "Plasma/Applet" -i package/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
#!/bin/bash | ||
# SPDX-FileCopyrightText: 2024 Christian Tallner <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
QT_LOGGING_RULES="qml.debug=true" plasmoidviewer -s 800x800 -f horizontal -x 2200 -y 200 -a package/ |