5yutan5 / PyQtDarkTheme

A flat dark theme for PySide and PyQt.
https://pyqtdarktheme.readthedocs.io
MIT License
545 stars 84 forks source link

Change popup style to rounded style #215

Closed 5yutan5 closed 1 year ago

5yutan5 commented 1 year ago

Previously, if we set radius value to popup(QMenu and QComboBox popup), style was broken on Qt6. But currently, rounded popup has supported from latest Qt6.4.1. So change popup style from sharp style to rounded style when corner_shape is rounded.

codecov[bot] commented 1 year ago

Codecov Report

Merging #215 (de154eb) into main (576bb29) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #215   +/-   ##
=======================================
  Coverage   98.39%   98.39%           
=======================================
  Files          39       39           
  Lines        1432     1432           
=======================================
  Hits         1409     1409           
  Misses         23       23           
Impacted Files Coverage Δ
qdarktheme/_resources/_template_stylesheet.py 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more