GXDE's Qt Quick UI plugin & component library.
Explore the docs »
View CI Status
·
Report Bug
·
Request Feature
GXTK 7 is GXDE-OS's QtQuick UI library & style plugin that mimics Deepin's DTK2Widget library. It aims to bring the apperance of DTK2Widget back to the modern Qt6 Quick applications without need of DTK2Widget-Qt6 (I also made that library but I really want to retire that) library.
Currently, GXTK7 is still in early development stage.
- Qt6 Core
- Qt6 Gui
- Qt6 Qml
- Qt6 Quick
- Qt6 QuickControls2
You need a C++ compiler supporting C++17 and the Qt6 development packages installed on your system.
- Qt6 (Core, Gui, Qml, Quick, QuickControls2)
- CMake 3.20 or higher
First, create a build directory and build the project:
$ mkdir build
$ cd build
$ cmake ..
$ makeThen, you may run the example:
./examples/gallery/gxde_galleryInstall the build dependencies, then build the binary package from the source root:
$ sudo apt build-dep .
$ dpkg-buildpackage -us -uc -bThis produces qml6-module-qtquick-controls-gxde, which installs the QtQuick.Controls.Gxde module into the system Qt QML directory.
Build and install the package from the arch directory of the checkout:
$ cd arch
$ makepkg -siSelect the style by its full module name, either in C++:
QQuickStyle::setStyle("QtQuick.Controls.Gxde");or through the environment:
$ QT_QUICK_CONTROLS_STYLE=QtQuick.Controls.Gxde ./your_appThe GxdeTheme singleton (import QtQuick.Controls.Gxde) switches between the light and dark schemes through its isDark property.
By default it follows the system preference (the XDG desktop portal's color-scheme, or Qt's QStyleHints::colorScheme() without a portal). Setting isDark by hand stops that; set followSystem to true to follow the system again.
For more, please refer to the widget gallery example and the documentation.
-
To provide basic QtQuick style.
-
GXAboutDialog -
GXAbstractDialog -
GXAnchorsBase -
GXEnhancedWidget -
GXAnchors -
GXApplication -
GXApplicationHelper -
GXApplicationSettings -
GXArrowButton -
GXArrowLineExpand -
GXPlatformWindowHandle -
GXArrowRectangle -
GXBackgroundGroup -
GXBaseButton -
GXBoxWidget -
GXBaseExpand -
GXBaseLine -
GXBlurEffectWidget -
GXBlurSurface -
GXTitlebar -
GXBorderlessWidget -
GXBorderlessWindow -
GXHBoxWidget -
GXVBoxWidget -
GXIconButton -
GXButtonList -
GXCardWidget -
GXCheckBox -
GXCircleProgress -
GXClipEffectWidget -
GXCommandLinkButton -
GXCrumbTextFormat -
GXCrumbEdit -
GXDialog -
GXDocumentTabBar -
GXExpandGroup -
GXFileChooserEdit -
GXFileDialog -
GXTypographyLabel -
GXFloatingMessage -
GXFloatingWidget -
GXFlowLayout -
GXForeignWindow -
GXFrame -
GXHorizontalLine -
GXVerticalLine -
GXGraphicsClipEffect -
GXGraphicsGlowEffect -
GXGuiApplicationHelper -
GXHeaderLine -
GXHoverButton -
GXIconTextButton -
GXImageButton -
GXInputDialog -
GXIpv4LineEdit -
GXLabel -
GXStyleOptionLineEdit -
GXLineEdit -
GXLinkButton -
GXVariantListModel -
GXListView -
GXListWidget -
GXLoadingIndicator -
GXMainWindow -
GXMainWindowBackground -
GXMPRISControl -
GXOption -
GXOptionList -
GXPageIndicator -
GXPalette -
GXPasswdEditAnimated -
GXPasswordEdit -
GXPictureSequenceView -
GXPlatformTheme -
GXScrollBar -
GXScrollArea -
GXSearchEdit -
GXSegmentedHighlight -
GXSegmentedControl -
GXSeparatorHorizontal -
GXSeparatorVertical -
GXSettingsWidgetFactory -
GXSettingsDialog -
GXSettingsOption -
GXShortcutEditLabel -
GXShortcutEdit -
GXSimpleListItem -
GXSimpleListView -
GXSlider -
GXSpinBox -
GXDoubleSpinBox -
GXSpinner -
GXStackWidget -
GXAbstractStackWidgetTransition -
GXSlideStackWidgetTransition -
GXStyleOption -
GXStyleOptionSuggestButton -
GXSuggestButton -
GXSwitchButton -
GXSwitchHeaderLine -
GXSwitchLineExpand -
GXTabBar -
GXTabbedStackWidget -
GXTextButton -
GXTextEdit -
GXThemeManager -
GXTickEffect -
GXToast -
GXSectionTitle -
GXVideoWidget -
GXWaterProgress -
GXWindowCloseButton -
GXWindowGroupLeader -
GXWindowMaxButton -
GXWindowMinButton -
GXWindowOptionButton
From the file manager (gxde-file-manager):
-
GXSideBar, its left side bar -
GXFileView, its file list with the icon, list and extend modes -
GXFileSystemModel, the folder listing behindGXFileView -
GXFileToolBar, its tool bar. -
GXCrumbBar, its crumb bar.
GXTK7 is distributed under GNU GENERAL PUBLIC LICENSE Version 3. You may find a copy of the license here.
- DTK2Widget-Qt6: https://github.com/GXDE-OS/dtk2widget-qt6
- BEST-README-Template: https://github.com/othneildrew/Best-README-Template
