MauiKit Controls
TextFieldPopup.qml
34 * This control groups a text field box and a popup page together - the popup surface can be used to display any data content that might be related to the text field input.
36 * The text field control is handled by a QQC2 TextField control, which is exposed as `textField`, and the popup surface is hanlded by a QQC2 Popup control, also exposed as an alias `popup`. With those alias you can fine tune the properties of said controls.
70 * <a href="https://invent.kde.org/maui/mauikit/-/blob/qt6-2/examples/TextFieldPopup.qml">You can find a more complete example at this link.</a>
88 * @brief The children elements are placed inside the popup surface. The elements have to be positioned manually.
122 * @brief The position of the control. This will make the popup go in either of the picked position: top or bottom.
170 onClicked:
178 Keys.onEscapePressed: control.close()
181 * @brief Emitted when the text entered has been accepted, either by pressing Enter, or manually accepted.
186 * @brief Emitted when the text in the text field box has been cleared using the clear button or clear action.
307 width: Math.min(Math.max(control.minimumWidth, parent.width), control.Window.window.width - Maui.Style.defaultPadding*2)
308 height: Math.min(control.Window.window.height- Maui.Style.defaultPadding*2, control.minimumHeight)
430 color: control.enabled ? (control.hovered ? Maui.Theme.hoverColor : Maui.Theme.backgroundColor) : "transparent"
Popup A global sidebar for the application window that can be collapsed.
Definition Popup.qml:33
An alternative to QQC2 ToolBar, with a custom horizontal layout - divided into three main sections - ...
Definition ToolBar.qml:115
KIOWIDGETS_EXPORT DropJob * drop(const QDropEvent *dropEvent, const QUrl &destUrl, DropJobFlags dropjobFlags, JobFlags flags=DefaultFlags)
KGUIADDONS_EXPORT QWindow * window(QObject *job)
QAction * clear(const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 12:00:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 12:00:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.