General update

This commit is contained in:
Digital Artifex
2026-06-22 01:59:33 -04:00
parent 7854a3f440
commit 5a150c29f9
44 changed files with 2397 additions and 835 deletions
@@ -0,0 +1,55 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import KomplexHub
Item
{
id: itemRoot
property int page: 0
property int totalPages: 0
property bool enablePrevious: false
property bool enableNext: false
signal next
signal previous
RowLayout
{
id: buttonBoxLayout
anchors.fill: parent
SquareButton
{
Layout.fillHeight: true
Layout.preferredWidth: 128
icon.source: "qrc:/images/icons/icons8-back.svg"
icon.height: 16
icon.width: 16
text: qsTr("Previous")
enabled: itemRoot.enablePrevious
onTriggered: () => itemRoot.previous()
}
Item { Layout.fillWidth: true }
SquareButton
{
Layout.fillHeight: true
Layout.preferredWidth: 128
icon.source: "qrc:/images/icons/icons8-next.svg"
icon.height: 16
icon.width: 16
text: qsTr("Next")
enabled: itemRoot.enableNext
onTriggered: () => itemRoot.next()
}
}
}