Correct spelling mistakes

This commit is contained in:
Edward Betts
2022-05-27 19:53:45 +02:00
committed by Daniel Pizetta
parent b5f7fe979c
commit 870850d050
9 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ Changelog
- Update description to inform about Python 2 and Qt4 unsupported versions
- Add missing examples #251
- 3.0.1:
- Enhacement of state of active/non active itens in views #209
- Enhancement of state of active/non active items in views #209
- Update manifest to include UI files
- **3.0.0**:
- New structure to create different palettes #268, #164
+3 -3
View File
@@ -140,7 +140,7 @@ Logging
-------
Inside modules we provided a logging that should be used to inform the
user. Please, follow the levels bellow.
user. Please, follow the levels below.
- debug: for debug information, high detailed one, directed to
programmers;
@@ -347,7 +347,7 @@ maintainer in both.
4. Try upload in `PyPI test
page <https://test.pypi.org/project/QDarkStyle>`__ platform before
the oficial
the official
``twine upload --repository-url https://test.pypi.org/legacy/ dist/*``
@@ -364,7 +364,7 @@ maintainer in both.
``twine upload --repository-url https://upload.pypi.org/legacy/ dist/*``
8. Try to install from oficial
8. Try to install from official
``pip install qdarkstyle``
+1 -1
View File
@@ -55,7 +55,7 @@ confidence=
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once). You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# disable everything first and then re-enable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
+1 -1
View File
@@ -286,7 +286,7 @@ def _load_stylesheet(qt_api='', palette=None):
qss_file.open(QFile.ReadOnly | QFile.Text)
text_stream = QTextStream(qss_file)
stylesheet = text_stream.readAll()
_logger.info("QSS file sucessfuly loaded.")
_logger.info("QSS file successfully loaded.")
else:
stylesheet = ""
# Todo: check this raise type and add to docs
+1 -1
View File
@@ -12,7 +12,7 @@ Requirements:
- Python 3
- QtPy
- PyQt5 or PyQt4 or PySide2 or PySide
- PyQtGraph or Qt.Py (if choosen)
- PyQtGraph or Qt.Py (if chosen)
To run this example using PyQt5, simple do
+1 -1
View File
@@ -1864,7 +1864,7 @@ QDockWidget {
background: transparent;
background-image: transparent;
// float button has an issue that if you change any of those
// parameters bellow there will be a duplication in the icon
// parameters below there will be a duplication in the icon
// actually it seems that they are always there (duplication)
border: 0;
margin: 0;
+1 -1
View File
@@ -235,7 +235,7 @@ def create_images(base_svg_path=SVG_PATH, rc_path=None, palette=None):
def generate_qrc_file(resource_prefix='qss_icons', style_prefix='qdarkstyle',
palette=None):
"""
Generate the QRC file programmaticaly.
Generate the QRC file programmatically.
Search all RC folder for PNG images and create a QRC file.
+2 -2
View File
@@ -162,7 +162,7 @@ def create_custom_qss(
The `name` must be a valid Python identifier and will be stored
as a lowercased folder (even if the identifier had uppercase letters).
This fuction returns the custom stylesheet pointing to resources stored at
This function returns the custom stylesheet pointing to resources stored at
.../path/name/.
"""
stylesheet = ''
@@ -272,7 +272,7 @@ def create_custom_qss_from_dict(name, path, palette_dict):
if __name__ == '__main__':
# Example of a custom palette
# TODO: change to not use a specfic path
# TODO: change to not use a specific path
# TODO: may move to other place, e.g., example.py
qss = create_custom_qss(
'MyAwesomePalette',
+3 -3
View File
@@ -46,7 +46,7 @@ changedir=
commands =
# check depedencies
# check dependencies
pip check
# list all deps
pip list
@@ -119,10 +119,10 @@ commands =
release: python setup.py sdist bdist_wheel
release: python setup.py check -s -r # even deprecated, shows better error messages that are passing in twine
release: twine check dist/*
# try upload in test platform before the oficial
# try upload in test platform before the official
# release: twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# release: pip install --index-url https://test.pypi.org/simple/ qdarkstyle
# upload to oficial
# upload to official
# release: twine upload dist/*
# release: pip uninstall qdarkstyle
# release: pip install qdarkstyle