Commit Graph

45 Commits (c29d290eb89baeafa34956e3a827aee43662c072)

Author SHA1 Message Date
Alex Huszagh c29d290eb8 Fix padding in QHeaderView sections.
Also patches the workaround for #31, by avoiding any hacks to get the desired behavior. Sets the `subcontrol-origin` to `margin` and `subcontrol-position` to `right`, and uses `::up-arrow` and `::down-arrow` subcontrols only when `showSortIndicator="true"`.

Closes #37.
2022-04-29 09:22:09 -05:00
Alex Huszagh 9ad5917cb5 Fix min-height in QToolButton affecting QFileDialog.
Removed the `min-height` styles from `QToolButton[autoRaise="false"]` and `QToolButton[autoRaise="false"]:checked, QToolButton[autoRaise="false"]:pressed` to fix the issues with the clear text icon in #28. This does not affect the UI anyway, so has no downsides.

Fixes #28.
2022-04-28 15:29:44 -05:00
Alex Huszagh 90f679d600 Fix arrow placement on QToolButton.
Fixes issues between the arrow placement in the `menu-arrow` and `menu-indicator` of a QToolButton, which was inconsistent between Qt5 and Qt6. Using `subcontrol-origin: content;` and then adjusting `padding-right: -1.11em;` fixes the issue.

Fixes #36.
2022-04-28 15:18:43 -05:00
Alex Huszagh 836febe922 Fix hover/pressed/checked events for auto-raised QToolButtons.
Fixes #34.
2022-04-28 13:51:05 -05:00
Alex Huszagh db1019ddd8 Bug fixes for QToolButton
Fixed styles for auto-raised QToolButtons. Also added fixes for standard icons in test suites, to ensure they work in Qt5 and Qt6. Added auto-raised icons to `example/widgets.py`.

Closes #22.
2022-04-28 10:56:39 -05:00
Alex Huszagh e54c825b90 Fix QHeaderView column margins with arrows.
Fixes #31. Sets `-5em` left and right margins as a hack to ensure that
the headers are properly spaced.
2022-04-27 18:18:58 -05:00
Alex Huszagh 102976f25f Fix bottom margin in QHeaderView rows with arrows.
Partially addresses #31. Only fixes the row header margins, and not the
margins for the QHeaderView columns.
2022-04-27 18:17:19 -05:00
Alex Huszagh ae5956fc0c Update build file locations.
- Move all built files to `dist/`.
- Update `configure.py` to allow building both QRC and PyQt6-based
resources.
- Update test suites and example widgets for new resource locations.
- Update README and install documentation for new resource locations.

