### Run placeholder-text example Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Run the placeholder-text example using uv with the dark stylesheet and PySide6 framework. ```bash uv run \ breezestylesheets-placeholder-text \ --stylesheet dark \ --qt-framework pyside6 ``` -------------------------------- ### Run whatsthis example Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Run the whatsthis example using uv with the dark stylesheet and PySide6 framework. ```bash uv run \ breezestylesheets-whatsthis \ --stylesheet dark \ --qt-framework pyside6 ``` -------------------------------- ### Run widgets example Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Run the widgets example using uv with the dark stylesheet and PySide6 framework. ```bash uv run \ breezestylesheets-widgets \ --stylesheet dark \ --qt-framework pyside6 ``` -------------------------------- ### Run URL example Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Run the URL example using uv with the dark stylesheet and PySide6 framework. ```bash uv run \ breezestylesheets-url \ --stylesheet dark \ --qt-framework pyside6 ``` -------------------------------- ### Run LCD example with breezestylesheets-lcd Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Command to run the LCD example with the dark stylesheet and PySide6 framework. Requires uv and the breezestylesheets package. ```bash uv run \ breezestylesheets-lcd \ --stylesheet dark \ --qt-framework pyside6 ``` -------------------------------- ### Run standalone icons example with uv Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Run the full standalone example using uv with the breezestylesheets-icons command, specifying the stylesheet and Qt framework. ```bash uv run \ breezestylesheets-icons \ --stylesheet dark \ --qt-framework pyside6 ``` -------------------------------- ### Run custom QDial example Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Command to run the custom QDial widget example with the dark stylesheet and PySide6 framework. ```bash uv run \ breezestylesheets-dial \ --stylesheet dark \ --qt-framework pyside6 ``` -------------------------------- ### Run branchless example with uv Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Run this bash command to launch a complete example of the branchless QTreeView widget. It uses the dark stylesheet and the pyside6 Qt framework. ```bash uv run \ breezestylesheets-branchless \ --stylesheet dark \ --qt-framework pyside6 ``` -------------------------------- ### Run Slider example with breezestylesheets-slider Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Command to run the Slider example with the dark stylesheet and PySide6 framework. Requires uv and the breezestylesheets package. ```bash uv run \ breezestylesheets-slider \ --stylesheet dark \ --qt-framework pyside6 ``` -------------------------------- ### Run Advanced Docking System example with uv Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Command to run the Advanced Docking System example using uv. Requires the 'advanced-docking-system' extension and either PySide6-QtAds (for PySide6) or PyQtAds (for PyQt5). PyQt6 and PySide2 are not supported. ```bash uv run \ --group ads breezestylesheets-ads \ --stylesheet dark \ --qt-framework pyside6 ``` -------------------------------- ### C++: Load Breeze stylesheet in application start point (CMake) Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/README.md Add this to your application's main function. It initializes the breeze resource (required for external build systems), reads the dark stylesheet from the resource, and applies it to the QApplication. ```cpp #include #include #include int main(int argc, char *argv[]) { QApplication app(argc, argv); // Need to initialize the resource, since we're using an external // build system and this isn't automatically handled by CMake. Q_INIT_RESOURCE(breeze); QFile file(":/dark/stylesheet.qss"); file.open(QFile::ReadOnly | QFile::Text); QTextStream stream(&file); app.setStyleSheet(stream.readAll()); // code goes here return app.exec(); } ``` -------------------------------- ### Install event filter for custom titlebar Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Initialize the application, load your stylesheet, and install an event filter for the window to track move, drag, and other events. ```python app = QtWidgets.QApplication.instance() app.installEventFilter(window) ``` -------------------------------- ### Load stylesheet in a PyQt5 application Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/README.md Example of importing the compiled resource and applying the stylesheet to a QApplication. Ensure the resource file is in the Python search path. ```python from PyQt5 import QtWidgets from PyQt5.QtCore import QFile, QTextStream # This must match the name of the file and be in the Python search path. # To modify the search path, add the directory containing the file to `sys.path`. import breeze_resources def main(): app = QtWidgets.QApplication(sys.argv) # set stylesheet file = QFile(":/dark/stylesheet.qss") file.open(QFile.ReadOnly | QFile.Text) stream = QTextStream(file) app.setStyleSheet(stream.readAll()) # code goes here app.exec_() ``` -------------------------------- ### Include breeze.cmake and link libraries Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Include the breeze.cmake module and link the breeze library to the executable. The example shows adding an executable named 'testing' and linking Qt Widgets and breeze. ```cmake include(${CMAKE_CURRENT_SOURCE_DIR}/breeze.cmake) set(SOURCE_FILES ...) add_executable(testing ${SOURCE_FILES}) target_link_libraries(executable PRIVATE Qt${QT_VERSION_MAJOR}::Widgets breeze) ``` -------------------------------- ### Custom Theme Configuration File Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/README.md A JSONC file defining color properties for various UI elements. Note that lines starting with // are treated as comments and removed during processing. ```jsonc // NOTE: This is a custom JSON file, where lines leading // with `//` are removed. No other comments are valid. { // Main foreground color. "foreground": "#eff0f1", // Lighter foreground color for selected items. "foreground:light": "#ffffff", // Main background color. "background": "#31363b", // Alternate background color for styles. "background:alternate": "#31363b", // Main color to highlight widgets, such as on hover events. "highlight": "#3daee9", // Color for selected widgets so hover events can change widget color. "highlight:dark": "#2a79a3", // Alternate highlight color for hovered widgets in QAbstractItemViews. "highlight:alternate": "#369cd1", // Main midtone color, such as for borders. "midtone": "#76797c", // Lighter color for midtones, such as for certain disabled widgets. "midtone:light": "#b0b0b0", // Darker midtone, such as for the background of QPushButton and QSlider. "midtone:dark": "#626568", // Lighter midtone for separator hover events. "midtone:hover": "#8a8d8f", // Color for checked widgets in QAbstractItemViews. "view:checked": "#334e5e", // Hover background color in QAbstractItemViews. // This should be fairly transparent. "view:hover": "rgba(61, 173, 232, 0.1)", // Background for a horizontal QToolBar. "toolbar:horizontal:background": "#31363b", // Background for a vertical QToolBar. "toolbar:vertical:background": "#31363b", // Background color for the corner widget in a QAbstractItemView. "view:corner": "#31363b", // Border color between items in a QHeaderView. "view:header:border": "#76797c", // Background color for a QHeaderView. "view:header": "#31363b", // Border color Between items in a QAbstractItemView. "view:border": "#31363b", // Background for QAbstractItemViews. "view:background": "#1d2023", // Background for widgets with text input. "text:background": "#1d2023", // Background for the currently selected tab. "tab:background:selected": "#31363b", // Background for non-selected tabs. "tab:background": "#2c3034", // Color for the branch/arrow icons in a QTreeView. "tree": "#afafaf", // Color for the chunk of a QProgressBar, the active groove // of a QSlider, and the border of a hovered QSlider handle. "slider:foreground": "#3daee9", // Background color for the handle of a QSlider. "slider:handle:background": "#1d2023", // Color for a disabled menubar/menu item. "menu:disabled": "#76797c", // Color for a checked/hovered QCheckBox or QRadioButton. "checkbox:light": "#58d3ff", // Color for a disabled or unchecked/unhovered QCheckBox or QRadioButton. "checkbox:disabled": "#c8c9ca", // Color for the handle of a scrollbar. Due to limitations of // Qt stylesheets, any handle of a scrollbar must be treated // like it's hovered. "scrollbar:hover": "#3daee9", // Background for a non-hovered scrollbar. "scrollbar:background": "#1d2023", // Background for a hovered scrollbar. "scrollbar:background:hover": "#76797c", // Default background for a QPushButton. "button:background": "#31363b", // Background for a pressed QPushButton. "button:background:pressed": "#454a4f", // Border for a non-hovered QPushButton. "button:border": "#76797c", // Background for a checked QPushButton. "button:checked": "#626568", // Background for a disabled QPushButton, or fallthrough // for disabled QWidgets. "button:disabled": "#454545", // Color of a dock/tab close icon when hovered. "close:hover": "#b37979", // Color of a dock/tab close icon when pressed. "close:pressed": "#b33e3e", // Default background color for QDockWidget and title. "dock:background": "#31363b", // Color for the float icon for QDockWidgets. "dock:float": "#a2a2a2", // Background color for the QMessageBox critical icon. "critical": "#80404a", // Background color for the QMessageBox information icon. "information": "#406880", // Background color for the QMessageBox question icon. "question": "#634d80", // Background color for the QMessageBox warning icon. "warning": "#99995C", // These are extension-specific // The background color for an Advanced Docking System Tab "ads-tab:focused": "rgba(61, 173, 232, 0.1)", "ads-border:focused": "rgba(61, 173, 232, 0.15)" } ``` -------------------------------- ### Override standard icons with custom QCommonStyle in PyQt6 Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/ISSUES.md Subclasses QCommonStyle to override standard icons (e.g., SP_CommandLink) and installs the style globally. The stylesheet must be set after installing the style. Uses the 'dark:' resource prefix for custom icons. ```python from PyQt6 import QtCore, QtGui, QtWidgets StandardPixmap = QtWidgets.QStyle.StandardPixmap OpenModeFlag = QtCore.QFile.OpenModeFlag # Create a map of registered icons, so we can efficiently query if we # should override the icon or use the pre-packaged standard icons. ICON_MAP = { ... StandardPixmap.SP_CommandLink: 'right_arrow.svg', ... } def stylesheet_icon(style, icon, option=None, widget=None): '''Get a standard icon for the stylesheet style''' # See if we've registered a custom icon in the stylesheet path = ICON_MAP.get(icon, None) if path is not None: resource = f'dark:{path}' if QtCore.QFile.exists(resource): return QtGui.QIcon(resource) # No custom icon: return the default for the style. return QtWidgets.QCommonStyle.standardIcon(style, icon, option, widget) class ApplicationStyle(QtWidgets.QCommonStyle): def __init__(self, style): super().__init__() # Store an instance for the default style, so we can query that. # Avoids an infinite, recursive loop. self.style = style def __getattribute__(self, item): ''' Override for standardIcon. Everything else should default to the system default. We cannot have `style_icon` be a member of `ApplicationStyle`, since this will cause an infinite recursive loop. ''' if item == 'standardIcon': return lambda *x: stylesheet_icon(self, *x) return getattr(self.style, item) def main(): app = QtWidgets.QApplication(sys.argv) # Install our custom style globally. QCommonStyle, unlike QProxyStyle, # actually works nicely with stylesheets. `Fusion` is available # on all platforms, but you can use any style you want. We # just need a created style, because `app.style()` will be # deleted by he garbage collector. style = QtWidgets.QStyleFactory.create('Fusion') app.setStyle(ApplicationStyle(style)) # Set our stylesheet. # NOTE: this must occur after setting the application style. file = QtCore.QFile('dark:stylesheet.qss') file.open(OpenModeFlag.ReadOnly | OpenModeFlag.Text) stream = QtCore.QTextStream(file) app.setStyleSheet(stream.readAll()) ... return app.exec() ``` -------------------------------- ### Force QToolButton menu indicator padding in C++ Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/ISSUES.md Example of creating a QToolButton with text and no menu drop-down by setting the 'hasMenu' property to false. ```cpp #include #include #include int main(int argc, char* argv[]) { QApplication app(argc, argv); ... // Get our window, central widget, layout, etc. auto *button = new QToolButton(widget); button->setText(QString("Button 1")); button->setProperty(QString("hasMenu"), false); ... // Add button to layout, show window, etc. return app.exec(); } ``` -------------------------------- ### Force QToolButton menu indicator padding in Python Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/ISSUES.md Example of creating a QToolButton with text and no menu drop-down by setting the 'hasMenu' property to False. ```python import sys from PyQt6 import QtGui, QtWidgets def main(): app = QtWidgets.QApplication(sys.argv) ... # Get our window, central widget, layout, etc. button = QtWidgets.QToolButton(widget) button.setText('Button 1') button.setProperty('hasMenu', False) ... # Add button to layout, show window, etc. return app.exec() ``` -------------------------------- ### Get window handle with winId() Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Retrieves the native window handle (HWND) from a Qt widget using winId(), required for DWM API calls. ```cpp auto window_handle = reinterpret_cast(window.winId()); ``` -------------------------------- ### Build stylesheet with extensions Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/breezestylesheets/template/README.md Run the configuration script to include the tooltips extension. ```bash python configure.py --extensions=tooltips ``` -------------------------------- ### Build all pre-packaged themes Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/README.md Run this script to build themes for PyQt5, PyQt6, PySide2, and PySide6. Generated themes are placed in the dist directory and compiled resources in the resources directory. ```bash # choose only the frameworks you want frameworks=("pyqt5" "pyqt6" "pyside2" "pyside6") for framework in "${frameworks[@]}"; do python configure.py \ --styles all \ --extensions all \ --qt-framework "${framework}" \ --resource breeze.qrc \ --compiled-resource "breeze_${framework}.py" done ``` -------------------------------- ### C++: Load BreezeDark stylesheet (QMake) Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/README.md Use this in your main function to load the BreezeDark stylesheet. It reads the stylesheet from the resource and applies it to the QApplication. ```cpp #include #include #include int main(int argc, char *argv[]) { QApplication app(argc, argv); // set stylesheet QFile file(":/dark/stylesheet.qss"); file.open(QFile::ReadOnly | QFile::Text); QTextStream stream(&file); app.setStyleSheet(stream.readAll()); // code goes here return app.exec(); } ``` -------------------------------- ### Configure BreezeStyleSheets with branchless extension Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Run this bash command to configure the build with the branchless extension. Choose the desired framework from pyqt5, pyqt6, pyside2, pyside6 by setting the 'framework' variable. The command compiles the resource file 'breeze.qrc' into a Python module named 'breeze_.py'. ```bash # choose the desired framework from pyqt5, pyqt6, pyside2, pyside6 framework=pyqt5 python configure.py \ --styles=all \ --extensions=all \ --qt-framework \ "${framework}" \ --resource breeze.qrc \ --compiled-resource \ "breeze_${framework}.py" ``` -------------------------------- ### QMake: Add qrc file to project Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/README.md Add this to your .pro file after copying the dist subdirectory into your project. It specifies the target, sources, and the breeze.qrc resource file. ```qmake TARGET = app SOURCES = main.cpp RESOURCES = breeze.qrc ``` -------------------------------- ### Build Stylesheets and Resources Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/README.md Command to generate the stylesheet, icons, and resource file using the configuration script. ```bash python configure.py --styles=dark,light, --resource custom.qrc ``` -------------------------------- ### Build stylesheet with custom-button extension Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/breezestylesheets/template/README.md Run the configuration script to include the custom-button extension. ```bash python configure.py --extensions=custom-button ``` -------------------------------- ### Create stylesheet.qss.in for tooltips Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/breezestylesheets/template/README.md Define custom QSS rules for QDockWidget buttons in the extension/tooltips directory. ```css QAbstractButton#qt_dockwidget_closebutton { qproperty-toolTip: "Close"; } QAbstractButton#qt_dockwidget_floatbutton { qproperty-toolTip: "Detach"; } ``` -------------------------------- ### Configure extensions with CLI Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/README.md Use the --extensions flag to include specific extensions like the Advanced Docking System, providing a resource file for the configuration. ```bash python configure.py --extensions=advanced-docking-system --resource custom.qrc ``` -------------------------------- ### Style factory and registration Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Creates a style factory, wraps a base Qt style (e.g., Windows or Fusion) with the custom style, and applies it to the application. The style name must be a valid Qt style. ```python # where the style name is a Qt style, like Windows or Fusion, style = QtWidgets.QStyleFactory.create("Windows") style = CustomStyle(style) app.setStyle(style) ``` -------------------------------- ### Run unit tests Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/README.md Commands to run the unit test suite for all widgets, a specific widget, or to view help options and available tests. ```bash $ cd example # Test all widgets $ uv run python test/ui.py --stylesheet $theme # Test only a single widget. $ uv run python test/ui.py --widget $widget --stylesheet $theme # Get the help options. $ uv run python test/ui.py --help usage: ui.py [-h] [--stylesheet STYLESHEET] [--style STYLE] [--font-size FONT_SIZE] [--font-family FONT_FAMILY] [--scale SCALE] [--qt-framework {pyqt5,pyqt6,pyside2,pyside6}] [--use-x11] [--widget WIDGET] [--width WIDTH] [--height HEIGHT] [--alignment ALIGNMENT] [--compress] [--print-tests] [--start START] Configurations for the Qt5 application. options: -h, --help show this help message and exit --stylesheet STYLESHEET stylesheet name (`dark`, `light`, `native`, ...) --style STYLE application style (`Fusion`, `Windows`, `native`, ...) --font-size FONT_SIZE font size for the application --font-family FONT_FAMILY the font family --scale SCALE scale factor for the UI --qt-framework {pyqt5,pyqt6,pyside2,pyside6} target framework to build for. Default = pyqt5. Note: building for PyQt6 requires PySide6-rcc to be installed. --use-x11 force the use of x11 on compatible systems. --widget WIDGET widget to test. can provide `all` to test all widgets --width WIDTH the window width --height HEIGHT the window height --alignment ALIGNMENT the layout alignment --compress add stretch on both sides --print-tests print all available tests (widget names). --start START test widget to start at. # Get a complete list of available tests. $ uv run python test/ui.py --print-tests aero_wizard all_focus_tree alpha_colordialog ... wizard yes_button ``` -------------------------------- ### Configure QDockWidget Tooltips Extension Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/breezestylesheets/template/README.md Command to enable the QDockWidget tooltips extension for float and close buttons. ```bash python configure.py --extensions=dock-tooltips ``` -------------------------------- ### Configure standard-icons extension Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/ISSUES.md Runs the configure script with the standard-icons extension to enable custom standard icons. This is the first step before overriding standard icons in a PyQt6 application. ```bash python configure.py --extensions=standard-icons ``` -------------------------------- ### CMake: breeze.cmake to fetch and compile BreezeStyleSheets Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/README.md Save this as breeze.cmake. It sets up Qt (Qt5 or Qt6), fetches the BreezeStyleSheets repository, compiles the stylesheets using Python, and creates a static library target named 'breeze'. Requires CMake 3.14+ and Python. The PREFER_PIE option enables position-independent code if supported. ```cmake # Setup Qt: this works with both Qt5 and Qt6 # NOTE: We use cached strings to specify the options for these. # This requires CMake 3.14+. set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) find_package( ${QT_VERSION} COMPONENTS Core Gui Widgets Svg REQUIRED) # ------------------- # Get Python to compile the stylesheets. # Fetch the repository, configure, compile the stylesheets. find_package(Python COMPONENTS Interpreter) include(FetchContent) set(FETCHCONTENT_QUIET OFF CACHE BOOL "Silence fetch content" FORCE) set(PREFER_PIE OFF CACHE BOOL "If to prefer position-independent code, if the compiler supports it.") set(BREEZE_EXTENSIONS all CACHE STRING "The extensions to include in our stylesheets.") set(BREEZE_STYLES all CACHE STRING "The styles to include in our stylesheets.") FetchContent_Declare( breeze_stylesheets GIT_REPOSITORY https://github.com/Alexhuszagh/BreezeStyleSheets.git GIT_TAG origin/main GIT_PROGRESS ON GIT_SHALLOW 1 USES_TERMINAL_DOWNLOAD TRUE) FetchContent_MakeAvailable(breeze_stylesheets) add_library(breeze STATIC "${breeze_stylesheets_SOURCE_DIR}/dist/styles/breeze.qrc") add_custom_target( run_python_breeze ALL COMMAND ${Python_EXECUTABLE} configure.py --extensions=${BREEZE_EXTENSIONS} --styles=${BREEZE_STYLES} --resource breeze.qrc WORKING_DIRECTORY ${breeze_stylesheets_SOURCE_DIR} BYPRODUCTS "${breeze_stylesheets_SOURCE_DIR}/dist/styles/breeze.qrc" COMMENT "Generating themes") add_dependencies(breeze run_python_breeze) # Prefer position independent code, if the compiler supports it. if(PREFER_PIE) include(CheckPIESupported) check_pie_supported(LANGUAGES CXX OUTPUT_VARIABLE pie-supported) if(CMAKE_C_LINK_PIE_SUPPORTED) set_property(TARGET breeze PROPERTY POSITION_INDEPENDENT_CODE ON) endif() endif() ``` -------------------------------- ### Override system icons with StandardIconStyle Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/README.md Create a style factory and register the style with your Qt style, such as Windows or Fusion. Requires configuring with the standard-icons extension. ```python # where the style name is a Qt style, like Windows or Fusion, style = QtWidgets.QStyleFactory.create("Windows") style = StandardIconStyle(style) app.setStyle(style) ``` -------------------------------- ### CMake: Integrate breeze.cmake in CMakeLists.txt Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/README.md Add this to your CMakeLists.txt after ensuring breeze.cmake is in the module search path. It sets the Qt version and options, includes breeze.cmake, and links the breeze library to your executable. ```cmake set(QT_VERSION Qt5 CACHE STRING "The Qt version framework to use (Qt5 or Qt6).") set(BREEZE_EXTENSIONS all CACHE STRING "The extensions to include in our stylesheets.") set(BREEZE_STYLES all CACHE STRING "The styles to include in our stylesheets.") include(breeze) add_executable(myapp WIN32 MACOSX_BUNDLE "main.cpp") target_link_libraries(myapp PRIVATE Qt${QT_VERSION_MAJOR}::Widgets breeze) ``` -------------------------------- ### CMakeLists.txt for BreezeStylesheets test executable Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/example/cpp/cmake/CMakeLists.txt Configures a Qt C++17 project, includes breeze.cmake, and links the test executable against Qt Widgets and breeze. The QT_VERSION cache variable selects Qt5 or Qt6. ```cmake cmake_minimum_required(VERSION 3.14) cmake_policy(SET CMP0128 NEW) cmake_policy(SET CMP0083 NEW) project(testing) set(CMAKE_CXX_STANDARD 17) set(QT_VERSION Qt5 CACHE STRING "The Qt version framework to use (Qt5 or Qt6).") include(${CMAKE_CURRENT_SOURCE_DIR}/breeze.cmake) set(SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/test_qt.cpp) add_executable(testing ${SOURCE_FILES}) target_link_libraries(testing PRIVATE Qt${QT_VERSION_MAJOR}::Widgets breeze) ``` -------------------------------- ### requirements.txt - uv export output Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/requirements.txt Autogenerated by uv with the command 'uv export --no-hashes --format requirements-txt'. Lists the project's direct and transitive dependencies with version pins and 'via' comments indicating the dependency graph. ```text # This file was autogenerated by uv via the following command: # uv export --no-hashes --format requirements-txt -e . annotated-types==0.7.0 # via pydantic pydantic==2.11.9 # via # breezestylesheets # pydantic-extra-types pydantic-core==2.33.2 # via pydantic pydantic-extra-types==2.10.5 # via breezestylesheets typing-extensions==4.15.0 # via # pydantic # pydantic-core # pydantic-extra-types # typing-inspection typing-inspection==0.4.1 # via pydantic ``` -------------------------------- ### Template Directory Structure Source: https://github.com/alexhuszagh/breezestylesheets/blob/main/breezestylesheets/template/README.md The required file structure for every template, including the stylesheet template, icon configuration, and SVG files. ```txt