-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#24: override elements set for maximized windows
- Loading branch information
Showing
6 changed files
with
165 additions
and
98 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
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2024 Anton Kharuzhy <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-3.0-or-later | ||
*/ | ||
import QtQuick | ||
import QtQuick.Controls | ||
import org.kde.kirigami as Kirigami | ||
|
||
ComboBox { | ||
textRole: "name" | ||
valueRole: "value" | ||
displayText: currentText ? i18n(currentText) : "" | ||
|
||
model: ListModel { | ||
ListElement { | ||
name: "Add element..." | ||
} | ||
|
||
ListElement { | ||
name: "Window close button" | ||
value: "windowCloseButton" | ||
} | ||
|
||
ListElement { | ||
name: "Window minimize button" | ||
value: "windowMinimizeButton" | ||
} | ||
|
||
ListElement { | ||
name: "Window maximize button" | ||
value: "windowMaximizeButton" | ||
} | ||
|
||
ListElement { | ||
name: "Keep window above button" | ||
value: "windowKeepAboveButton" | ||
} | ||
|
||
ListElement { | ||
name: "Keep window below button" | ||
value: "windowKeepBelowButton" | ||
} | ||
|
||
ListElement { | ||
name: "Shade window button" | ||
value: "windowShadeButton" | ||
} | ||
|
||
ListElement { | ||
name: "Window title" | ||
value: "windowTitle" | ||
} | ||
|
||
ListElement { | ||
name: "Window Icon" | ||
value: "windowIcon" | ||
} | ||
|
||
ListElement { | ||
name: "Spacer" | ||
value: "spacer" | ||
} | ||
} | ||
} |
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
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