Skip to content
Snippets Groups Projects

Add groupbox borders, reorder Base stylesheet (#810)

Merged Mikhail Svechnikov requested to merge m.i810a into main
All threads resolved!
  1. According to https://doc.qt.io/qt-6/stylesheet-reference.html, paintEvent(QPaintEvent *) function should be implemented for custom class derived from QWidget

image

For this I added QssWidget class which is now base for CollapsibleGroupBox and StaticGroupBox. Now stylesheets for these classes work as expected.

  1. Some QGroupBox used in GUI are replaced with StaticGroupBox.

  2. CollapsibleGroupBox and StaticGroupBox got borders.

  3. To ease the navigation and understanding of Base.stylesheet, I grouped settings by widget type.

Resolves #810 (closed)

Merge request reports

Pipeline #120172 passed

Pipeline passed for ed581141 on m.i810a

Approved by

Merged by Mikhail SvechnikovMikhail Svechnikov 1 year ago (Nov 17, 2023 10:44am UTC)

Merge details

Pipeline #120177 passed

Pipeline passed for 088f008a on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading