Files
mxandClaude Opus 5.5 99e64a7713 Add glassMxrph shell sources
Initial commit of the Quickshell desktop suite: bar, dock, launcher,
settings, Control Center, dashboard, OSD, lock screen, desktop widgets,
plugin host with the vendored Noctalia/Omarchy compatibility layer,
helpers, packaging, tests and phase documentation.

Includes the optimization work so far: usage widgets and dashboard
gauges no longer animate continuously, desktop widgets pause while
covered, system controls stop flickering on background polls, dock app
matching uses an indexed catalog, and workspace ghosts are created only
for occupied slots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 22:36:17 +02:00

58 lines
1.3 KiB
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import qs.compat.noctalia.Commons
import qs.compat.noctalia.Widgets
ColumnLayout {
id: root
Layout.fillWidth: true
property alias text: input.text
property alias placeholderText: input.placeholderText
property string label: ""
property string description: ""
property string inputIconName: ""
property alias buttonIcon: button.icon
property alias buttonTooltip: button.tooltipText
property alias buttonEnabled: button.enabled
property real maximumWidth: 0
signal buttonClicked
signal inputTextChanged(string text)
signal inputEditingFinished
spacing: Style.marginS
// Label and description
NLabel {
label: root.label
description: root.description
visible: root.label !== "" || root.description !== ""
Layout.fillWidth: true
}
// Input field with button
RowLayout {
Layout.fillWidth: true
spacing: Style.marginM
NTextInput {
id: input
inputIconName: root.inputIconName
Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter
enabled: root.enabled
onTextChanged: root.inputTextChanged(text)
onEditingFinished: root.inputEditingFinished()
}
// Button
NIconButton {
id: button
baseSize: Style.baseWidgetSize
onClicked: root.buttonClicked()
}
}
}