Commit Graph

84 Commits

Author SHA1 Message Date
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
dpizetta 2f8fd62f77 Fix deprecation warning messages 2019-06-19 17:03:52 -03:00
dpizetta 2924ec042e Update documentation and reordering functions 2019-06-18 09:19:56 -03:00
dpizetta b740d28df4 Fix load_stylesheet to be compatible with both old and new API 2019-06-17 18:27:58 -03:00
dpizetta e4b14e78fb Proofreading texts and add a tip for app patches warning 2019-06-13 10:16:17 -03:00
dpizetta 6379912ee8 Fix function to get stylesheet 2019-06-04 13:07:49 -03:00
dpizetta 2471a51e56 Merge with old v3 on branch dev, more changes needed 2019-06-04 11:18:09 -03:00
dpizetta ba153bb983 New v2.8 for development 2019-06-01 21:56:33 -03:00
dpizetta c92d0c4c99 Update version and changes 2019-06-01 16:40:44 -03:00
dpizetta 941b847df2 Remove import from utils, fix #170 2019-06-01 16:07:06 -03:00
dpizetta 7fe6c15018 Change some const names, add rc links finder 2019-05-31 22:36:56 -03:00
dpizetta 587d1e5db9 Update paths and add blacklist to create rc images 2019-05-31 22:36:56 -03:00
dpizetta dcfb8f6384 Get information using HelpDev instead own functions 2019-05-06 14:20:04 -03:00
dpizetta 2ae578bf1e Fix misspelding error importing QCoreApplication 2019-05-06 13:19:33 -03:00
Gonzalo Peña-Castellanos f84fff1711 PR: Add custom palette creation api, #161
* Add constants for file names and paths
* Reorganize utils and move image processing scripts
* Update palette file and move out of QSS folder into palette module
* Fix process_qrc script with new import paths
* Update scripts
* Fix patches for example
* Fix code and example custom palette
* Add simple test
2019-05-06 08:29:07 -03:00
Gonzalo Peña-Castellanos 1bf432820f Add QLabel links color fix and refactor stylesheet patches, #156 2019-05-05 15:50:55 -03:00
Gonzalo Peña-Castellanos 7c32ed6ff1 PR: Add qtsass compilation step, closes #138
* Add osx ignore files
* Add variables and split or sass compilation with qtsass
* Add simple compilation test
* Add sass compilation steps on first execution and scripts
* Use class as holder instead of dict
* Add extra variables
* Use palette on mac CSS fixes
* Fix code error
* Update master qss fixes
* Add qtsass dev dependency
* Add resources path variable and update code
* Check and fix qss output, add path variable
2019-05-04 09:28:37 -03:00
dpizetta 7ee62acbfc Update color in images 2019-05-01 17:22:35 -03:00
dpizetta 7910f42b55 Update version, authors and changes 2019-05-01 10:32:11 -03:00
dpizetta 8a50711eb2 Changing future warning to pending deprecation warning - fixes #125 2019-04-24 11:08:53 -03:00
Daniel Pizetta 8c6f7091f0 Add changes and update patch for mac 2018-12-13 18:19:37 -02:00
Daniel Pizetta 6af5efd669 FIX: python 2.7 compatibility 2018-11-14 11:51:30 -02:00
Daniel Pizetta e8a1489fc0 Better palette color, improve contrast 2018-11-09 15:26:42 -02:00
Daniel Pizetta 397a1ddfd0 Update version and changes 2018-11-08 15:10:25 -02:00
Daniel Pizetta 6299c1b5c4 Fix splitter, separator from windows and menus, fixes #115 2018-11-01 16:12:40 -03:00
Daniel Pizetta 467a5a6a37 Fixing script commands for old python 2018-10-28 14:24:26 -03:00
Daniel Pizetta de461ce1be Improve functions for script 2018-10-25 16:44:08 -03:00
Daniel Pizetta 887543d1e2 Fix new style sheet, refresh rc files, add main 2018-10-25 00:26:22 -03:00
Daniel Pizetta 29431c9ced Merge and add new style, fix disabled #112, fix #109 2018-10-25 00:18:01 -03:00
Daniel Pizetta 83a715463b NEW: add main to get info from qdarkstyle 2018-10-24 15:46:27 -03:00
Travis Mosley 8ce69f78d2 Updated docstrings and minor version bump 2018-08-15 16:50:03 -07:00
Travis Mosley 7bf2495d3f Added PySide2 support 2018-08-15 16:36:06 -07:00
Nazar 91231c9893 Fix indicator image of checkable QGroupBox for checked/unchecked stat… (#94)
* Fix indicator image of checkable QGroupBox for checked/unchecked state #93
* Edit version information
2018-04-27 12:38:01 -03:00
Daniel Pizetta 5cf45ed167 Add warnings to changes that will be made in version 3.0 2018-04-20 16:36:51 -03:00
Daniel Pizetta 92f01c91d4 Update to version 2.5.2 2018-02-21 16:54:40 -03:00
Daniel Pizetta 186df8c752 Change version 2018-02-07 16:46:33 -02:00
Daniel Pizetta 4b90dde2d4 Improves description, remove license 2018-02-07 16:34:34 -02:00