Skip to content
GXDE-OSPublic

About

GXDE's Qt Quick UI plugin & component library.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Contributors Forks Stargazers Issues project_license


GXTK 7

GXDE's Qt Quick UI plugin & component library.
Explore the docs »

View CI Status · Report Bug · Request Feature

About The Project

Screenshot

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.

Built With

  • Qt6 Core
  • Qt6 Gui
  • Qt6 Qml
  • Qt6 Quick
  • Qt6 QuickControls2

Getting Started

Prerequisites

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

Installation

Build Manually

First, create a build directory and build the project:

$ mkdir build
$ cd build
$ cmake ..
$ make

Then, you may run the example:

./examples/gallery/gxde_gallery

Build a Debian Package

Install the build dependencies, then build the binary package from the source root:

$ sudo apt build-dep .
$ dpkg-buildpackage -us -uc -b

This produces qml6-module-qtquick-controls-gxde, which installs the QtQuick.Controls.Gxde module into the system Qt QML directory.

Build an Arch Linux Package

Build and install the package from the arch directory of the checkout:

$ cd arch
$ makepkg -si

Usage

Select 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_app

The 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.

Roadmap

  • 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 behind GXFileView
  • GXFileToolBar, its tool bar.
  • GXCrumbBar, its crumb bar.

Contributing

Top contributors:

contrib.rocks image

License

GXTK7 is distributed under GNU GENERAL PUBLIC LICENSE Version 3. You may find a copy of the license here.

Acknowledgments

About

GXDE's Qt Quick UI plugin & component library.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages