Commit Graph

120 Commits

Author SHA1 Message Date
Daniel Cosmo Pizetta bce87bf816 Add ruff config 2023-10-25 16:02:20 -03:00
Daniel Cosmo Pizetta f8aca53f9f ENH: entries and docs including Qt6 2023-10-25 15:51:29 -03:00
Daniel Cosmo Pizetta 886094bea8 FIX: warnings functional call, fixes #325 2023-10-25 15:50:41 -03:00
Carlos Cordoba 8d89a4ac90 Merge pull request #333 from musicinmybrain/shebang-cleanup
Shebang cleanup
2023-10-11 18:34:37 -04:00
Benjamin A. Beasley a9d9c6f0af Remove shebangs and execute permission from non-script executables
These files’ filesystem permissions included the executable bit and they
had shebang lines, but they have no “main routines” or interesting side
effects.
2023-09-17 08:47:19 -04:00
Daniel C. Pizetta 43955dbe9f Add Qt6 support 2022-08-18 21:40:22 -03:00
Daniel C. Pizetta 5162909e03 Linting and doc fixes 2022-06-15 09:06:08 -03:00
Daniel C. Pizetta fb67d3cb19 Improve readability with f-strings 2022-06-14 18:02:33 -03:00
Daniel C. Pizetta 10f58d4e48 Change global variable names to better fit content 2022-06-13 14:15:45 -03:00
Daniel C. Pizetta 20b74a36c0 Fix minor spell errors 2022-06-13 14:12:57 -03:00
Daniel C. Pizetta 6ff5fdfd7b Update version and changes 2022-05-30 12:47:49 -03:00
Daniel C. Pizetta 67c78db7f1 Name qrc and qss files with prefix of palette ID to keep them working on C++ 2022-05-30 12:22:55 -03:00
Daniel C. Pizetta 0a97b4c546 Fix identation after removing function 2022-05-30 12:07:03 -03:00
Daniel C. Pizetta 5569d6c919 Remove the need of changing global vars, causing errors when generating resources 2022-05-30 12:02:16 -03:00
Daniel C. Pizetta d15df6ac4f Fix path separator using join() 2022-05-30 12:00:48 -03:00
Daniel C. Pizetta 73531859fe Fix deprecated method warn(), fixes #309 2022-05-29 18:45:51 -03:00
Edward Betts 870850d050 Correct spelling mistakes 2022-05-29 18:28:33 -03:00
Jihadist 489a03c2b3 Fix C++ interchange of dark/light themes
Look at https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/273
2022-05-29 18:23:56 -03:00
Julian Gilbey a017e667b0 Fix logging module DeprecationWarning 2021-12-21 14:19:41 +00:00
Julian Gilbey 46b6f73da0 Ensure global paths are always set to valid values 2021-12-04 19:38:58 +00:00
Daniel Pizetta cbc93c0552 Update version and CHANGES 2021-11-29 10:58:23 -03:00
Daniel Pizetta 26c3878fff Merge branch 'develop' 2021-04-01 12:33:51 -03:00
Daniel Pizetta dc624f4fc3 Fix docs links and compatibility with pypi 2021-04-01 12:25:37 -03:00
Daniel Pizetta 1033371ec9 New release version v3.0.2 2021-04-01 12:16:54 -03:00
Daniel Pizetta 7e114415c6 Merge with master 2021-04-01 12:16:08 -03:00
Daniel Pizetta ac349bf039 Update readme and project description 2021-04-01 12:10:12 -03:00
Daniel Pizetta 5b8f7a184f New release version v3.0.1 2021-03-31 21:45:34 -03:00
Daniel Pizetta ac67518cf4 New release candidate version v3.0.0rc1 2021-03-31 19:40:55 -03:00
Daniel Pizetta c74353c718 Merge branch 'develop' 2021-03-31 19:37:26 -03:00
Daniel Pizetta b9793a6a5c Add patch for qt version related to menu itens, workaround for #214 2021-03-31 19:33:57 -03:00
Daniel Pizetta b53911a955 Move images to inside docs 2021-03-29 14:44:17 -03:00
Daniel Pizetta 9eea545d60 First release candidate for v3.0, testing over PyPI 2021-03-29 02:48:25 -03:00
Daniel Pizetta ab7530ac3c Move palette to outside utils 2021-03-28 22:30:11 -03:00
Daniel Pizetta 52cb66156a Merge branch 'light-theme' of https://github.com/juanis2112/QDarkStyleSheet into develop 2021-03-28 22:17:20 -03:00
Carlos Cordoba c5824d7af5 Merge with develop 2021-03-28 00:53:42 -05:00
Daniel Pizetta 82754b51a6 Move palettes definitions their folders 2021-03-24 23:29:09 -03:00
Daniel Pizetta 097eb219d1 Refactor classname QDarkStylePalette to Palette to avoid misinterpretation 2021-03-24 23:26:55 -03:00
Daniel Pizetta dfcdf338dd Merge branch 'light-theme' of https://github.com/juanis2112/QDarkStyleSheet into juanis2112-light-theme 2021-03-24 15:15:26 -03:00
Carlos Cordoba 4587b03f45 Improve docstring of load_stylesheet
Also fix a small error with it
2021-03-24 11:32:09 -05:00
Carlos Cordoba b69e48c557 Generate resources for light palette 2021-03-24 11:32:09 -05:00
Carlos Cordoba 3ad4b376ed Add the ability to pass a palette in load_stylesheet
Also use prefix in qrc according to palette identifier
2021-03-24 11:32:09 -05:00
Daniel Pizetta 6ad941fad9 Fix X size for tabs on Windows/Linux, add patch, improve tab title, part of #264 2021-03-24 10:33:04 -03:00
juanis2112 a9d9423828 Change colors of qdarkstyle according to new ux palette 2021-02-18 16:39:59 -05:00
Daniel Pizetta 432e8606f5 Update version 2021-01-17 15:13:56 -03:00
Daniel Pizetta 84335b1f79 Fix import names and missing import 2021-01-17 15:01:00 -03:00
Oscar Gustafsson e3b3c445c7 Fixed syntax error in deprecated code (#241)
```
In [7]: qdarkstyle.load_stylesheet_from_environment(is_pyqtgraph=True)
Traceback (most recent call last):

  File "<ipython-input-7-7235cbc7ab37>", line 1, in <module>
    qdarkstyle.load_stylesheet_from_environment(is_pyqtgraph=True)

  File "C:\Users\Oscar\Anaconda3\lib\site-packages\qdarkstyle\__init__.py", line 388, in load_stylesheet_from_environment
    stylesheet = _load_stylesheet(qt_api=os.environ('PYQTGRAPH_QT_LIB'))

TypeError: '_Environ' object is not callable
```
Deprecated, but still good if no syntax errors occur...
2020-12-16 14:54:20 -03:00
dpizetta a36291c745 NEW: version for development v2.9 2020-03-24 16:08:34 -03:00
Daniel Pizetta 8561563861 FIX: logic after a raising 2020-03-19 11:05:14 -03:00
Daniel Pizetta c50b65093e FIX: remove format argument 2020-03-19 10:36:51 -03:00
dpizetta 6fcd8c7b0e FIX: documentation 2020-01-20 16:03:14 -03:00