Fixes #30.
2022-04-27 12:35:35 -05:00
Alex Huszagh 6efb52c129 Moved breeze.qrc to dist. 2021-07-21 11:27:13 -05:00
Alex Huszagh 8aff25b3a1 Added install directions for CMake.
- Moved generated directories to `dist/` for cleaner builds.
2021-07-21 11:21:14 -05:00
Alex Huszagh 2298fcd8bb Add full support for the Advanced Docking System
closes #20
2021-07-20 18:15:07 -05:00
Alex Huszagh 228009860b Added comprehensive support for the Advance Docking System. 2021-07-20 17:09:57 -05:00
Alex Huszagh 37e1e0c063 Added initial support for extensions and UI fixes.
- Renamed icons with `-` to `_`.
- Added initial support for the Advanced Docking System.
- Added extension for QDockWidget tooltips.
- Bug fixes for QTabWidget.
- Bug fixes for the separator in the QDockWidget.
2021-07-20 13:48:42 -05:00
Alex Huszagh 3bf2427ce2 Added support for PyQt6. 2021-07-18 10:11:09 -05:00
Alex Huszagh d620f2226b Bug fixes for #11 2021-07-17 00:09:44 -05:00
Alex Huszagh 735d6486ee Bug fix for #15. 2021-07-16 23:24:48 -05:00
Alex Huszagh 64b6e7ca51 Added gallery images for Windows. 2021-07-16 23:02:35 -05:00
Alex Huszagh a7f536fbe7 Initial commit for gallery screenshots. 2021-07-16 22:32:20 -05:00
Alex Huszagh ce29da0ba7 Added support for better dialog widgets, useful for custom themes. 2021-07-16 22:07:12 -05:00
Alex Huszagh 038a9d2a65 Updated tests, minor bug fixes, and merge lightv2 into light. 2021-07-16 17:03:26 -05:00
Alex Huszagh 4279cb7c52 Added documentation for designing custom themes. 2021-07-16 15:16:35 -05:00
Alex Huszagh 6b30b5d89c Major overhaul of the UI and themes.
- Fixed nearly every platform-specific bug on Linux.
- Added numerous more widgets to the example view.
- Fixed a the background colors for dark widgets.
- Made theming configurable via JSON files.
- Added sample, custom themes to the `configure` directory.
- Fixed QSlider handle being highlighted when not having focus.
- Fixed unwanted underlining in the tabs of QTabBar.
- Made the view have more depth with more complex color schemes.
- Fixed the background of the drop menu for QComboBox.
- Made the background darker if the QComboBox is editable.
- Improved border widths.
- Fixed the radio button size.
- Fixed SVG icons with opacity.
2021-07-16 14:30:46 -05:00
Alex Huszagh e4d4e54ef5 Moved everything to templates.
- Fixed bug with QTreeView with checkable items.
- Added JSON configurations for configurations.
- Added tests for QTreeView.
- Created a limited set of data.
2021-07-15 21:09:27 -05:00
Alex Huszagh 491e693237 Move to template-driven resource generation. 2021-07-15 20:28:48 -05:00
Alex Huszagh feb7dba526 Merged changes into dark.
- Updated the colors of size grips and move toolbars
- Added tests for toolbars with separators and multiple configurations.
- Fixed horizontal and vertical move and separator icons.
2021-07-15 18:27:07 -05:00
Alex Huszagh 2977d1a720 Bug fix for QComboBox on Windows.
- Added tests for editable QComboBoxes.
- Fixed outline bug in QComboBox.
2021-07-15 17:23:17 -05:00
Alex Huszagh aff2df1e75 Added support for more widgets.
- Added QCalendarWidget support (undocumented, and went from ugly to
nice).
- Added QSplashScreen support.
- Added tests for more widgets.
2021-07-15 16:44:59 -05:00
Alex Huszagh 1073a3d580 Bug fixes for QTreeView on Windows. 2021-07-15 15:43:27 -05:00
Alex Huszagh e95c63fe58 Fixed alignment with QToolBox text. 2021-07-15 15:37:55 -05:00
Alex Huszagh faeb40cf7c Bug fixes for various UI elements.
- Added tests for tooltips and sortable tables.
- Fixed pixelated radio icons.
- Fixed arrow placement in QTableView for sorting.
- Fixed text placement in QGroupBoxes.
2021-07-15 15:23:08 -05:00
Alex Huszagh 49e1bce0ad Various UI fixes.
- Fixed QGroupBox alignment with other center-aligned widgets.
- Fixed icon indicators in QToolButton.
- Fixed selection issue causing text and icons to shift in QToolButton.
- Fixed QToolButton's menu indicator shifting when pressed.
- Improved indicator look of tabs.
- Improved the borders and highlighting of tabs.
2021-07-15 12:05:29 -05:00
Alex Huszagh cd1b6fee41 Updates for themeing
- Better support for outlines in QFrames without redundancy.
- Better testing support.
- More transparent backgrounds for hover events on QtAbstractItemViews.
- Thinner borders, for a better UI experience.

QFrames only highlight an outline when a QAbstractScrollArea isn't a
child on hover events, so it avoids highlighting an area when a child UI
that will have a similar input focus is there.
2021-07-15 08:17:38 -05:00
Alex Huszagh c7a1058e7d Minor bug fixes for UI. 2021-07-15 00:10:14 -05:00
Alex Huszagh ec9102c609 Rename single to test. 2021-07-14 22:31:03 -05:00
Alex Huszagh eb75c6fcda Enhancements for QSlider to scale for all resolutions. 2021-07-14 22:28:16 -05:00
Alex Huszagh b3bd326d48 Minor bug fixes for branch more. 2021-07-14 20:44:45 -05:00
Alex Huszagh d438fbf1ee Initial bug fixes for QTreeView on Windows. 2021-07-14 20:22:33 -05:00
Alex Huszagh aed64fb59f Numerous enhancements to widget styles. 2021-07-14 16:57:20 -05:00
Alex Huszagh 3b4575efd4 Updated the dock widget icons. 2021-07-14 02:44:50 -05:00
Alex Huszagh e4fdb9fac9 Updates styles, better configuration. 2021-07-14 01:14:04 -05:00
Alex Huszagh 55c738813e Initial versions for better scaling stylesheets. 2021-07-13 22:46:41 -05:00
Alex Huszagh ed4d3b1f69 Initial dark style attempt for Windows. 2021-07-13 13:30:57 -05:00
Alex Huszagh 72c6c48796 Updated Breeze stylesheets to look better with tree-views. 2018-12-19 17:55:21 -06:00
Johan Egneblad 0506fd0876
Fix branch indicators in QTreeView/QTreeWidget 2018-12-03 14:04:04 +01:00
Jérémy Verda 0d2b1bb49a
Rename breeze_resouces.py to breeze_resources.py 2018-10-04 16:07:00 +02:00