Merge commit 'a743ad9496701894406c0d7ded6a44fcecd4219e' as 'deps/QDark'
This commit is contained in:
commit
26cbb6dc9c
5
deps/QDark/.gitattributes
vendored
Normal file
5
deps/QDark/.gitattributes
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
docs/* linguist-documentation
|
||||
qdarkstyle/style_rc.py linguist-generated
|
||||
qdarkstyle/style.qrc linguist-generated
|
||||
qdarkstyle/style.qss linguist-generated
|
||||
qdarkstyle/rc/* linguist-generated
|
54
deps/QDark/.github/ISSUE_TEMPLATE.md
vendored
Normal file
54
deps/QDark/.github/ISSUE_TEMPLATE.md
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
<!-- You can erase any parts of this template not applicable/known to your Issue. -->
|
||||
|
||||
### Describe Your Environment
|
||||
|
||||
Please, report the output of the command (from v2.6+) or fill the information below:
|
||||
|
||||
`$ qdarkstyle --all`
|
||||
|
||||
Or use the helpdev if you have
|
||||
|
||||
`$ helpdev`
|
||||
|
||||
[Versions from your environment]
|
||||
|
||||
- QDarkStyle:
|
||||
- OS:
|
||||
- Python:
|
||||
|
||||
[If used, please inform their versions]
|
||||
|
||||
- PySide:
|
||||
- PyQt:
|
||||
- PyQtGraph:
|
||||
- QtPy:
|
||||
- QT_API:
|
||||
- PYQTGRAPH_QT_LIB:
|
||||
|
||||
### Language
|
||||
|
||||
[Python] or [C++]
|
||||
|
||||
### Description / Steps to Reproduce [if necessary]
|
||||
|
||||
[Description of the issue]
|
||||
|
||||
1. [First Step]
|
||||
2. [Second Step]
|
||||
3. [and so on...]
|
||||
|
||||
### Actual Result
|
||||
|
||||
[A description, output ou image of the actual result]
|
||||
|
||||
### Expected Results / Proposed Result
|
||||
|
||||
[A description, output ou image of the expected/proposed result]
|
||||
|
||||
### Relevant Code [if necessary]
|
||||
|
||||
[A piece of code to reproduce and/or fix this issue]
|
||||
|
||||
```
|
||||
# code here to reproduce the problem
|
||||
```
|
41
deps/QDark/.gitignore
vendored
Normal file
41
deps/QDark/.gitignore
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
*.pyc
|
||||
*.orig
|
||||
|
||||
dist/
|
||||
build/
|
||||
|
||||
*.egg-info/
|
||||
__pycache__
|
||||
.coverage
|
||||
|
||||
*.tar
|
||||
*.tar.*
|
||||
*.log
|
||||
*.log.*
|
||||
*.sig
|
||||
|
||||
pkg/
|
||||
src/
|
||||
|
||||
# stdeb files
|
||||
*.tar.gz
|
||||
deb_dist
|
||||
/gpg_key
|
||||
|
||||
# gedit temp files
|
||||
*~
|
||||
|
||||
# hackedit project files
|
||||
.hackedit
|
||||
|
||||
# vs code project files
|
||||
.vscode
|
||||
.mypy_cache
|
||||
.cache
|
||||
.env
|
||||
./.idea
|
||||
/.idea/
|
||||
.tox
|
||||
|
||||
# OSX files
|
||||
.DS_Store
|
51
deps/QDark/.travis.yml
vendored
Normal file
51
deps/QDark/.travis.yml
vendored
Normal file
@ -0,0 +1,51 @@
|
||||
dist: xenial
|
||||
language: python
|
||||
|
||||
services:
|
||||
# to be able to display
|
||||
- xvfb
|
||||
|
||||
before_install:
|
||||
- sudo apt-get update
|
||||
|
||||
matrix:
|
||||
include:
|
||||
|
||||
- python: 3.6
|
||||
env: TOXENV=py36-pyqt5
|
||||
- python: 3.6
|
||||
env: TOXENV=py36-pyside2
|
||||
- python: 3.8
|
||||
env: TOXENV=py38-pyqt5
|
||||
- python: 3.8
|
||||
env: TOXENV=py38-pyside2
|
||||
|
||||
- python: 3.8
|
||||
env: TOXENV=py38-lint
|
||||
- python: 3.8
|
||||
env: TOXENV=py38-safety
|
||||
- python: 3.8
|
||||
env: TOXENV=py38-metric
|
||||
- python: 3.8
|
||||
env: TOXENV=py38-develop
|
||||
|
||||
- python: 3.8
|
||||
env: TOXENV=py38-pyqt5-doc
|
||||
|
||||
- python: 3.8
|
||||
env: TOXENV=py38-release
|
||||
|
||||
|
||||
|
||||
install:
|
||||
# to make sure it has everything up to date
|
||||
- python -V
|
||||
- python -m ensurepip
|
||||
- python -m pip install -U pip
|
||||
- python -m pip install -U setuptools
|
||||
- python -m pip install -U wheel
|
||||
- python -m pip install -U virtualenv
|
||||
- python -m pip install -U tox
|
||||
|
||||
script:
|
||||
- tox
|
32
deps/QDark/AUTHORS.rst
vendored
Normal file
32
deps/QDark/AUTHORS.rst
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
Authors
|
||||
=======
|
||||
|
||||
Mainteiner(s)
|
||||
-------------
|
||||
|
||||
These people were/are mainteiners of this project.
|
||||
|
||||
- 2013-current `Colin Duquesnoy <https://github.com/ColinDuquesnoy>`__ - colin.duquesnoy@gmail.com - original author.
|
||||
|
||||
- 2018-current `Daniel Pizetta <https://github.com/dpizetta>`__ - daniel.pizetta@usp.br - bug fixes, improvements, features.
|
||||
|
||||
- 2019-current `Gonzalo Peña-Castellanos <https://github.com/goanpeca>`__ - bug fixes, improvements, features.
|
||||
|
||||
- 2019-current `Carlos Cordoba <https://github.com/ccordoba12>`__
|
||||
|
||||
|
||||
Contributor(s)
|
||||
--------------
|
||||
|
||||
These people contribute to bug fixes, improvements and so on. Please,
|
||||
insert your information after the last one.
|
||||
|
||||
- Year - Name - ``<contact>`` - contribution.
|
||||
|
||||
- 2018 - `mowoolli <https://github.com/mowoolli>`__ - bug fixes.
|
||||
- 2018 - Xingyun Wu - ``xingyun.wu@foxmail.com`` - bug fixes.
|
||||
- 2018 - `KcHNST <https://github.com/KcHNST>`__ - bug fixes.
|
||||
- 2019 - `goanpeca <https://github.com/goanpeca>`__ - bug fixes, improvements, features.
|
||||
- 2020 - `tsilia <https://github.com/tsilia>`__ - bug fixes.
|
||||
|
||||
And all people that reported bugs, thank you all!
|
204
deps/QDark/CHANGES.rst
vendored
Normal file
204
deps/QDark/CHANGES.rst
vendored
Normal file
@ -0,0 +1,204 @@
|
||||
Changelog
|
||||
=========
|
||||
- 2.8.1:
|
||||
- Fix rst file formats and links #229
|
||||
- Add .gitattributes for generated and documentation files
|
||||
- Add more complete tox and Travis envs with many checks
|
||||
- Fix removing message format argument
|
||||
- Fix QGroupBox small indicator size #218
|
||||
- Fix QGroupBox incorrect indicator icon when unfocused #219
|
||||
- Fix QDateTimeEdit incorrect drop-down arrow icon #220
|
||||
- Fix documentation
|
||||
- 2.8:
|
||||
- Fix tooltip giant rectangle #174
|
||||
- Fix QTextEdit wihout borders inside frame #188
|
||||
- Fix PyQt5 issuies on dropbown #191
|
||||
- Fix combo box with icons #169
|
||||
- Fix QToolbBar vertical handle #210
|
||||
- Fix pane tab labelcropped on activation #199
|
||||
- Enhance vertical/horiontal lines #184
|
||||
- Enhance tool button size and spacing #181, #183, #202
|
||||
- Enhance buttons and inputs with focus, blue border #194, #211
|
||||
- Enhance QSplitter #207
|
||||
- Removed QStatusBar vertical lines #205
|
||||
- 2.7:
|
||||
- Remove utils from import in qdarkstyle, #170
|
||||
- Fix border colors in tool button #176
|
||||
- Fix scroll area and stacked with 2px padding, #159
|
||||
- Fix backgroung submenu color, #179
|
||||
- Fix extra border aside header's arrow indicator, #180
|
||||
- Fix menu right arrrow indicator
|
||||
- Fix slide bars colors, #150
|
||||
- Fix QLabels problems, #163, #139
|
||||
- Fix problems with example settings using PySide2 and --no\_dark #167
|
||||
- Provide SVG files for all images, standard names and sizes, fix images, #149
|
||||
- Improve images and add high resolution images, #140
|
||||
- Improve docs
|
||||
- Add check to scripts for generating images, #137
|
||||
- Fix tox and travis scripts #76
|
||||
- Provide docs in RTD, part of #160
|
||||
- Add helpdev depedency for reports and checks, #147
|
||||
- Update authors and maintainers
|
||||
- 2.6.8:
|
||||
- Fix double border in QtabWidget for pyqt5
|
||||
- Fix widgets border in QTabWidget as QLabel #141, #123, #126
|
||||
- Fix QTab scroller buttons background #136
|
||||
- Update color from images, fix #127
|
||||
- Add retina resolution @2x, fix #140
|
||||
- Intermediate version before merge PR #142 adding scripts
|
||||
- 2.6.7:
|
||||
- Fix combobox indicator and padding #132
|
||||
- Fix PyQtGraph plot axes covered by padding #134
|
||||
- Update authors
|
||||
- 2.6.6:
|
||||
- Fix tabbed bordeless frames and add more examples, #123, #126
|
||||
- Add feedback to pressed buttons, #133
|
||||
- Change future warning to pending deprecation for developers, #125 in v2.x
|
||||
- Fix hover in qtabwidget, #128
|
||||
- 2.6.5:
|
||||
- Fix borderless widgets inside QTabWidget, #123
|
||||
- Fix palette table inside CSS file, header using the last column
|
||||
- Tested on Python 27, 34, 36, 37
|
||||
- 2.6.4:
|
||||
- Python 2.7 compatibility, #121
|
||||
- Fix MANIFEST
|
||||
- 2.6.3:
|
||||
- Palette color enhance, better contrast, contribute to #118
|
||||
- Fixes Qslider background
|
||||
- Better colors and format for tab and toolbox, contribute to #118
|
||||
- 2.6.2:
|
||||
- Enhance command link button
|
||||
- Enhance tab colors and spacing, closes #118
|
||||
- Start using tox, helping partially #77
|
||||
- Fix example and other scripts issues
|
||||
- 2.6.1:
|
||||
- Fix and improve QSplitter and separators from tool bar and windows #115
|
||||
- Fix README version screenshots and update them
|
||||
- Add reset function into example to reset GUI settings, after you mess up with
|
||||
- 2.6:
|
||||
- Many other enhancements and fix #103, #111, #106
|
||||
- Fix tab disabled, background and color
|
||||
- Enhance tab selection
|
||||
- Enhance spacing (padding and margin)
|
||||
- Enhance table, list, tree and combo box selection
|
||||
- Fix slider disabled and enhance size
|
||||
- Fix the wrong upload of style.qss - sorry
|
||||
- Fix almost all widgets backgrounds, and other not previously covered widgets with new style
|
||||
- New palette color, almost whole new qss file, simplify configuration, partially #112, #101, #109,
|
||||
- Add changes made by other people in the new style - merge does not work there #93, #92, #102
|
||||
- Update README with Qt.py and PySide 2 information #110, #107, #83
|
||||
- Update **init** info
|
||||
- Improve scripts for processing ui and qrc
|
||||
- Add **main** and setup entry, to access function directly
|
||||
- Add function to get information about bindings and abstraction layers for debbuging and/or issue tracker
|
||||
- PySide 2 support
|
||||
- Improve menu indicator position on QPushButton, #102
|
||||
- 2.5.4
|
||||
- Fix indicator image of checkable QGroupBox for check/uncheck states, #93
|
||||
- Fix wrong comma position, #95
|
||||
- Added image for the missing QTreeView/QListView undeterminated state, fix #92
|
||||
- 2.5.3
|
||||
- Add future warning and pending deprecation for 3.0 version preparation #89
|
||||
- Add ISSUE\_TEMPLATE to ask for default information on issue tracker
|
||||
- 2.5.2:
|
||||
- Modularize files from example/ui to simplify edition (developers)
|
||||
- Add scripts to process files and run example more easiy (developers)
|
||||
- Better documentation (developers)
|
||||
- Add CONTRIBUTE, CODE\_OF\_CONDUCT, and PRODUCTION files
|
||||
- Lint markdown to standardize files
|
||||
- Fix and add mor information in C++ example
|
||||
- 2.5.1:
|
||||
- Fix travis files, needs more improvement #74
|
||||
- Improve modules description
|
||||
- Update setup.py, remove license
|
||||
- Update and improve README, CHANGES and AUTHORS
|
||||
- 2.5:
|
||||
- Add new complete example with new files
|
||||
- Add new screenshots for new example
|
||||
- Update travis files
|
||||
- Add support to example of QtPy and PyQtGraph
|
||||
- Move scripts for compiling to scrip folder
|
||||
- Update README, CHANGES
|
||||
- 2.4:
|
||||
- Add function to get Qt information from environment variable #69, #70, #73
|
||||
- Add CC-BY license for images and transfer COPYING to LICENSE file #68
|
||||
- Fix tabs style - selected tab color and shift #59, #72
|
||||
- Restructure README creating AUTHORS, CHANGES, and LICENSE #71
|
||||
- 2.3.1:
|
||||
- Improve checkbox color (use accent color used in other widgets) and
|
||||
darken view hover/selected colors to play nicer with other widget colors
|
||||
- Shift to the right the first tab
|
||||
- Update license year
|
||||
- Update README (fix snapshots links and formatting)
|
||||
- Removed QLineEdit top/bottom padding which cut off text while editing QListView items
|
||||
- 2.3.0:
|
||||
- Add support for QDateEdit
|
||||
- 2.2.2:
|
||||
- Add hover to unselected item in QListView/QTreeView
|
||||
- Fixes for vertical QToolBar, QToolBar Extend Button & QTabWidget's Pane Misalignment
|
||||
- Fixed consistency of QTabBar depending on position
|
||||
- 2.2.1:
|
||||
- Remove border of status bar widgets
|
||||
- 2.2:
|
||||
- Major update of the color scheme based on the Breeze Dark theme of KDE 5
|
||||
- Fix issues #29, #30, #31, #32 and #35
|
||||
- 2.1:
|
||||
- Add style for QPushButton:checked
|
||||
- Improve QCheckBox and QRadioButton style
|
||||
- Add style for QMenu::right-arrow
|
||||
|
||||
- **2.0**:
|
||||
- Improve stylesheet to make it look a bit more modern (see pull request #25)
|
||||
- 1.16:
|
||||
- Fix QGroupBox title padding (see issue #20)
|
||||
- 1.15:
|
||||
- Improve tristate checkbox graphics: undetermined state is now represented by a dash
|
||||
- 1.14:
|
||||
- Add support for tristate check boxes and for vertical and horizontal lines
|
||||
- 1.13:
|
||||
- Fix issue with horizontal scrollbar arrows, left and right were inversed.
|
||||
- 1.12:
|
||||
- Fix minimum size of input widgets (see issue #14)
|
||||
- 1.11:
|
||||
- Fix QDockWidget title position on Mac.
|
||||
- Add QStatusBar support
|
||||
- Improve QToolButton especially the MenuButtonPopup and InstantPopup modes
|
||||
- 1.10:
|
||||
- Add PyQt5 support
|
||||
- Fix bug #12 (dock widget title not dark on OSX. Note that this reopens issue #8 for MAC users)
|
||||
- 1.9:
|
||||
- Improve QTabBar consistency and make selected tabs more distinctive
|
||||
- 1.8:
|
||||
- Add support for QToolBox
|
||||
- Fix issue with grid line in QTableView if there is only ONE row/column
|
||||
- 1.7:
|
||||
- Fix appearance of bottom tab bars (invert gradient)
|
||||
- Improve QTableView: add grid line and fix section borders
|
||||
- Fix bug #7: bug when resizing QTableView
|
||||
- Fix bug #8: text elidation no working on QDockWidget
|
||||
- 1.6:
|
||||
- Improve QToolButton style
|
||||
- Add support for InstantPopup and MenuButtonPopup
|
||||
- Improve QMenu style (better spacing with icons)
|
||||
- Add \_\_version\_\_ to python package.
|
||||
- 1.5:
|
||||
- Improve QTabBar style: now works with all tab bar positions (North, South, West and East)
|
||||
- Fix bug #6: hide QTabBar base to avoid stange lines at the base of the tab bar.
|
||||
- 1.4:
|
||||
- Add style.qss to qrc file, this fix issues with cx\_freeze
|
||||
- 1.3:
|
||||
- Remove outline on button, checkbox and radio button
|
||||
- Add support for closable tabs
|
||||
- Better disabled buttons
|
||||
- Fix QTextEdit background color to match the color of QPlainTextEdit
|
||||
and QLineEdit
|
||||
- Better hover/selected states for QTreeView and QListView
|
||||
- Add QHeaderView support
|
||||
- 1.2:
|
||||
- Improve QTableView support
|
||||
- 1.1:
|
||||
- Switch to MIT license
|
||||
- Add python 3 support
|
||||
|
||||
- **1.0**:
|
||||
- First public release (LGPL v2)
|
82
deps/QDark/CODE_OF_CONDUCT.rst
vendored
Normal file
82
deps/QDark/CODE_OF_CONDUCT.rst
vendored
Normal file
@ -0,0 +1,82 @@
|
||||
Contributor Covenant Code of Conduct
|
||||
====================================
|
||||
|
||||
Our Pledge
|
||||
----------
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as
|
||||
contributors and maintainers pledge to making participation in our
|
||||
project and our community a harassment-free experience for everyone,
|
||||
regardless of age, body size, disability, ethnicity, gender identity and
|
||||
expression, level of experience, nationality, personal appearance, race,
|
||||
religion, or sexual identity and orientation.
|
||||
|
||||
Our Standards
|
||||
-------------
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment
|
||||
include:
|
||||
|
||||
- Using welcoming and inclusive language
|
||||
- Being respectful of differing viewpoints and experiences
|
||||
- Gracefully accepting constructive criticism
|
||||
- Focusing on what is best for the community
|
||||
- Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
- The use of sexualized language or imagery and unwelcome sexual
|
||||
attention or advances
|
||||
- Trolling, insulting/derogatory comments, and personal or political
|
||||
attacks
|
||||
- Public or private harassment
|
||||
- Publishing others' private information, such as a physical or
|
||||
electronic address, without explicit permission
|
||||
- Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
Our Responsibilities
|
||||
--------------------
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of
|
||||
acceptable behavior and are expected to take appropriate and fair
|
||||
corrective action in response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit,
|
||||
or reject comments, commits, code, wiki edits, issues, and other
|
||||
contributions that are not aligned to this Code of Conduct, or to ban
|
||||
temporarily or permanently any contributor for other behaviors that they
|
||||
deem inappropriate, threatening, offensive, or harmful.
|
||||
|
||||
Scope
|
||||
-----
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public
|
||||
spaces when an individual is representing the project or its community.
|
||||
Examples of representing a project or community include using an
|
||||
official project e-mail address, posting via an official social media
|
||||
account, or acting as an appointed representative at an online or
|
||||
offline event. Representation of a project may be further defined and
|
||||
clarified by project maintainers.
|
||||
|
||||
Enforcement
|
||||
-----------
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may
|
||||
be reported by contacting the project team at daniel.pizetta@usp.br. The
|
||||
project team will review and investigate all complaints, and will
|
||||
respond in a way that it deems appropriate to the circumstances. The
|
||||
project team is obligated to maintain confidentiality with regard to the
|
||||
reporter of an incident. Further details of specific enforcement
|
||||
policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in
|
||||
good faith may face temporary or permanent repercussions as determined
|
||||
by other members of the project's leadership.
|
||||
|
||||
Attribution
|
||||
-----------
|
||||
|
||||
This Code of Conduct is adapted from the `Contributor
|
||||
Covenant <http://contributor-covenant.org>`__, version 1.4, available at
|
||||
`http://contributor-covenant.org/version/1/4 <http://contributor-covenant.org/version/1/4/>`__
|
391
deps/QDark/CONTRIBUTING.rst
vendored
Normal file
391
deps/QDark/CONTRIBUTING.rst
vendored
Normal file
@ -0,0 +1,391 @@
|
||||
Contributing
|
||||
============
|
||||
|
||||
This file describes a path to contribute to this project. Check out our
|
||||
`CODE OF CONDUCT <./CODE_OF_CONDUCT.rst>`__.
|
||||
|
||||
Bug Reports and Feature Requests
|
||||
--------------------------------
|
||||
|
||||
If you have encountered a problem with QDarkStyle or have an idea for a
|
||||
new feature, please submit it to the `issue
|
||||
tracker <https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues>`__.
|
||||
|
||||
Contributing to QDarkStyle
|
||||
--------------------------
|
||||
|
||||
The recommended way for new contributors to submit code to QDarkStyle is
|
||||
to fork the repository on GitHub and then submit a pull request after
|
||||
committing the changes. The pull request will then need to be approved
|
||||
by one of the manteiners before it is merged into the main repository.
|
||||
|
||||
- Check for open issues or open a fresh issue to start a discussion
|
||||
around a feature idea or a bug.
|
||||
|
||||
- Fork `the
|
||||
repository <https://github.com/ColinDuquesnoy/QDarkStyleSheet>`__ on
|
||||
GitHub to start making your changes to the master branch.
|
||||
|
||||
- Write a test which shows that the bug was fixed or that the feature
|
||||
works as expected if its a function, or create a screenshot if you
|
||||
are changing the stylesheet evidencing the changes.
|
||||
|
||||
- Send a pull request and bug the maintainer until it gets merged and
|
||||
published. Make sure to add yourself to `AUTHORS <./AUTHORS.rst>`__
|
||||
and the change(s) to `CHANGES <./CHANGES.rst>`__.
|
||||
|
||||
Getting Started
|
||||
---------------
|
||||
|
||||
These are the basic steps needed to start developing on QDarkStyle.
|
||||
|
||||
- Create an account on GitHub
|
||||
|
||||
- Fork the main `QDarkStyle
|
||||
repository <https://github.com/ColinDuquesnoy/QDarkStyleSheet>`__
|
||||
using the GitHub interface.
|
||||
|
||||
- Clone the forked repository to your machine
|
||||
|
||||
.. code:: bash
|
||||
|
||||
git clone https://github.com/USERNAME/qdarkstyle
|
||||
cd qdarkstyle
|
||||
|
||||
- Checkout the appropriate branch
|
||||
|
||||
.. code:: bash
|
||||
|
||||
git checkout master
|
||||
|
||||
- Setup a virtual environment (not essential, but highly recommended)
|
||||
|
||||
.. code:: bash
|
||||
|
||||
virtualenv ~/.venv
|
||||
. ~/.venv/bin/activate
|
||||
pip install -e .
|
||||
|
||||
- Create a new working branch. Choose any name you like
|
||||
|
||||
.. code:: bash
|
||||
|
||||
git checkout -b feature-xyz
|
||||
|
||||
- Hands on
|
||||
|
||||
For tips on working with the code, see the Code Guide.
|
||||
|
||||
- Test, test, test
|
||||
|
||||
Testing is best done through ``tox``, which provides a number of
|
||||
targets and allows testing against multiple different Python
|
||||
environments:
|
||||
|
||||
- Add you and your changes
|
||||
|
||||
Please add a list item to `CHANGES <./CHANGES.rst>`__ if the fix or
|
||||
feature is not trivial (small doc updates, typo fixes). Please add
|
||||
you as an author to `AUTHORS <./AUTHORS.rst>`__.
|
||||
|
||||
- Add files to commit
|
||||
|
||||
Add files that are part of your changes, remember that each commit
|
||||
must represent a small but functional change. Remember to add
|
||||
CHANGES.rst and AUTHORS.rst too. To add all files changed do:
|
||||
|
||||
::
|
||||
|
||||
```bash
|
||||
git add .
|
||||
```
|
||||
|
||||
- Commiting changes.
|
||||
|
||||
GitHub recognizes certain phrases that can be used to automatically
|
||||
update the issue tracker, so you can commit like this:
|
||||
|
||||
::
|
||||
|
||||
```bash
|
||||
git commit -m "Add useful new feature that does this, close #42"
|
||||
```
|
||||
|
||||
```bash
|
||||
git commit -m "Fix returning problem for get_style(), fix #78"
|
||||
```
|
||||
|
||||
- Push changes in the branch to your forked repository on GitHub.
|
||||
|
||||
::
|
||||
|
||||
```bash
|
||||
git push origin feature-xyz
|
||||
```
|
||||
|
||||
- Submit a pull request (PR).
|
||||
|
||||
Do it from your branch to the respective branch using the `GitHub
|
||||
PR <https://github.com/ColinDuquesnoy/QDarkStyleSheet/pulls>`__
|
||||
interface.
|
||||
|
||||
- Wait for a mainteiner to review your changes.
|
||||
|
||||
Logging
|
||||
-------
|
||||
|
||||
Inside modules we provided a logging that should be used to inform the
|
||||
user. Please, follow the levels bellow.
|
||||
|
||||
- debug: for debug information, high detailed one, directed to
|
||||
programers;
|
||||
|
||||
- info: something important for common user to know;
|
||||
|
||||
- warning: something that should not be a big problem or a desicision
|
||||
changed;
|
||||
|
||||
- error: some error, but not capable of stop program;
|
||||
|
||||
- critical: something that could stop the running program.
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
Documentation is the key to keep all information and necessary
|
||||
instructions to others. We use the reStructured text format (rst) for
|
||||
all docs.
|
||||
|
||||
All new functions, classes, files, must be documented with all
|
||||
arguments, returns, exceptions. Whithout this it should not pass the
|
||||
tests.
|
||||
|
||||
The better example is to see the current files to get the style. We are
|
||||
using the Google Format and Sphinx for generating the docs.
|
||||
|
||||
Guide to QDarkStyle
|
||||
-------------------
|
||||
|
||||
Structure of the Example
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Now you can use our example to work on the stylesheet. It has all
|
||||
possible widget provided by Qt - common ones. Feel free to add more to
|
||||
them.
|
||||
|
||||
To simplify the structure, there are separated files in
|
||||
`example.ui <./example/ui/>`__ folder.
|
||||
|
||||
- ``dw_buttons.ui``: all types of buttons;
|
||||
- ``dw_containers_no_tabs.ui``: all types of containers except for
|
||||
tabs;
|
||||
- ``dw_containers_tabs.ui``: all containers tabs;
|
||||
- ``dw_displays.ui``: all types of displays;
|
||||
- ``dw_inputs_fields.ui``: all types of inputs with fields;
|
||||
- ``dw_inputs_no_fields.ui``: all types of inputs without fields;
|
||||
- ``dw_views.ui``: all types of views;
|
||||
- ``dw_widgets.ui``: all types of widgets;
|
||||
- ``mw_menus.ui``: main window with all menus and toolbars.
|
||||
|
||||
*Obs.: ``dw`` stands for dock widget and ``mw`` for main window.*
|
||||
|
||||
The entire example is built at runtime, in
|
||||
`example.py <./example/example.py>`__. To see more information about it,
|
||||
see its documentation.
|
||||
|
||||
Modifying UI Files
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Feel free to modify `ui <./example/ui>`__ files with Qt Designer and
|
||||
recompile UI using `process\_ui.py <./script/process_ui.py>`__ script,
|
||||
inside script folder, using:
|
||||
|
||||
::
|
||||
|
||||
```bash
|
||||
python process_ui.py
|
||||
```
|
||||
|
||||
It will generate all ``_ui.py`` files for PyQt4, PyQt5, PySide, QtPy,
|
||||
PyQtGraph.
|
||||
|
||||
Modifying QSS File
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
If you are changing the `stylesheet <./qdarkstyle/style.qss>`__, you
|
||||
will need to recompile the QRC files using
|
||||
`process\_qrc.py <./script/process_qrc.py>`__ script, inside script
|
||||
folder.
|
||||
|
||||
::
|
||||
|
||||
```bash
|
||||
python process_qrc.py
|
||||
```
|
||||
|
||||
This generates all ``_rc.py`` files for PyQt4, PyQt5, PySide, QtPy,
|
||||
PyQtGraph.
|
||||
|
||||
Making It Easy
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
To simplify this process for the developer, if you are changing many
|
||||
things, use the script
|
||||
`run\_ui\_css\_edition.py <./script/run_ui_css_edition.py>`__:
|
||||
|
||||
::
|
||||
|
||||
```bash
|
||||
python run_ui_css_edition.py
|
||||
```
|
||||
|
||||
This creates a loop that restarts the application, process ui and css
|
||||
files.
|
||||
|
||||
For more information about those scripts, see their documentation.
|
||||
|
||||
Qt, Stylesheets, Palettes and Icons
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- `Box model <http://doc.qt.io/qt-5/images/stylesheet-boxmodel.png>`__
|
||||
- `Box model with height and
|
||||
width <https://www.tutorialrepublic.com/lib/images/css-box-model.jpg>`__
|
||||
- `Customizing
|
||||
Widgets <http://doc.qt.io/qt-5/stylesheet-customizing.html>`__
|
||||
- `Window
|
||||
structure <http://doc.qt.io/qt-5/images/mainwindowlayout.png>`__
|
||||
- `QMainWindow <http://doc.qt.io/qt-5/qmainwindow.html>`__
|
||||
- `References <http://doc.qt.io/qt-5/stylesheet.html>`__
|
||||
|
||||
Create good palettes with these tools. For example, on paletton, choose
|
||||
three colors from greyish light (foreground), greyish dark (background)
|
||||
and three more colorfull colors (selection). Greyish colors have a litle
|
||||
bit of the main color, so it is nice to change it if you change the main
|
||||
color.
|
||||
|
||||
- `Paletton.com <http://paletton.com/>`__
|
||||
- `Coolors.co <https://coolors.co/>`__
|
||||
|
||||
As a minimal guide to create new icons (svg) images, we list two main
|
||||
sources.
|
||||
|
||||
- `Material <https://material.io/design/iconography/product-icons.html#grid-keyline-shapes>`__
|
||||
- `KDE <https://hig.kde.org/style/icon.html>`__
|
||||
|
||||
Main characteristics of SVG images are:
|
||||
|
||||
- Base size: 32px X 32px;
|
||||
- Border: 2px space, except continuous lines;
|
||||
- Corners and line end's: rounded;
|
||||
- Line: 2px minimum thickness. Complementary thickness using multiples
|
||||
of 2px;
|
||||
- Spacing: 4px when needed;
|
||||
- Color: #ff0000, red for all images - programatically changed;
|
||||
- Keep only structural changes in images, not colors, e.g, states hover
|
||||
and disabled;
|
||||
- Lines and shapes should align with the grid centralized;
|
||||
- Names: from basic form to specific, so they keep grouped. Ex.:
|
||||
arrow\_left, arrow\_up.
|
||||
|
||||
Some example are given below for the horizontal Handle, Minimize, and
|
||||
checked Checkbox.
|
||||
|
||||
.. raw:: html
|
||||
|
||||
<table style="width:100%">
|
||||
|
||||
.. raw:: html
|
||||
|
||||
<tr>
|
||||
|
||||
::
|
||||
|
||||
<th colspan=3>Examples of icons</th>
|
||||
|
||||
.. raw:: html
|
||||
|
||||
</tr>
|
||||
|
||||
.. raw:: html
|
||||
|
||||
<tr>
|
||||
|
||||
::
|
||||
|
||||
<td><img src="./images/icon_checkbox_indeterminated.png"/></td>
|
||||
<td><img src="./images/icon_minimize.png"/></td>
|
||||
<td><img src="./images/move.png"/></td>
|
||||
|
||||
.. raw:: html
|
||||
|
||||
</tr>
|
||||
|
||||
.. raw:: html
|
||||
|
||||
</table>
|
||||
|
||||
Unit Testing and Fix Preview
|
||||
----------------------------
|
||||
|
||||
It is a good practice, if you are writing functions to QDarkStyle or
|
||||
fixing something related to those functions (not style), that you
|
||||
provide a test for it.
|
||||
|
||||
If you are fixing something about style, please, at least, provide an
|
||||
screenshot before and after the fix to comparison. This could be
|
||||
inserted in the issue tracker, as a message. Better than that, use
|
||||
modules provided in test folder to create a GUI test, creating a new
|
||||
file for it.
|
||||
|
||||
Check `test <./test>`__ files to more details. Tests will keep our
|
||||
application stable.
|
||||
|
||||
If You Are a Mantainer, Go Ahead to Production
|
||||
----------------------------------------------
|
||||
|
||||
Of course, until you start these steps, make sure the package have
|
||||
passed all tests and checkers before continue. You must have accoutns to
|
||||
both test and oficial PyPI website below along with be inserted as a
|
||||
maintainer in both.
|
||||
|
||||
1. Install ``twine``
|
||||
|
||||
``pip install twine``
|
||||
|
||||
2. Generate a distribution (code package and wheel)
|
||||
|
||||
``python setup.py sdist bdist_wheel``
|
||||
|
||||
3. Check with ``twine``, which also tests README format for PyPI
|
||||
|
||||
``twine check dist/*``
|
||||
|
||||
4. Try upload in `PyPI test
|
||||
page <https://test.pypi.org/project/QDarkStyle>`__ platform before
|
||||
the oficial
|
||||
|
||||
``twine upload --repository-url https://test.pypi.org/legacy/ dist/*``
|
||||
|
||||
5. Try to install from test
|
||||
|
||||
``pip install --no-deps --index-url https://test.pypi.org/simple/ qdarkstyle``
|
||||
|
||||
6. Then, remove it
|
||||
|
||||
``pip uninstall qdarkstyle -y``
|
||||
|
||||
7. Upload to `PyPI official
|
||||
page <https://pypi.python.org/pypi/QDarkStyle>`__
|
||||
|
||||
``twine upload --repository-url https://upload.pypi.org/legacy/ dist/*``
|
||||
|
||||
8. Try to install from oficial
|
||||
|
||||
``pip install qdarkstyle``
|
||||
|
||||
You can also use the tox environment to produce the release and upload
|
||||
the distribution.
|
||||
|
||||
::
|
||||
|
||||
`tox -e release`
|
405
deps/QDark/LICENSE.rst
vendored
Normal file
405
deps/QDark/LICENSE.rst
vendored
Normal file
@ -0,0 +1,405 @@
|
||||
License
|
||||
=======
|
||||
|
||||
The MIT License (MIT) - Code
|
||||
----------------------------
|
||||
|
||||
Copyright (c) 2013-2019 Colin Duquesnoy
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
Creative Commons Attribution International 4.0 - Images
|
||||
-------------------------------------------------------
|
||||
|
||||
QDarkStyle (c) 2013-2019 Colin Duquesnoy
|
||||
QDarkStyle (c) 2019-2019 Daniel Cosmo Pizetta
|
||||
|
||||
Creative Commons Corporation (“Creative Commons”) is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an “as-is” basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright and
|
||||
certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
- **Considerations for licensors:** Our public licenses are intended
|
||||
for use by those authorized to give the public permission to use
|
||||
material in ways otherwise restricted by copyright and certain other
|
||||
rights. Our licenses are irrevocable. Licensors should read and
|
||||
understand the terms and conditions of the license they choose before
|
||||
applying it. Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the material as
|
||||
expected. Licensors should clearly mark any material not subject to
|
||||
the license. This includes other CC-licensed material, or material
|
||||
used under an exception or limitation to copyright. `More
|
||||
considerations for
|
||||
licensors <http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors>`__.
|
||||
|
||||
- **Considerations for the public:** By using one of our public
|
||||
licenses, a licensor grants the public permission to use the licensed
|
||||
material under specified terms and conditions. If the licensor’s
|
||||
permission is not necessary for any reason–for example, because of
|
||||
any applicable exception or limitation to copyright–then that use is
|
||||
not regulated by the license. Our licenses grant only permissions
|
||||
under copyright and certain other rights that a licensor has
|
||||
authority to grant. Use of the licensed material may still be
|
||||
restricted for other reasons, including because others have copyright
|
||||
or other rights in the material. A licensor may make special
|
||||
requests, such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to respect
|
||||
those requests where reasonable. `More considerations for the
|
||||
public <http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees>`__.
|
||||
|
||||
|
||||
Creative Commons Attribution 4.0 International Public License
|
||||
-------------------------------------------------------------
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution 4.0 International Public License ("Public License"). To the
|
||||
extent this Public License may be interpreted as a contract, You are
|
||||
granted the Licensed Rights in consideration of Your acceptance of these
|
||||
terms and conditions, and the Licensor grants You such rights in
|
||||
consideration of benefits the Licensor receives from making the Licensed
|
||||
Material available under these terms and conditions.
|
||||
|
||||
Section 1 – Definitions
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
a. **Adapted Material** means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material and
|
||||
in which the Licensed Material is translated, altered, arranged,
|
||||
transformed, or otherwise modified in a manner requiring permission
|
||||
under the Copyright and Similar Rights held by the Licensor. For
|
||||
purposes of this Public License, where the Licensed Material is a
|
||||
musical work, performance, or sound recording, Adapted Material is
|
||||
always produced where the Licensed Material is synched in timed
|
||||
relation with a moving image.
|
||||
|
||||
b. **Adapter's License** means the license You apply to Your Copyright
|
||||
and Similar Rights in Your contributions to Adapted Material in
|
||||
accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. **Copyright and Similar Rights** means copyright and/or similar
|
||||
rights closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or categorized.
|
||||
For purposes of this Public License, the rights specified in Section
|
||||
2(b)(1)-(2) are not Copyright and Similar Rights.
|
||||
|
||||
d. **Effective Technological Measures** means those measures that, in
|
||||
the absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright Treaty
|
||||
adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
e. **Exceptions and Limitations** means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
f. **Licensed Material** means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public License.
|
||||
|
||||
g. **Licensed Rights** means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to all
|
||||
Copyright and Similar Rights that apply to Your use of the Licensed
|
||||
Material and that the Licensor has authority to license.
|
||||
|
||||
h. **Licensor** means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
i. **Share** means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such as
|
||||
reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the public
|
||||
may access the material from a place and at a time individually
|
||||
chosen by them.
|
||||
|
||||
j. **Sui Generis Database Rights** means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases, as
|
||||
amended and/or succeeded, as well as other essentially equivalent
|
||||
rights anywhere in the world.
|
||||
|
||||
k. **You** means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
Section 2 – Scope
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
a. **License grant.**
|
||||
|
||||
1. Subject to the terms and conditions of this Public License, the
|
||||
Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to exercise the
|
||||
Licensed Rights in the Licensed Material to:
|
||||
|
||||
A. reproduce and Share the Licensed Material, in whole or in part;
|
||||
and
|
||||
|
||||
B. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. **Exceptions and Limitations.** For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public License
|
||||
does not apply, and You do not need to comply with its terms and
|
||||
conditions.
|
||||
|
||||
3. **Term.** The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. **Media and formats; technical modifications allowed.** The Licensor
|
||||
authorizes You to exercise the Licensed Rights in all media and
|
||||
formats whether now known or hereafter created, and to make technical
|
||||
modifications necessary to do so. The Licensor waives and/or agrees
|
||||
not to assert any right or authority to forbid You from making
|
||||
technical modifications necessary to exercise the Licensed Rights,
|
||||
including technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License, simply
|
||||
making modifications authorized by this Section 2(a)(4) never
|
||||
produces Adapted Material.
|
||||
|
||||
5. **Downstream recipients.**
|
||||
|
||||
A. **Offer from the Licensor – Licensed Material.** Every recipient
|
||||
of the Licensed Material automatically receives an offer from the
|
||||
Licensor to exercise the Licensed Rights under the terms and
|
||||
conditions of this Public License.
|
||||
|
||||
B. **No downstream restrictions.** You may not offer or impose any
|
||||
additional or different terms or conditions on, or apply any
|
||||
Effective Technological Measures to, the Licensed Material if doing
|
||||
so restricts exercise of the Licensed Rights by any recipient of the
|
||||
Licensed Material.
|
||||
|
||||
6. **No endorsement.** Nothing in this Public License constitutes or may
|
||||
be construed as permission to assert or imply that You are, or that
|
||||
Your use of the Licensed Material is, connected with, or sponsored,
|
||||
endorsed, or granted official status by, the Licensor or others
|
||||
designated to receive attribution as provided in Section
|
||||
3(a)(1)(A)(i).
|
||||
|
||||
b. **Other rights.**
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not licensed under
|
||||
this Public License, nor are publicity, privacy, and/or other similar
|
||||
personality rights; however, to the extent possible, the Licensor
|
||||
waives and/or agrees not to assert any such rights held by the
|
||||
Licensor to the limited extent necessary to allow You to exercise the
|
||||
Licensed Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this Public
|
||||
License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to collect
|
||||
royalties from You for the exercise of the Licensed Rights, whether
|
||||
directly or through a collecting society under any voluntary or
|
||||
waivable statutory or compulsory licensing scheme. In all other cases
|
||||
the Licensor expressly reserves any right to collect such royalties.
|
||||
|
||||
Section 3 – License Conditions
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. **Attribution.**
|
||||
|
||||
1. If You Share the Licensed Material (including in modified form), You
|
||||
must:
|
||||
|
||||
A. retain the following if it is supplied by the Licensor with the
|
||||
Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed Material and any
|
||||
others designated to receive attribution, in any reasonable manner
|
||||
requested by the Licensor (including by pseudonym if designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
|
||||
|
||||
B. indicate if You modified the Licensed Material and retain an
|
||||
indication of any previous modifications; and
|
||||
|
||||
C. indicate the Licensed Material is licensed under this Public
|
||||
License, and include the text of, or the URI or hyperlink to, this
|
||||
Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable
|
||||
manner based on the medium, means, and context in which You Share the
|
||||
Licensed Material. For example, it may be reasonable to satisfy the
|
||||
conditions by providing a URI or hyperlink to a resource that
|
||||
includes the required information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the information
|
||||
required by Section 3(a)(1)(A) to the extent reasonably practicable.
|
||||
|
||||
4. If You Share Adapted Material You produce, the Adapter's License You
|
||||
apply must not prevent recipients of the Adapted Material from
|
||||
complying with this Public License.
|
||||
|
||||
Section 4 – Sui Generis Database Rights
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that apply
|
||||
to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to
|
||||
extract, reuse, reproduce, and Share all or a substantial portion of
|
||||
the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database contents
|
||||
in a database in which You have Sui Generis Database Rights, then the
|
||||
database in which You have Sui Generis Database Rights (but not its
|
||||
individual contents) is Adapted Material; and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share all
|
||||
or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
Section 5 – Disclaimer of Warranties and Limitation of Liability
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
a. Unless otherwise separately undertaken by the Licensor, to the
|
||||
extent possible, the Licensor offers the Licensed Material as-is and
|
||||
as-available, and makes no representations or warranties of any kind
|
||||
concerning the Licensed Material, whether express, implied,
|
||||
statutory, or other. This includes, without limitation, warranties of
|
||||
title, merchantability, fitness for a particular purpose,
|
||||
non-infringement, absence of latent or other defects, accuracy, or
|
||||
the presence or absence of errors, whether or not known or
|
||||
discoverable. Where disclaimers of warranties are not allowed in full
|
||||
or in part, this disclaimer may not apply to You.
|
||||
|
||||
b. To the extent possible, in no event will the Licensor be liable to
|
||||
You on any legal theory (including, without limitation, negligence)
|
||||
or otherwise for any direct, special, indirect, incidental,
|
||||
consequential, punitive, exemplary, or other losses, costs, expenses,
|
||||
or damages arising out of this Public License or use of the Licensed
|
||||
Material, even if the Licensor has been advised of the possibility of
|
||||
such losses, costs, expenses, or damages. Where a limitation of
|
||||
liability is not allowed in full or in part, this limitation may not
|
||||
apply to You.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent possible,
|
||||
most closely approximates an absolute disclaimer and waiver of all
|
||||
liability.
|
||||
|
||||
Section 6 – Term and Termination
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
a. This Public License applies for the term of the Copyright and Similar
|
||||
Rights licensed here. However, if You fail to comply with this Public
|
||||
License, then Your rights under this Public License terminate
|
||||
automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided it is
|
||||
cured within 30 days of Your discovery of the violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any right
|
||||
the Licensor may have to seek remedies for Your violations of this
|
||||
Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the Licensed
|
||||
Material under separate terms or conditions or stop distributing the
|
||||
Licensed Material at any time; however, doing so will not terminate
|
||||
this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
Section 7 – Other Terms and Conditions
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different terms
|
||||
or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and independent
|
||||
of the terms and conditions of this Public License.
|
||||
|
||||
Section 8 – Interpretation
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and shall
|
||||
not be interpreted to, reduce, limit, restrict, or impose conditions
|
||||
on any use of the Licensed Material that could lawfully be made
|
||||
without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted as a
|
||||
limitation upon, or waiver of, any privileges and immunities that
|
||||
apply to the Licensor or You, including from the legal processes of
|
||||
any jurisdiction or authority.
|
||||
|
||||
Creative Commons is not a party to its public licenses.
|
||||
Notwithstanding, Creative Commons may elect to apply one of its
|
||||
public licenses to material it publishes and in those instances will
|
||||
be considered the “Licensor.” Except for the limited purpose of
|
||||
indicating that material is shared under a Creative Commons public
|
||||
license or as otherwise permitted by the Creative Commons policies
|
||||
published at
|
||||
`creativecommons.org/policies <http://creativecommons.org/policies>`__,
|
||||
Creative Commons does not authorize the use of the trademark
|
||||
“Creative Commons” or any other trademark or logo of Creative
|
||||
Commons without its prior written consent including, without
|
||||
limitation, in connection with any unauthorized modifications to any
|
||||
of its public licenses or any other arrangements, understandings, or
|
||||
agreements concerning use of licensed material. For the avoidance of
|
||||
doubt, this paragraph does not form part of the public licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org
|
13
deps/QDark/MANIFEST.in
vendored
Normal file
13
deps/QDark/MANIFEST.in
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
#
|
||||
# MANIFEST.in
|
||||
#
|
||||
# Manifest template for creating the PyLudic source distribution.
|
||||
|
||||
include MANIFEST.in
|
||||
include setup.py
|
||||
include AUTHORS.rst
|
||||
include CHANGES.rst
|
||||
include CONTRIBUTING.rst
|
||||
include LICENSE.rst
|
||||
include README.rst
|
||||
include qdarkstyle/*
|
36
deps/QDark/PKGBUILD
vendored
Normal file
36
deps/QDark/PKGBUILD
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
# Submitter: Colin Duquesnoy <colin.duquesnoy@gmail.com>
|
||||
# Maintainer: Colin Duquesnoy <colin.duquesnoy@gmail.com>
|
||||
pkgbase=python-qdarkstyle
|
||||
pkgname=('python2-qdarkstyle' 'python-qdarkstyle')
|
||||
pkgver=1.16
|
||||
_pkgver=1.16
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url="https://github.com/davidhalter/qdarkstyle"
|
||||
license=('MIT')
|
||||
depends=('python2')
|
||||
makedepends=('python2-setuptools' 'python-setuptools')
|
||||
source=("https://pypi.python.org/packages/source/Q/QDarkStyle/QDarkStyle-${_pkgver}.tar.gz")
|
||||
md5sums=('6d742d304406a1a6733a27542402ce82')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/QDarkStyle-${_pkgver}"
|
||||
}
|
||||
|
||||
package_python-qdarkstyle() {
|
||||
pkgdesc="A dark stylesheet for pyside/pyqt applications"
|
||||
depends=('python')
|
||||
cd "$srcdir/QDarkStyle-${_pkgver}"
|
||||
python3 setup.py install --root="$pkgdir/" --optimize=1
|
||||
|
||||
install -D -m644 "$srcdir/QDarkStyle-${_pkgver}/COPYING" $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
||||
package_python2-qdarkstyle() {
|
||||
pkgdesc="A dark stylesheet for pyside/pyqt applications"
|
||||
depends=('python2')
|
||||
cd "$srcdir/QDarkStyle-${_pkgver}"
|
||||
python2 setup.py install --root="$pkgdir/" --optimize=1
|
||||
|
||||
install -D -m644 "$srcdir/QDarkStyle-${_pkgver}/COPYING" $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
292
deps/QDark/README.rst
vendored
Normal file
292
deps/QDark/README.rst
vendored
Normal file
@ -0,0 +1,292 @@
|
||||
QDarkStylesheet
|
||||
===============
|
||||
|
||||
|Build Status| |Docs Status| |Latest PyPI version| |License: MIT|
|
||||
|License: CC BY 4.0| |Conduct|
|
||||
|
||||
The most complete dark stylesheet for Qt application (Qt4, Qt5, PySide,
|
||||
PySide2, PyQt4, PyQt5, QtPy, PyQtGraph, Qt.Py).
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
|
||||
Python
|
||||
~~~~~~
|
||||
|
||||
From PyPI: Get the latest stable version of ``qdarkstyle`` package using
|
||||
*pip* (preferable):
|
||||
|
||||
.. code:: bash
|
||||
|
||||
pip install qdarkstyle
|
||||
|
||||
|
||||
From code: Download/clone the project, go to ``qdarkstyle`` folder then:
|
||||
|
||||
- You can use the *setup* script and pip install.
|
||||
|
||||
.. code:: bash
|
||||
|
||||
pip install .
|
||||
|
||||
|
||||
- Or, you can use the *setup* script with Python:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
python setup.py install
|
||||
|
||||
|
||||
C++
|
||||
~~~
|
||||
|
||||
- Download/clone the project and copy the following files to your
|
||||
application directory (keep the existing directory hierarchy):
|
||||
|
||||
- **qdarkstyle/style.qss**
|
||||
- **qdarkstyle/style.qrc**
|
||||
- **qdarkstyle/rc/** (the whole directory)
|
||||
|
||||
|
||||
- Add **qdarkstyle/style.qrc** to your **.pro file** as follows:
|
||||
|
||||
.. code:: c++
|
||||
|
||||
RESOURCES += qdarkstyle/style.qrc
|
||||
|
||||
|
||||
- Load the stylesheet:
|
||||
|
||||
.. code:: c++
|
||||
|
||||
QFile f(":qdarkstyle/style.qss");
|
||||
|
||||
if (!f.exists()) {
|
||||
printf("Unable to set stylesheet, file not found\n");
|
||||
}
|
||||
else {
|
||||
f.open(QFile::ReadOnly | QFile::Text);
|
||||
QTextStream ts(&f);
|
||||
qApp->setStyleSheet(ts.readAll());
|
||||
}
|
||||
|
||||
|
||||
Note: The ":" in the file name is necessary to define that file as a
|
||||
resource library. For more information see the discussion
|
||||
`here <https://github.com/ColinDuquesnoy/QDarkStyleSheet/pull/87>`__.
|
||||
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
If your project already uses QtPy or you need to set it programmatically,
|
||||
it is far more simple
|
||||
|
||||
.. code:: python
|
||||
|
||||
import sys
|
||||
import qdarkstyle
|
||||
import os
|
||||
|
||||
# set the environment variable to use a specific wrapper
|
||||
# it can be set to pyqt, pyqt5, pyside or pyside2 (not implemented yet)
|
||||
# you do not need to use QtPy to set this variable
|
||||
os.environ['QT_API'] = 'pyqt5'
|
||||
|
||||
# import from QtPy instead of doing it directly
|
||||
# note that QtPy always uses PyQt5 API
|
||||
from qtpy import QtWidgets
|
||||
|
||||
# create the application and the main window
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
window = QtWidgets.QMainWindow()
|
||||
|
||||
# setup stylesheet
|
||||
# the default system in qdarkstyle uses qtpy environment variable
|
||||
app.setStyleSheet(qdarkstyle.load_stylesheet())
|
||||
|
||||
# run
|
||||
window.show()
|
||||
app.exec_()
|
||||
|
||||
|
||||
If you are using PyQt5 directly, see the complete example
|
||||
|
||||
.. code:: python
|
||||
|
||||
import sys
|
||||
import qdarkstyle
|
||||
from PyQt5 import QtWidgets
|
||||
|
||||
# create the application and the main window
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
window = QtWidgets.QMainWindow()
|
||||
|
||||
# setup stylesheet
|
||||
app.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5())
|
||||
# or in new API
|
||||
app.setStyleSheet(qdarkstyle.load_stylesheet(qt_api='pyqt5'))
|
||||
|
||||
# run
|
||||
window.show()
|
||||
app.exec_()
|
||||
|
||||
|
||||
Here is an example using PySide2
|
||||
|
||||
.. code:: python
|
||||
|
||||
import sys
|
||||
import qdarkstyle
|
||||
from PyQt5 import QtWidgets
|
||||
|
||||
# create the application and the main window
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
window = QtWidgets.QMainWindow()
|
||||
|
||||
# setup stylesheet
|
||||
app.setStyleSheet(qdarkstyle.load_stylesheet_pyside2())
|
||||
# or in new API
|
||||
app.setStyleSheet(qdarkstyle.load_stylesheet(qt_api='pyside2'))
|
||||
|
||||
# run
|
||||
window.show()
|
||||
app.exec_()
|
||||
|
||||
|
||||
If you use PyQtGraph, then the code is
|
||||
|
||||
.. code:: python
|
||||
|
||||
import sys
|
||||
import qdarkstyle
|
||||
import os
|
||||
|
||||
# set the environment variable to use a specific wrapper
|
||||
# it can be set to PyQt, PyQt5, PySide or PySide2 (not implemented yet)
|
||||
os.environ['PYQTGRAPH_QT_LIB'] = 'PyQt5'
|
||||
|
||||
# import from pyqtgraph instead of doing it directly
|
||||
# note that PyQtGraph always uses PyQt4 API
|
||||
from pyqtgraph.Qt import QtGui
|
||||
|
||||
# create the application and the main window
|
||||
app = QtGui.QApplication(sys.argv)
|
||||
window = QtGui.QMainWindow()
|
||||
|
||||
# setup stylesheet
|
||||
app.setStyleSheet(qdarkstyle.load_stylesheet(qt_api=os.environ['PYQTGRAPH_QT_LIB'])
|
||||
|
||||
# run
|
||||
window.show()
|
||||
app.exec_()
|
||||
|
||||
If you are using Qt.py, which is different from qtpy, you should install
|
||||
qtpy then set both to the same binding.
|
||||
|
||||
|
||||
*There is an example included in the *example* folder. You can run the
|
||||
script without installing qdarkstyle. You only need to have PySide or
|
||||
PySide2 or PyQt4 or PyQt5 installed on your system.*
|
||||
|
||||
|
||||
What is new?
|
||||
------------
|
||||
|
||||
In the version 2.6 and later, a reestructure stylesheet is provided. The
|
||||
palette has only 9 colors. Most widgets are revised and their styles
|
||||
were improved. We also provide a command line (script) to get info that
|
||||
could be used when opening issues. See the image below.
|
||||
|
||||
From 2.7, we have added SCSS, so the palette can be accessed programatically.
|
||||
Also many scripts were added to give freedom fro developers who wants to
|
||||
change the colors of our palette. All images and icons were revised, also
|
||||
creating SVG files for all of them.
|
||||
|
||||
From 2.8, we moved to QtPy to simplify your code, thus this is a
|
||||
required dependency now.
|
||||
|
||||
|
||||
Screenshots
|
||||
-----------
|
||||
|
||||
Here are a few snapshots comparing the use of QDarkStyle and the
|
||||
default style. Click in the image to zoom.
|
||||
|
||||
|
||||
Containers (no tabs) and Buttons
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/dark_containers_buttons.png
|
||||
|
||||
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/images/no_dark_containers_buttons.png
|
||||
|
||||
|
||||
Containers (tabs) and Displays
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/dark_containers_tabs_displays.png
|
||||
|
||||
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/no_dark_containers_tabs_displays.png
|
||||
|
||||
|
||||
Widgets and Inputs (fields)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/dark_widgets_inputs_fields.png
|
||||
|
||||
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/no_dark_widgets_inputs_fields.png
|
||||
|
||||
|
||||
Views and Inputs (no fields)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/dark_views_inputs_no_fields.png
|
||||
|
||||
.. image:: https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/images/no_dark_views_inputs_no_fields.png
|
||||
|
||||
|
||||
Changelog
|
||||
---------
|
||||
|
||||
Please, see `CHANGES <CHANGES.rst>`__ file.
|
||||
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
This project is licensed under the MIT license. Images contained in this
|
||||
project are licensed under CC-BY license.
|
||||
|
||||
For more information see `LICENSE <LICENSE.rst>`__ file.
|
||||
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
||||
For more information see `AUTHORS <AUTHORS.rst>`__ file.
|
||||
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
Most widgets have been styled. If you find a widget that has not been
|
||||
style, just open an issue on the issue tracker or, better, submit a pull
|
||||
request.
|
||||
|
||||
If you want to contribute, see `CONTRIBUTING <CONTRIBUTING.rst>`__ file.
|
||||
|
||||
.. |Build Status| image:: https://travis-ci.org/ColinDuquesnoy/QDarkStyleSheet.png?branch=master
|
||||
:target: https://travis-ci.org/ColinDuquesnoy/QDarkStyleSheet
|
||||
.. |Docs Status| image:: https://readthedocs.org/projects/qdarkstylesheet/badge/?version=latest&style=flat
|
||||
:target: https://qdarkstylesheet.readthedocs.io
|
||||
.. |Latest PyPI version| image:: https://img.shields.io/pypi/v/QDarkStyle.svg
|
||||
:target: https://pypi.python.org/pypi/QDarkStyle
|
||||
.. |License: MIT| image:: https://img.shields.io/dub/l/vibe-d.svg?color=lightgrey
|
||||
:target: https://opensource.org/licenses/MIT
|
||||
.. |License: CC BY 4.0| image:: https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg
|
||||
:target: https://creativecommons.org/licenses/by/4.0/
|
||||
.. |Conduct| image:: https://img.shields.io/badge/code%20of%20conduct-contributor%20covenant-green.svg?style=flat&color=lightgrey
|
||||
:target: http://contributor-covenant.org/version/1/4/
|
20
deps/QDark/docs/Makefile
vendored
Normal file
20
deps/QDark/docs/Makefile
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
# Minimal makefile for Sphinx documentation
|
||||
#
|
||||
|
||||
# You can set these variables from the command line.
|
||||
SPHINXOPTS =
|
||||
SPHINXBUILD = sphinx-build
|
||||
SPHINXPROJ = QDarkStyle
|
||||
SOURCEDIR = .
|
||||
BUILDDIR = build
|
||||
|
||||
# Put it first so that "make" without argument is like "make help".
|
||||
help:
|
||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
|
||||
.PHONY: help Makefile
|
||||
|
||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||
%: Makefile
|
||||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
1
deps/QDark/docs/_static/css/badge_only.css
vendored
Normal file
1
deps/QDark/docs/_static/css/badge_only.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../fonts/fontawesome-webfont.eot");src:url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff") format("woff"),url("../fonts/fontawesome-webfont.ttf") format("truetype"),url("../fonts/fontawesome-webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa{display:inline-block;text-decoration:inherit}li .fa{display:inline-block}li .fa-large:before,li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas li .fa{width:.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up{height:auto;max-height:100%;overflow-y:scroll}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px;max-height:90%}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}}
|
4766
deps/QDark/docs/_static/css/theme.css
vendored
Normal file
4766
deps/QDark/docs/_static/css/theme.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
deps/QDark/docs/_static/fonts/Inconsolata-Bold.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Inconsolata-Bold.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Inconsolata-Regular.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Inconsolata-Regular.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Inconsolata.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Inconsolata.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato-Bold.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato-Bold.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato-Regular.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato-Regular.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bold.eot
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bold.eot
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bold.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bold.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bold.woff
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bold.woff
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bold.woff2
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bold.woff2
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bolditalic.eot
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bolditalic.eot
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bolditalic.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bolditalic.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bolditalic.woff
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bolditalic.woff
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bolditalic.woff2
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-bolditalic.woff2
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-italic.eot
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-italic.eot
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-italic.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-italic.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-italic.woff
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-italic.woff
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-italic.woff2
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-italic.woff2
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-regular.eot
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-regular.eot
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-regular.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-regular.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-regular.woff
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-regular.woff
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/Lato/lato-regular.woff2
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/Lato/lato-regular.woff2
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/RobotoSlab-Bold.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/RobotoSlab-Bold.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/RobotoSlab-Regular.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/RobotoSlab-Regular.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/fontawesome-webfont.eot
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/fontawesome-webfont.eot
vendored
Normal file
Binary file not shown.
2671
deps/QDark/docs/_static/fonts/fontawesome-webfont.svg
vendored
Normal file
2671
deps/QDark/docs/_static/fonts/fontawesome-webfont.svg
vendored
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 434 KiB |
BIN
deps/QDark/docs/_static/fonts/fontawesome-webfont.ttf
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/fontawesome-webfont.ttf
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/fontawesome-webfont.woff
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/fontawesome-webfont.woff
vendored
Normal file
Binary file not shown.
BIN
deps/QDark/docs/_static/fonts/fontawesome-webfont.woff2
vendored
Normal file
BIN
deps/QDark/docs/_static/fonts/fontawesome-webfont.woff2
vendored
Normal file
Binary file not shown.
4
deps/QDark/docs/_static/js/modernizr.min.js
vendored
Normal file
4
deps/QDark/docs/_static/js/modernizr.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
deps/QDark/docs/_static/js/theme.js
vendored
Normal file
3
deps/QDark/docs/_static/js/theme.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
/* sphinx_rtd_theme version 0.4.3 | MIT license */
|
||||
/* Built 20190212 16:02 */
|
||||
require=function r(s,a,l){function c(e,n){if(!a[e]){if(!s[e]){var i="function"==typeof require&&require;if(!n&&i)return i(e,!0);if(u)return u(e,!0);var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}var o=a[e]={exports:{}};s[e][0].call(o.exports,function(n){return c(s[e][1][n]||n)},o,o.exports,r,s,a,l)}return a[e].exports}for(var u="function"==typeof require&&require,n=0;n<l.length;n++)c(l[n]);return c}({"sphinx-rtd-theme":[function(n,e,i){var jQuery="undefined"!=typeof window?window.jQuery:n("jquery");e.exports.ThemeNav={navBar:null,win:null,winScroll:!1,winResize:!1,linkScroll:!1,winPosition:0,winHeight:null,docHeight:null,isRunning:!1,enable:function(e){var i=this;void 0===e&&(e=!0),i.isRunning||(i.isRunning=!0,jQuery(function(n){i.init(n),i.reset(),i.win.on("hashchange",i.reset),e&&i.win.on("scroll",function(){i.linkScroll||i.winScroll||(i.winScroll=!0,requestAnimationFrame(function(){i.onScroll()}))}),i.win.on("resize",function(){i.winResize||(i.winResize=!0,requestAnimationFrame(function(){i.onResize()}))}),i.onResize()}))},enableSticky:function(){this.enable(!0)},init:function(i){i(document);var t=this;this.navBar=i("div.wy-side-scroll:first"),this.win=i(window),i(document).on("click","[data-toggle='wy-nav-top']",function(){i("[data-toggle='wy-nav-shift']").toggleClass("shift"),i("[data-toggle='rst-versions']").toggleClass("shift")}).on("click",".wy-menu-vertical .current ul li a",function(){var n=i(this);i("[data-toggle='wy-nav-shift']").removeClass("shift"),i("[data-toggle='rst-versions']").toggleClass("shift"),t.toggleCurrent(n),t.hashChange()}).on("click","[data-toggle='rst-current-version']",function(){i("[data-toggle='rst-versions']").toggleClass("shift-up")}),i("table.docutils:not(.field-list,.footnote,.citation)").wrap("<div class='wy-table-responsive'></div>"),i("table.docutils.footnote").wrap("<div class='wy-table-responsive footnote'></div>"),i("table.docutils.citation").wrap("<div class='wy-table-responsive citation'></div>"),i(".wy-menu-vertical ul").not(".simple").siblings("a").each(function(){var e=i(this);expand=i('<span class="toctree-expand"></span>'),expand.on("click",function(n){return t.toggleCurrent(e),n.stopPropagation(),!1}),e.prepend(expand)})},reset:function(){var n=encodeURI(window.location.hash)||"#";try{var e=$(".wy-menu-vertical"),i=e.find('[href="'+n+'"]');if(0===i.length){var t=$('.document [id="'+n.substring(1)+'"]').closest("div.section");0===(i=e.find('[href="#'+t.attr("id")+'"]')).length&&(i=e.find('[href="#"]'))}0<i.length&&($(".wy-menu-vertical .current").removeClass("current"),i.addClass("current"),i.closest("li.toctree-l1").addClass("current"),i.closest("li.toctree-l1").parent().addClass("current"),i.closest("li.toctree-l1").addClass("current"),i.closest("li.toctree-l2").addClass("current"),i.closest("li.toctree-l3").addClass("current"),i.closest("li.toctree-l4").addClass("current"),i[0].scrollIntoView())}catch(o){console.log("Error expanding nav for anchor",o)}},onScroll:function(){this.winScroll=!1;var n=this.win.scrollTop(),e=n+this.winHeight,i=this.navBar.scrollTop()+(n-this.winPosition);n<0||e>this.docHeight||(this.navBar.scrollTop(i),this.winPosition=n)},onResize:function(){this.winResize=!1,this.winHeight=this.win.height(),this.docHeight=$(document).height()},hashChange:function(){this.linkScroll=!0,this.win.one("hashchange",function(){this.linkScroll=!1})},toggleCurrent:function(n){var e=n.closest("li");e.siblings("li.current").removeClass("current"),e.siblings().find("li.current").removeClass("current"),e.find("> ul li.current").removeClass("current"),e.toggleClass("current")}},"undefined"!=typeof window&&(window.SphinxRtdTheme={Navigation:e.exports.ThemeNav,StickyNav:e.exports.ThemeNav}),function(){for(var r=0,n=["ms","moz","webkit","o"],e=0;e<n.length&&!window.requestAnimationFrame;++e)window.requestAnimationFrame=window[n[e]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[n[e]+"CancelAnimationFrame"]||window[n[e]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(n,e){var i=(new Date).getTime(),t=Math.max(0,16-(i-r)),o=window.setTimeout(function(){n(i+t)},t);return r=i+t,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(n){clearTimeout(n)})}()},{jquery:"jquery"}]},{},["sphinx-rtd-theme"]);
|
1
deps/QDark/docs/authors.rst
vendored
Normal file
1
deps/QDark/docs/authors.rst
vendored
Normal file
@ -0,0 +1 @@
|
||||
.. include:: ../AUTHORS.rst
|
1
deps/QDark/docs/changes.rst
vendored
Normal file
1
deps/QDark/docs/changes.rst
vendored
Normal file
@ -0,0 +1 @@
|
||||
.. include:: ../CHANGES.rst
|
1
deps/QDark/docs/code_of_conduct.rst
vendored
Normal file
1
deps/QDark/docs/code_of_conduct.rst
vendored
Normal file
@ -0,0 +1 @@
|
||||
.. include:: ../CODE_OF_CONDUCT.rst
|
181
deps/QDark/docs/conf.py
vendored
Normal file
181
deps/QDark/docs/conf.py
vendored
Normal file
@ -0,0 +1,181 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# QDarkStyle documentation build configuration file, created by
|
||||
# sphinx-quickstart on Tue May 8 14:23:26 2018.
|
||||
#
|
||||
# This file is execfile()d with the current directory set to its
|
||||
# containing dir.
|
||||
#
|
||||
# Note that not all possible configuration values are present in this
|
||||
# autogenerated file.
|
||||
#
|
||||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.abspath('..'))
|
||||
|
||||
import qdarkstyle
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
# If your documentation needs a minimal Sphinx version, state it here.
|
||||
#
|
||||
# needs_sphinx = '1.0'
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = ['sphinx.ext.autodoc',
|
||||
'sphinx.ext.doctest',
|
||||
'sphinx.ext.intersphinx',
|
||||
'sphinx.ext.todo',
|
||||
'sphinx.ext.coverage',
|
||||
'sphinx.ext.mathjax',
|
||||
'sphinx.ext.ifconfig',
|
||||
'sphinx.ext.viewcode',
|
||||
'sphinx.ext.githubpages',
|
||||
'sphinx.ext.napoleon']
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
||||
# The suffix(es) of source filenames.
|
||||
# You can specify multiple suffix as a list of string:
|
||||
#
|
||||
source_suffix = ['.rst']
|
||||
#source_suffix = '.rst'
|
||||
|
||||
# The master toctree document.
|
||||
master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
project = 'QDarkStyle'
|
||||
copyright = '2020, Colin Duquesnoy'
|
||||
author = 'Colin Duquesnoy'
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = qdarkstyle.__version__
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = ''
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
#
|
||||
# This is also used if you do content translation via gettext catalogs.
|
||||
# Usually you set "language" from the command line for these cases.
|
||||
language = None
|
||||
|
||||
# List of patterns, relative to source directory, that match files and
|
||||
# directories to ignore when looking for source files.
|
||||
# This patterns also effect to html_static_path and html_extra_path
|
||||
exclude_patterns = []
|
||||
|
||||
# The name of the Pygments (syntax highlighting) style to use.
|
||||
pygments_style = 'sphinx'
|
||||
|
||||
# If true, `todo` and `todoList` produce output, else they produce nothing.
|
||||
todo_include_todos = True
|
||||
|
||||
|
||||
# -- Options for HTML output ----------------------------------------------
|
||||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
#
|
||||
html_theme = 'sphinx_rtd_theme'
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
# documentation.
|
||||
#
|
||||
# html_theme_options = {}
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
html_static_path = ['_static']
|
||||
|
||||
# Custom sidebar templates, must be a dictionary that maps document names
|
||||
# to template names.
|
||||
#
|
||||
# This is required for the alabaster theme
|
||||
# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
|
||||
html_sidebars = {
|
||||
'**': [
|
||||
'relations.html', # needs 'show_related': True theme option to display
|
||||
'searchbox.html',
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
# -- Options for HTMLHelp output ------------------------------------------
|
||||
|
||||
# Output file base name for HTML help builder.
|
||||
htmlhelp_basename = 'QDarkStyledoc'
|
||||
|
||||
|
||||
# -- Options for LaTeX output ---------------------------------------------
|
||||
|
||||
latex_elements = {
|
||||
# The paper size ('letterpaper' or 'a4paper').
|
||||
#
|
||||
# 'papersize': 'letterpaper',
|
||||
|
||||
# The font size ('10pt', '11pt' or '12pt').
|
||||
#
|
||||
# 'pointsize': '10pt',
|
||||
|
||||
# Additional stuff for the LaTeX preamble.
|
||||
#
|
||||
# 'preamble': '',
|
||||
|
||||
# Latex figure (float) alignment
|
||||
#
|
||||
# 'figure_align': 'htbp',
|
||||
}
|
||||
|
||||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title,
|
||||
# author, documentclass [howto, manual, or own class]).
|
||||
latex_documents = [
|
||||
(master_doc, 'QDarkStyle.tex', 'QDarkStyle Documentation',
|
||||
'Colin Duquesnoy', 'manual'),
|
||||
]
|
||||
|
||||
|
||||
# -- Options for manual page output ---------------------------------------
|
||||
|
||||
# One entry per manual page. List of tuples
|
||||
# (source start file, name, description, authors, manual section).
|
||||
man_pages = [
|
||||
(master_doc, 'qdarkstyle', 'QDarkStyle Documentation',
|
||||
[author], 1)
|
||||
]
|
||||
|
||||
|
||||
# -- Options for Texinfo output -------------------------------------------
|
||||
|
||||
# Grouping the document tree into Texinfo files. List of tuples
|
||||
# (source start file, target name, title, author,
|
||||
# dir menu entry, description, category)
|
||||
texinfo_documents = [
|
||||
(master_doc, 'QDarkStyle', 'QDarkStyle Documentation',
|
||||
author, 'QDarkStyle', 'One line description of project.',
|
||||
'Miscellaneous'),
|
||||
]
|
||||
|
||||
|
||||
# Example configuration for intersphinx: refer to the Python standard library.
|
||||
intersphinx_mapping = {'https://docs.python.org/': None}
|
1
deps/QDark/docs/contributing.rst
vendored
Normal file
1
deps/QDark/docs/contributing.rst
vendored
Normal file
@ -0,0 +1 @@
|
||||
.. include:: ../CONTRIBUTING.rst
|
7
deps/QDark/docs/example/example.rst
vendored
Normal file
7
deps/QDark/docs/example/example.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
example module
|
||||
==============
|
||||
|
||||
.. automodule:: example
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
7
deps/QDark/docs/example/modules.rst
vendored
Normal file
7
deps/QDark/docs/example/modules.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
example
|
||||
=======
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 4
|
||||
|
||||
example
|
28
deps/QDark/docs/index.rst
vendored
Normal file
28
deps/QDark/docs/index.rst
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
.. QDarkStyle documentation master file, created by
|
||||
sphinx-quickstart on Tue May 8 14:23:26 2018.
|
||||
You can adapt this file completely to your liking, but it should at least
|
||||
contain the root `toctree` directive.
|
||||
|
||||
Welcome to QDarkStyle's documentation!
|
||||
======================================
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
readme.rst
|
||||
example/modules.rst
|
||||
reference/modules.rst
|
||||
scripts/modules.rst
|
||||
known_issues.rst
|
||||
contributing.rst
|
||||
changes.rst
|
||||
authors.rst
|
||||
license.rst
|
||||
code_of_conduct.rst
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
* :ref:`genindex`
|
||||
* :ref:`modindex`
|
||||
* :ref:`search`
|
7
deps/QDark/docs/known_issues.rst
vendored
Normal file
7
deps/QDark/docs/known_issues.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
Known Issues
|
||||
============
|
||||
|
||||
Combo Box
|
||||
---------
|
||||
|
||||
Describe the problem, add some images and code.
|
1
deps/QDark/docs/license.rst
vendored
Normal file
1
deps/QDark/docs/license.rst
vendored
Normal file
@ -0,0 +1 @@
|
||||
.. include:: ../LICENSE.rst
|
36
deps/QDark/docs/make.bat
vendored
Normal file
36
deps/QDark/docs/make.bat
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
@ECHO OFF
|
||||
|
||||
pushd %~dp0
|
||||
|
||||
REM Command file for Sphinx documentation
|
||||
|
||||
if "%SPHINXBUILD%" == "" (
|
||||
set SPHINXBUILD=sphinx-build
|
||||
)
|
||||
set SOURCEDIR=.
|
||||
set BUILDDIR=build
|
||||
set SPHINXPROJ=QDarkStyle
|
||||
|
||||
if "%1" == "" goto help
|
||||
|
||||
%SPHINXBUILD% >NUL 2>NUL
|
||||
if errorlevel 9009 (
|
||||
echo.
|
||||
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
||||
echo.installed, then set the SPHINXBUILD environment variable to point
|
||||
echo.to the full path of the 'sphinx-build' executable. Alternatively you
|
||||
echo.may add the Sphinx directory to PATH.
|
||||
echo.
|
||||
echo.If you don't have Sphinx installed, grab it from
|
||||
echo.http://sphinx-doc.org/
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
|
||||
goto end
|
||||
|
||||
:help
|
||||
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
|
||||
|
||||
:end
|
||||
popd
|
1
deps/QDark/docs/readme.rst
vendored
Normal file
1
deps/QDark/docs/readme.rst
vendored
Normal file
@ -0,0 +1 @@
|
||||
.. include:: ../README.rst
|
7
deps/QDark/docs/reference/modules.rst
vendored
Normal file
7
deps/QDark/docs/reference/modules.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
qdarkstyle
|
||||
==========
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 4
|
||||
|
||||
qdarkstyle
|
7
deps/QDark/docs/reference/qdarkstyle.__main__.rst
vendored
Normal file
7
deps/QDark/docs/reference/qdarkstyle.__main__.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
qdarkstyle.\_\_main\_\_ module
|
||||
==============================
|
||||
|
||||
.. automodule:: qdarkstyle.__main__
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
7
deps/QDark/docs/reference/qdarkstyle.palette.rst
vendored
Normal file
7
deps/QDark/docs/reference/qdarkstyle.palette.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
qdarkstyle.palette module
|
||||
=========================
|
||||
|
||||
.. automodule:: qdarkstyle.palette
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
23
deps/QDark/docs/reference/qdarkstyle.rst
vendored
Normal file
23
deps/QDark/docs/reference/qdarkstyle.rst
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
qdarkstyle package
|
||||
==================
|
||||
|
||||
.. automodule:: qdarkstyle
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
Subpackages
|
||||
-----------
|
||||
|
||||
.. toctree::
|
||||
|
||||
qdarkstyle.utils
|
||||
|
||||
Submodules
|
||||
----------
|
||||
|
||||
.. toctree::
|
||||
|
||||
qdarkstyle.__main__
|
||||
qdarkstyle.palette
|
||||
qdarkstyle.style_rc
|
7
deps/QDark/docs/reference/qdarkstyle.style_rc.rst
vendored
Normal file
7
deps/QDark/docs/reference/qdarkstyle.style_rc.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
qdarkstyle.style\_rc module
|
||||
===========================
|
||||
|
||||
.. automodule:: qdarkstyle.style_rc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
7
deps/QDark/docs/reference/qdarkstyle.utils.images.rst
vendored
Normal file
7
deps/QDark/docs/reference/qdarkstyle.utils.images.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
qdarkstyle.utils.images module
|
||||
==============================
|
||||
|
||||
.. automodule:: qdarkstyle.utils.images
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
15
deps/QDark/docs/reference/qdarkstyle.utils.rst
vendored
Normal file
15
deps/QDark/docs/reference/qdarkstyle.utils.rst
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
qdarkstyle.utils package
|
||||
========================
|
||||
|
||||
.. automodule:: qdarkstyle.utils
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
Submodules
|
||||
----------
|
||||
|
||||
.. toctree::
|
||||
|
||||
qdarkstyle.utils.images
|
||||
qdarkstyle.utils.scss
|
7
deps/QDark/docs/reference/qdarkstyle.utils.scss.rst
vendored
Normal file
7
deps/QDark/docs/reference/qdarkstyle.utils.scss.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
qdarkstyle.utils.scss module
|
||||
============================
|
||||
|
||||
.. automodule:: qdarkstyle.utils.scss
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
9
deps/QDark/docs/scripts/modules.rst
vendored
Normal file
9
deps/QDark/docs/scripts/modules.rst
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
scripts
|
||||
=======
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 4
|
||||
|
||||
process_qrc
|
||||
process_ui
|
||||
run_ui_css_edition
|
7
deps/QDark/docs/scripts/process_qrc.rst
vendored
Normal file
7
deps/QDark/docs/scripts/process_qrc.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
process\_qrc module
|
||||
===================
|
||||
|
||||
.. automodule:: process_qrc
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
7
deps/QDark/docs/scripts/process_ui.rst
vendored
Normal file
7
deps/QDark/docs/scripts/process_ui.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
process\_ui module
|
||||
==================
|
||||
|
||||
.. automodule:: process_ui
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
7
deps/QDark/docs/scripts/run_ui_css_edition.rst
vendored
Normal file
7
deps/QDark/docs/scripts/run_ui_css_edition.rst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
run\_ui\_css\_edition module
|
||||
============================
|
||||
|
||||
.. automodule:: run_ui_css_edition
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
372
deps/QDark/example/example.py
vendored
Normal file
372
deps/QDark/example/example.py
vendored
Normal file
@ -0,0 +1,372 @@
|
||||
#!python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""Example of qdarkstyle use for Python and Qt applications.
|
||||
|
||||
This module a main window with every item that could be created with
|
||||
Qt Design (common ones) in the basic states (enabled/disabled), and
|
||||
(checked/unchecked) for those who has this attribute.
|
||||
|
||||
Requirements:
|
||||
|
||||
- Python 2 or Python 3
|
||||
- QtPy
|
||||
- PyQt5 or PyQt4 or PySide2 or PySide
|
||||
- PyQtGraph or Qt.Py (if choosen)
|
||||
|
||||
To run this example using PyQt5, simple do
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
python example.py
|
||||
|
||||
or
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
python example.py --qt_from=pyqt5
|
||||
|
||||
Other options for qt_from are: pyqt5, pyside2, pyqt, pyside, qtpy, pyqtgraph, and qt.py.
|
||||
Also, you can run the example without dark theme (no_dark), to check for problems.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
python example.py --qt_from=pyqt5 --no_dark
|
||||
|
||||
Note:
|
||||
qdarkstyle does not have to be installed to run the example.
|
||||
|
||||
"""
|
||||
|
||||
# Standard library imports
|
||||
|
||||
import argparse
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import platform
|
||||
import time
|
||||
|
||||
# Make the example runnable without the need to install and include ui
|
||||
sys.path.insert(0, os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + '/..'))
|
||||
sys.path.insert(0, os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + '/ui'))
|
||||
|
||||
# Must be in this place, after setting path, to not need to install
|
||||
import qdarkstyle # noqa: E402
|
||||
|
||||
# Set log for debug
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
# Constants
|
||||
SCREENSHOTS_PATH = qdarkstyle.IMAGES_PATH
|
||||
|
||||
|
||||
def main():
|
||||
"""Execute QDarkStyle example."""
|
||||
parser = argparse.ArgumentParser(description=__doc__,
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter)
|
||||
parser.add_argument('--qt_from', default='qtpy', type=str,
|
||||
choices=['pyqt5', 'pyqt', 'pyside2', 'pyside', 'qtpy', 'pyqtgraph', 'qt.py'],
|
||||
help="Choose which binding and/or abstraction is to be used to run the example.")
|
||||
parser.add_argument('--no_dark', action='store_true',
|
||||
help="Exihibts the original window (without qdarkstyle).")
|
||||
parser.add_argument('--test', action='store_true',
|
||||
help="Auto close window after 2s.")
|
||||
parser.add_argument('--reset', action='store_true',
|
||||
help="Reset GUI settings (position, size) then opens.")
|
||||
parser.add_argument('--screenshots', action='store_true',
|
||||
help="Generate screenshots on images folder.")
|
||||
|
||||
# Parsing arguments from command line
|
||||
args = parser.parse_args()
|
||||
|
||||
# To avoid problems when testing without screen
|
||||
if args.test or args.screenshots:
|
||||
os.environ['QT_QPA_PLATFORM'] = 'offscreen'
|
||||
|
||||
# Set QT_API variable before importing QtPy
|
||||
if args.qt_from in ['pyqt', 'pyqt5', 'pyside', 'pyside2']:
|
||||
os.environ['QT_API'] = args.qt_from
|
||||
elif args.qt_from == 'pyqtgraph':
|
||||
os.environ['QT_API'] = os.environ['PYQTGRAPH_QT_LIB']
|
||||
elif args.qt_from in ['qt.py', 'qt']:
|
||||
try:
|
||||
import Qt
|
||||
except ImportError:
|
||||
print('Could not import Qt (Qt.Py)')
|
||||
else:
|
||||
os.environ['QT_API'] = Qt.__binding__
|
||||
|
||||
# QtPy imports
|
||||
from qtpy import API_NAME, QT_VERSION, PYQT_VERSION, PYSIDE_VERSION
|
||||
from qtpy import __version__ as QTPY_VERSION
|
||||
from qtpy.QtWidgets import (QApplication, QMainWindow, QDockWidget,
|
||||
QStatusBar, QLabel, QPushButton, QMenu)
|
||||
from qtpy.QtCore import QTimer, Qt, QSettings
|
||||
|
||||
# Set API_VERSION variable
|
||||
API_VERSION = ''
|
||||
|
||||
if PYQT_VERSION:
|
||||
API_VERSION = PYQT_VERSION
|
||||
elif PYSIDE_VERSION:
|
||||
API_VERSION = PYSIDE_VERSION
|
||||
else:
|
||||
API_VERSION = 'Not found'
|
||||
|
||||
# Import examples UI
|
||||
from mw_menus_ui import Ui_MainWindow as ui_main
|
||||
|
||||
from dw_buttons_ui import Ui_DockWidget as ui_buttons
|
||||
from dw_displays_ui import Ui_DockWidget as ui_displays
|
||||
from dw_inputs_fields_ui import Ui_DockWidget as ui_inputs_fields
|
||||
from dw_inputs_no_fields_ui import Ui_DockWidget as ui_inputs_no_fields
|
||||
|
||||
from dw_widgets_ui import Ui_DockWidget as ui_widgets
|
||||
from dw_views_ui import Ui_DockWidget as ui_views
|
||||
from dw_containers_tabs_ui import Ui_DockWidget as ui_containers_tabs
|
||||
from dw_containers_no_tabs_ui import Ui_DockWidget as ui_containers_no_tabs
|
||||
|
||||
# create the application
|
||||
app = QApplication(sys.argv)
|
||||
app.setOrganizationName('QDarkStyle')
|
||||
app.setApplicationName('QDarkStyle Example')
|
||||
|
||||
style = ''
|
||||
|
||||
if not args.no_dark:
|
||||
style = qdarkstyle.load_stylesheet()
|
||||
|
||||
app.setStyleSheet(style)
|
||||
|
||||
# create main window
|
||||
window = QMainWindow()
|
||||
window.setObjectName('mainwindow')
|
||||
|
||||
ui = ui_main()
|
||||
ui.setupUi(window)
|
||||
|
||||
title = ("QDarkStyle Example - "
|
||||
+ "(QDarkStyle=v" + qdarkstyle.__version__
|
||||
+ ", QtPy=v" + QTPY_VERSION
|
||||
+ ", " + API_NAME + "=v" + API_VERSION
|
||||
+ ", Qt=v" + QT_VERSION
|
||||
+ ", Python=v" + platform.python_version() + ")")
|
||||
|
||||
_logger.info(title)
|
||||
|
||||
window.setWindowTitle(title)
|
||||
|
||||
# Create docks for buttons
|
||||
dw_buttons = QDockWidget()
|
||||
dw_buttons.setObjectName('buttons')
|
||||
ui_buttons = ui_buttons()
|
||||
ui_buttons.setupUi(dw_buttons)
|
||||
window.addDockWidget(Qt.RightDockWidgetArea, dw_buttons)
|
||||
|
||||
# Add actions on popup toolbuttons
|
||||
menu = QMenu()
|
||||
|
||||
for action in ['Action A', 'Action B', 'Action C']:
|
||||
menu.addAction(action)
|
||||
|
||||
ui_buttons.toolButtonDelayedPopup.setMenu(menu)
|
||||
ui_buttons.toolButtonInstantPopup.setMenu(menu)
|
||||
ui_buttons.toolButtonMenuButtonPopup.setMenu(menu)
|
||||
|
||||
# Create docks for buttons
|
||||
dw_displays = QDockWidget()
|
||||
dw_displays.setObjectName('displays')
|
||||
ui_displays = ui_displays()
|
||||
ui_displays.setupUi(dw_displays)
|
||||
window.addDockWidget(Qt.RightDockWidgetArea, dw_displays)
|
||||
|
||||
# Create docks for inputs - no fields
|
||||
dw_inputs_no_fields = QDockWidget()
|
||||
dw_inputs_no_fields.setObjectName('inputs_no_fields')
|
||||
ui_inputs_no_fields = ui_inputs_no_fields()
|
||||
ui_inputs_no_fields.setupUi(dw_inputs_no_fields)
|
||||
window.addDockWidget(Qt.RightDockWidgetArea, dw_inputs_no_fields)
|
||||
|
||||
# Create docks for inputs - fields
|
||||
dw_inputs_fields = QDockWidget()
|
||||
dw_inputs_fields.setObjectName('inputs_fields')
|
||||
ui_inputs_fields = ui_inputs_fields()
|
||||
ui_inputs_fields.setupUi(dw_inputs_fields)
|
||||
window.addDockWidget(Qt.RightDockWidgetArea, dw_inputs_fields)
|
||||
|
||||
# Create docks for widgets
|
||||
dw_widgets = QDockWidget()
|
||||
dw_widgets.setObjectName('widgets')
|
||||
ui_widgets = ui_widgets()
|
||||
ui_widgets.setupUi(dw_widgets)
|
||||
window.addDockWidget(Qt.LeftDockWidgetArea, dw_widgets)
|
||||
|
||||
# Create docks for views
|
||||
dw_views = QDockWidget()
|
||||
dw_views.setObjectName('views')
|
||||
ui_views = ui_views()
|
||||
ui_views.setupUi(dw_views)
|
||||
window.addDockWidget(Qt.LeftDockWidgetArea, dw_views)
|
||||
|
||||
# Create docks for containers - no tabs
|
||||
dw_containers_no_tabs = QDockWidget()
|
||||
dw_containers_no_tabs.setObjectName('containers_no_tabs')
|
||||
ui_containers_no_tabs = ui_containers_no_tabs()
|
||||
ui_containers_no_tabs.setupUi(dw_containers_no_tabs)
|
||||
window.addDockWidget(Qt.LeftDockWidgetArea, dw_containers_no_tabs)
|
||||
|
||||
# Create docks for containters - tabs
|
||||
dw_containers_tabs = QDockWidget()
|
||||
dw_containers_tabs.setObjectName('containers_tabs')
|
||||
ui_containers_tabs = ui_containers_tabs()
|
||||
ui_containers_tabs.setupUi(dw_containers_tabs)
|
||||
window.addDockWidget(Qt.LeftDockWidgetArea, dw_containers_tabs)
|
||||
|
||||
# Tabify right docks
|
||||
window.tabifyDockWidget(dw_buttons, dw_displays)
|
||||
window.tabifyDockWidget(dw_displays, dw_inputs_fields)
|
||||
window.tabifyDockWidget(dw_inputs_fields, dw_inputs_no_fields)
|
||||
|
||||
# Tabify left docks
|
||||
window.tabifyDockWidget(dw_containers_no_tabs, dw_containers_tabs)
|
||||
window.tabifyDockWidget(dw_containers_tabs, dw_widgets)
|
||||
window.tabifyDockWidget(dw_widgets, dw_views)
|
||||
|
||||
# Issues #9120, #9121 on Spyder
|
||||
qstatusbar = QStatusBar()
|
||||
qstatusbar.addWidget(QLabel('Issue Spyder #9120, #9121 - background not matching.'))
|
||||
qstatusbar.addWidget(QPushButton('OK'))
|
||||
|
||||
# Add info also in status bar for screenshots get it
|
||||
qstatusbar.addWidget(QLabel('INFO: ' + title))
|
||||
window.setStatusBar(qstatusbar)
|
||||
|
||||
# Todo: add report info and other info in HELP graphical
|
||||
|
||||
# Auto quit after 2s when in test mode
|
||||
if args.test:
|
||||
QTimer.singleShot(2000, app.exit)
|
||||
|
||||
# Save screenshots for different displays and quit
|
||||
if args.screenshots:
|
||||
window.showFullScreen()
|
||||
create_screenshots(app, window, args.no_dark)
|
||||
# Do not read settings when taking screenshots - like reset
|
||||
else:
|
||||
_read_settings(window, args.reset, QSettings)
|
||||
window.showMaximized()
|
||||
|
||||
app.exec_()
|
||||
_write_settings(window, QSettings)
|
||||
|
||||
|
||||
def _write_settings(window, QSettings):
|
||||
"""Get window settings and write it into a file."""
|
||||
settings = QSettings('QDarkStyle', 'QDarkStyle Example')
|
||||
settings.setValue('pos', window.pos())
|
||||
settings.setValue('size', window.size())
|
||||
settings.setValue('state', window.saveState())
|
||||
|
||||
|
||||
def _read_settings(window, reset, QSettings):
|
||||
"""Read and set window settings from a file."""
|
||||
settings = QSettings('QDarkStyle', 'QDarkStyle Example')
|
||||
|
||||
try:
|
||||
pos = settings.value('pos', window.pos())
|
||||
size = settings.value('size', window.size())
|
||||
state = settings.value('state', window.saveState())
|
||||
except Exception:
|
||||
pos = settings.value('pos', window.pos(), type='QPoint')
|
||||
size = settings.value('size', window.size(), type='QSize')
|
||||
state = settings.value('state', window.saveState(), type='QByteArray')
|
||||
|
||||
if not reset:
|
||||
window.restoreState(state)
|
||||
window.resize(size)
|
||||
window.move(pos)
|
||||
|
||||
|
||||
def create_screenshots(app, window, no_dark):
|
||||
"""Save screenshots for different application views and quit."""
|
||||
from qtpy.QtCore import QCoreApplication
|
||||
from qtpy.QtGui import QGuiApplication
|
||||
from qtpy.QtWidgets import QDockWidget, QTabWidget
|
||||
|
||||
theme = 'no_dark' if no_dark else 'dark'
|
||||
print('\nCreating {} screenshots'.format(theme))
|
||||
|
||||
docks = window.findChildren(QDockWidget)
|
||||
tabs = window.findChildren(QTabWidget)
|
||||
|
||||
widget_data = {
|
||||
'containers_no_tabs_buttons.png': [
|
||||
'Containers - No Tabs',
|
||||
'Buttons',
|
||||
],
|
||||
'containers_tabs_displays.png': [
|
||||
'Containers - Tabs',
|
||||
'Displays',
|
||||
],
|
||||
'widgets_inputs_fields.png': [
|
||||
'Widgets',
|
||||
'Inputs - Fields',
|
||||
],
|
||||
'views_inputs_no_fields.png': [
|
||||
'Views',
|
||||
'Inputs - No Fields',
|
||||
]
|
||||
}
|
||||
|
||||
# Central widget tabs of with examples, reset positions
|
||||
tab = [tab for tab in tabs if tab.count() >= 12][0]
|
||||
tab.setCurrentIndex(0)
|
||||
|
||||
QCoreApplication.processEvents()
|
||||
|
||||
for fname_suffix, dw_titles in widget_data.items():
|
||||
png_path = os.path.join(SCREENSHOTS_PATH, theme + '_' + fname_suffix)
|
||||
print('\t' + png_path)
|
||||
|
||||
for dw in docks:
|
||||
if dw.windowTitle() in dw_titles:
|
||||
print('Evidencing : ', dw.windowTitle())
|
||||
dw.raise_()
|
||||
dw.show()
|
||||
QCoreApplication.processEvents()
|
||||
|
||||
# Attention: any change in update, processEvent and sleep calls
|
||||
# make those screenshots not working, specially the first one.
|
||||
# It seems that processEvents are not working properly
|
||||
|
||||
window.update()
|
||||
window.showFullScreen()
|
||||
QCoreApplication.processEvents()
|
||||
|
||||
time.sleep(0.5)
|
||||
QCoreApplication.processEvents()
|
||||
|
||||
screen = QGuiApplication.primaryScreen()
|
||||
QCoreApplication.processEvents()
|
||||
pixmap = screen.grabWindow(window.winId())
|
||||
|
||||
# Yeah, this is duplicated to avoid screenshot problems
|
||||
screen = QGuiApplication.primaryScreen()
|
||||
QCoreApplication.processEvents()
|
||||
pixmap = screen.grabWindow(window.winId())
|
||||
|
||||
img = pixmap.toImage()
|
||||
img.save(png_path)
|
||||
|
||||
QCoreApplication.processEvents()
|
||||
|
||||
QCoreApplication.processEvents()
|
||||
window.close()
|
||||
print('\n')
|
||||
app.exit(sys.exit())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
4
deps/QDark/example/ui/__init__.py
vendored
Normal file
4
deps/QDark/example/ui/__init__.py
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
This package contains the qt designer files and ui scripts.
|
||||
"""
|
1295
deps/QDark/example/ui/dw_buttons.ui
vendored
Normal file
1295
deps/QDark/example/ui/dw_buttons.ui
vendored
Normal file
File diff suppressed because it is too large
Load Diff
505
deps/QDark/example/ui/dw_buttons_ui.py
vendored
Normal file
505
deps/QDark/example/ui/dw_buttons_ui.py
vendored
Normal file
@ -0,0 +1,505 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'dw_buttons.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.14.1
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
|
||||
from qtpy import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_DockWidget(object):
|
||||
def setupUi(self, DockWidget):
|
||||
DockWidget.setObjectName("DockWidget")
|
||||
DockWidget.resize(652, 491)
|
||||
self.dockWidgetContents = QtWidgets.QWidget()
|
||||
self.dockWidgetContents.setObjectName("dockWidgetContents")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.dockWidgetContents)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.label_72 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_72.setFont(font)
|
||||
self.label_72.setObjectName("label_72")
|
||||
self.gridLayout.addWidget(self.label_72, 0, 1, 1, 1)
|
||||
self.label_73 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_73.setFont(font)
|
||||
self.label_73.setObjectName("label_73")
|
||||
self.gridLayout.addWidget(self.label_73, 0, 3, 1, 1)
|
||||
self.label_26 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_26.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_26.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_26.setFont(font)
|
||||
self.label_26.setObjectName("label_26")
|
||||
self.gridLayout.addWidget(self.label_26, 1, 0, 1, 1)
|
||||
self.pushButton = QtWidgets.QPushButton(self.dockWidgetContents)
|
||||
self.pushButton.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.pushButton.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.pushButton.setObjectName("pushButton")
|
||||
self.gridLayout.addWidget(self.pushButton, 1, 1, 1, 1)
|
||||
self.pushButtonDis = QtWidgets.QPushButton(self.dockWidgetContents)
|
||||
self.pushButtonDis.setEnabled(False)
|
||||
self.pushButtonDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.pushButtonDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.pushButtonDis.setDefault(False)
|
||||
self.pushButtonDis.setObjectName("pushButtonDis")
|
||||
self.gridLayout.addWidget(self.pushButtonDis, 1, 3, 1, 1)
|
||||
self.label_74 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_74.setFont(font)
|
||||
self.label_74.setObjectName("label_74")
|
||||
self.gridLayout.addWidget(self.label_74, 2, 0, 1, 1)
|
||||
self.pushButtonChecked = QtWidgets.QPushButton(self.dockWidgetContents)
|
||||
self.pushButtonChecked.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.pushButtonChecked.setCheckable(True)
|
||||
self.pushButtonChecked.setChecked(True)
|
||||
self.pushButtonChecked.setObjectName("pushButtonChecked")
|
||||
self.gridLayout.addWidget(self.pushButtonChecked, 2, 1, 1, 1)
|
||||
self.pushButtonCheckedDis = QtWidgets.QPushButton(self.dockWidgetContents)
|
||||
self.pushButtonCheckedDis.setEnabled(False)
|
||||
self.pushButtonCheckedDis.setCheckable(True)
|
||||
self.pushButtonCheckedDis.setChecked(True)
|
||||
self.pushButtonCheckedDis.setObjectName("pushButtonCheckedDis")
|
||||
self.gridLayout.addWidget(self.pushButtonCheckedDis, 2, 3, 1, 1)
|
||||
self.label_76 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_76.setFont(font)
|
||||
self.label_76.setObjectName("label_76")
|
||||
self.gridLayout.addWidget(self.label_76, 3, 0, 1, 1)
|
||||
self.pushButtonUnchecked = QtWidgets.QPushButton(self.dockWidgetContents)
|
||||
self.pushButtonUnchecked.setCheckable(True)
|
||||
self.pushButtonUnchecked.setObjectName("pushButtonUnchecked")
|
||||
self.gridLayout.addWidget(self.pushButtonUnchecked, 3, 1, 1, 1)
|
||||
self.pushButtonUncheckedDis = QtWidgets.QPushButton(self.dockWidgetContents)
|
||||
self.pushButtonUncheckedDis.setEnabled(False)
|
||||
self.pushButtonUncheckedDis.setCheckable(True)
|
||||
self.pushButtonUncheckedDis.setObjectName("pushButtonUncheckedDis")
|
||||
self.gridLayout.addWidget(self.pushButtonUncheckedDis, 3, 3, 1, 1)
|
||||
self.label_33 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_33.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_33.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_33.setFont(font)
|
||||
self.label_33.setObjectName("label_33")
|
||||
self.gridLayout.addWidget(self.label_33, 4, 0, 1, 1)
|
||||
self.toolButton = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButton.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.toolButton.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.toolButton.setObjectName("toolButton")
|
||||
self.gridLayout.addWidget(self.toolButton, 4, 1, 1, 1)
|
||||
self.toolButtonIcon = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(":/qss_icons/rc/window_undock@2x.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.toolButtonIcon.setIcon(icon)
|
||||
self.toolButtonIcon.setObjectName("toolButtonIcon")
|
||||
self.gridLayout.addWidget(self.toolButtonIcon, 4, 2, 1, 1)
|
||||
self.toolButtonDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonDis.setEnabled(False)
|
||||
self.toolButtonDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.toolButtonDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.toolButtonDis.setObjectName("toolButtonDis")
|
||||
self.gridLayout.addWidget(self.toolButtonDis, 4, 3, 1, 1)
|
||||
self.toolButtonIconDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonIconDis.setEnabled(False)
|
||||
self.toolButtonIconDis.setObjectName("toolButtonIconDis")
|
||||
self.gridLayout.addWidget(self.toolButtonIconDis, 4, 4, 1, 1)
|
||||
self.label_2 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_2.setObjectName("label_2")
|
||||
self.gridLayout.addWidget(self.label_2, 5, 0, 1, 1)
|
||||
self.toolButtonChecked = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonChecked.setCheckable(True)
|
||||
self.toolButtonChecked.setChecked(True)
|
||||
self.toolButtonChecked.setPopupMode(QtWidgets.QToolButton.DelayedPopup)
|
||||
self.toolButtonChecked.setObjectName("toolButtonChecked")
|
||||
self.gridLayout.addWidget(self.toolButtonChecked, 5, 1, 1, 1)
|
||||
self.toolButtonCheckedIcon = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
icon1 = QtGui.QIcon()
|
||||
icon1.addPixmap(QtGui.QPixmap(":/qss_icons/rc/window_undock.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.toolButtonCheckedIcon.setIcon(icon1)
|
||||
self.toolButtonCheckedIcon.setCheckable(True)
|
||||
self.toolButtonCheckedIcon.setChecked(True)
|
||||
self.toolButtonCheckedIcon.setObjectName("toolButtonCheckedIcon")
|
||||
self.gridLayout.addWidget(self.toolButtonCheckedIcon, 5, 2, 1, 1)
|
||||
self.toolButtonCheckedDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonCheckedDis.setEnabled(False)
|
||||
self.toolButtonCheckedDis.setCheckable(True)
|
||||
self.toolButtonCheckedDis.setChecked(True)
|
||||
self.toolButtonCheckedDis.setPopupMode(QtWidgets.QToolButton.DelayedPopup)
|
||||
self.toolButtonCheckedDis.setObjectName("toolButtonCheckedDis")
|
||||
self.gridLayout.addWidget(self.toolButtonCheckedDis, 5, 3, 1, 1)
|
||||
self.toolButtonCheckedIconDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonCheckedIconDis.setEnabled(False)
|
||||
self.toolButtonCheckedIconDis.setCheckable(True)
|
||||
self.toolButtonCheckedIconDis.setChecked(True)
|
||||
self.toolButtonCheckedIconDis.setObjectName("toolButtonCheckedIconDis")
|
||||
self.gridLayout.addWidget(self.toolButtonCheckedIconDis, 5, 4, 1, 1)
|
||||
self.label_3 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_3.setObjectName("label_3")
|
||||
self.gridLayout.addWidget(self.label_3, 6, 0, 1, 1)
|
||||
self.gridLayout_3 = QtWidgets.QGridLayout()
|
||||
self.gridLayout_3.setObjectName("gridLayout_3")
|
||||
self.toolButtonArrowUp = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonArrowUp.setArrowType(QtCore.Qt.UpArrow)
|
||||
self.toolButtonArrowUp.setObjectName("toolButtonArrowUp")
|
||||
self.gridLayout_3.addWidget(self.toolButtonArrowUp, 0, 1, 1, 1)
|
||||
self.toolButtonArrowLeft = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonArrowLeft.setArrowType(QtCore.Qt.LeftArrow)
|
||||
self.toolButtonArrowLeft.setObjectName("toolButtonArrowLeft")
|
||||
self.gridLayout_3.addWidget(self.toolButtonArrowLeft, 0, 3, 1, 1)
|
||||
self.toolButtonArrowRight = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonArrowRight.setArrowType(QtCore.Qt.RightArrow)
|
||||
self.toolButtonArrowRight.setObjectName("toolButtonArrowRight")
|
||||
self.gridLayout_3.addWidget(self.toolButtonArrowRight, 0, 2, 1, 1)
|
||||
self.toolButtonArrowDown = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonArrowDown.setArrowType(QtCore.Qt.DownArrow)
|
||||
self.toolButtonArrowDown.setObjectName("toolButtonArrowDown")
|
||||
self.gridLayout_3.addWidget(self.toolButtonArrowDown, 0, 0, 1, 1)
|
||||
self.toolButtonDots = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonDots.setObjectName("toolButtonDots")
|
||||
self.gridLayout_3.addWidget(self.toolButtonDots, 0, 4, 1, 1)
|
||||
self.gridLayout.addLayout(self.gridLayout_3, 6, 1, 1, 2)
|
||||
self.gridLayout_2 = QtWidgets.QGridLayout()
|
||||
self.gridLayout_2.setObjectName("gridLayout_2")
|
||||
self.toolButtonArrowUpDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonArrowUpDis.setEnabled(False)
|
||||
self.toolButtonArrowUpDis.setArrowType(QtCore.Qt.UpArrow)
|
||||
self.toolButtonArrowUpDis.setObjectName("toolButtonArrowUpDis")
|
||||
self.gridLayout_2.addWidget(self.toolButtonArrowUpDis, 0, 1, 1, 1)
|
||||
self.toolButtonArrowDownDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonArrowDownDis.setEnabled(False)
|
||||
self.toolButtonArrowDownDis.setArrowType(QtCore.Qt.DownArrow)
|
||||
self.toolButtonArrowDownDis.setObjectName("toolButtonArrowDownDis")
|
||||
self.gridLayout_2.addWidget(self.toolButtonArrowDownDis, 0, 0, 1, 1)
|
||||
self.toolButtonArrowRightDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonArrowRightDis.setEnabled(False)
|
||||
self.toolButtonArrowRightDis.setArrowType(QtCore.Qt.RightArrow)
|
||||
self.toolButtonArrowRightDis.setObjectName("toolButtonArrowRightDis")
|
||||
self.gridLayout_2.addWidget(self.toolButtonArrowRightDis, 0, 2, 1, 1)
|
||||
self.toolButtonArrowLeftDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonArrowLeftDis.setEnabled(False)
|
||||
self.toolButtonArrowLeftDis.setArrowType(QtCore.Qt.LeftArrow)
|
||||
self.toolButtonArrowLeftDis.setObjectName("toolButtonArrowLeftDis")
|
||||
self.gridLayout_2.addWidget(self.toolButtonArrowLeftDis, 0, 3, 1, 1)
|
||||
self.toolButtonDotsDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonDotsDis.setEnabled(False)
|
||||
self.toolButtonDotsDis.setObjectName("toolButtonDotsDis")
|
||||
self.gridLayout_2.addWidget(self.toolButtonDotsDis, 0, 4, 1, 1)
|
||||
self.gridLayout.addLayout(self.gridLayout_2, 6, 3, 1, 2)
|
||||
self.label_4 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_4.setObjectName("label_4")
|
||||
self.gridLayout.addWidget(self.label_4, 7, 0, 1, 1)
|
||||
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||
self.toolButtonDelayedPopup = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonDelayedPopup.setArrowType(QtCore.Qt.NoArrow)
|
||||
self.toolButtonDelayedPopup.setObjectName("toolButtonDelayedPopup")
|
||||
self.horizontalLayout.addWidget(self.toolButtonDelayedPopup)
|
||||
self.toolButtonMenuButtonPopup = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonMenuButtonPopup.setPopupMode(QtWidgets.QToolButton.MenuButtonPopup)
|
||||
self.toolButtonMenuButtonPopup.setObjectName("toolButtonMenuButtonPopup")
|
||||
self.horizontalLayout.addWidget(self.toolButtonMenuButtonPopup)
|
||||
self.toolButtonInstantPopup = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonInstantPopup.setPopupMode(QtWidgets.QToolButton.InstantPopup)
|
||||
self.toolButtonInstantPopup.setObjectName("toolButtonInstantPopup")
|
||||
self.horizontalLayout.addWidget(self.toolButtonInstantPopup)
|
||||
self.gridLayout.addLayout(self.horizontalLayout, 7, 1, 1, 2)
|
||||
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
||||
self.toolButtonDelayedPopupDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonDelayedPopupDis.setEnabled(False)
|
||||
self.toolButtonDelayedPopupDis.setArrowType(QtCore.Qt.NoArrow)
|
||||
self.toolButtonDelayedPopupDis.setObjectName("toolButtonDelayedPopupDis")
|
||||
self.horizontalLayout_2.addWidget(self.toolButtonDelayedPopupDis)
|
||||
self.toolButtonMenuButtonPopupDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonMenuButtonPopupDis.setEnabled(False)
|
||||
self.toolButtonMenuButtonPopupDis.setPopupMode(QtWidgets.QToolButton.MenuButtonPopup)
|
||||
self.toolButtonMenuButtonPopupDis.setObjectName("toolButtonMenuButtonPopupDis")
|
||||
self.horizontalLayout_2.addWidget(self.toolButtonMenuButtonPopupDis)
|
||||
self.toolButtonInstantPopupDis = QtWidgets.QToolButton(self.dockWidgetContents)
|
||||
self.toolButtonInstantPopupDis.setEnabled(False)
|
||||
self.toolButtonInstantPopupDis.setPopupMode(QtWidgets.QToolButton.InstantPopup)
|
||||
self.toolButtonInstantPopupDis.setObjectName("toolButtonInstantPopupDis")
|
||||
self.horizontalLayout_2.addWidget(self.toolButtonInstantPopupDis)
|
||||
self.gridLayout.addLayout(self.horizontalLayout_2, 7, 3, 1, 2)
|
||||
self.label_75 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_75.setFont(font)
|
||||
self.label_75.setObjectName("label_75")
|
||||
self.gridLayout.addWidget(self.label_75, 8, 0, 1, 1)
|
||||
self.radioButtonChecked = QtWidgets.QRadioButton(self.dockWidgetContents)
|
||||
self.radioButtonChecked.setChecked(True)
|
||||
self.radioButtonChecked.setAutoExclusive(False)
|
||||
self.radioButtonChecked.setObjectName("radioButtonChecked")
|
||||
self.gridLayout.addWidget(self.radioButtonChecked, 8, 1, 1, 1)
|
||||
self.radioButtonCheckedDis = QtWidgets.QRadioButton(self.dockWidgetContents)
|
||||
self.radioButtonCheckedDis.setEnabled(False)
|
||||
self.radioButtonCheckedDis.setChecked(True)
|
||||
self.radioButtonCheckedDis.setAutoExclusive(False)
|
||||
self.radioButtonCheckedDis.setObjectName("radioButtonCheckedDis")
|
||||
self.gridLayout.addWidget(self.radioButtonCheckedDis, 8, 3, 1, 1)
|
||||
self.label_29 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_29.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_29.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_29.setFont(font)
|
||||
self.label_29.setObjectName("label_29")
|
||||
self.gridLayout.addWidget(self.label_29, 9, 0, 1, 1)
|
||||
self.radioButtonUnchecked = QtWidgets.QRadioButton(self.dockWidgetContents)
|
||||
self.radioButtonUnchecked.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.radioButtonUnchecked.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.radioButtonUnchecked.setAutoExclusive(False)
|
||||
self.radioButtonUnchecked.setObjectName("radioButtonUnchecked")
|
||||
self.gridLayout.addWidget(self.radioButtonUnchecked, 9, 1, 1, 1)
|
||||
self.radioButtonUncheckedDis = QtWidgets.QRadioButton(self.dockWidgetContents)
|
||||
self.radioButtonUncheckedDis.setEnabled(False)
|
||||
self.radioButtonUncheckedDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.radioButtonUncheckedDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.radioButtonUncheckedDis.setChecked(False)
|
||||
self.radioButtonUncheckedDis.setAutoExclusive(False)
|
||||
self.radioButtonUncheckedDis.setObjectName("radioButtonUncheckedDis")
|
||||
self.gridLayout.addWidget(self.radioButtonUncheckedDis, 9, 3, 1, 1)
|
||||
self.label_53 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_53.setFont(font)
|
||||
self.label_53.setObjectName("label_53")
|
||||
self.gridLayout.addWidget(self.label_53, 10, 0, 1, 1)
|
||||
self.checkBoxChecked = QtWidgets.QCheckBox(self.dockWidgetContents)
|
||||
self.checkBoxChecked.setChecked(True)
|
||||
self.checkBoxChecked.setObjectName("checkBoxChecked")
|
||||
self.gridLayout.addWidget(self.checkBoxChecked, 10, 1, 1, 1)
|
||||
self.checkBoxCheckedDis = QtWidgets.QCheckBox(self.dockWidgetContents)
|
||||
self.checkBoxCheckedDis.setEnabled(False)
|
||||
self.checkBoxCheckedDis.setChecked(True)
|
||||
self.checkBoxCheckedDis.setObjectName("checkBoxCheckedDis")
|
||||
self.gridLayout.addWidget(self.checkBoxCheckedDis, 10, 3, 1, 1)
|
||||
self.label_30 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_30.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_30.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_30.setFont(font)
|
||||
self.label_30.setObjectName("label_30")
|
||||
self.gridLayout.addWidget(self.label_30, 11, 0, 1, 1)
|
||||
self.checkBoxEnabled = QtWidgets.QCheckBox(self.dockWidgetContents)
|
||||
self.checkBoxEnabled.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.checkBoxEnabled.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.checkBoxEnabled.setTristate(False)
|
||||
self.checkBoxEnabled.setObjectName("checkBoxEnabled")
|
||||
self.gridLayout.addWidget(self.checkBoxEnabled, 11, 1, 1, 1)
|
||||
self.checkBoxUncheckedDis = QtWidgets.QCheckBox(self.dockWidgetContents)
|
||||
self.checkBoxUncheckedDis.setEnabled(False)
|
||||
self.checkBoxUncheckedDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.checkBoxUncheckedDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.checkBoxUncheckedDis.setChecked(False)
|
||||
self.checkBoxUncheckedDis.setObjectName("checkBoxUncheckedDis")
|
||||
self.gridLayout.addWidget(self.checkBoxUncheckedDis, 11, 3, 1, 1)
|
||||
self.label = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label.setObjectName("label")
|
||||
self.gridLayout.addWidget(self.label, 12, 0, 1, 1)
|
||||
self.checkBoxTristate = QtWidgets.QCheckBox(self.dockWidgetContents)
|
||||
self.checkBoxTristate.setChecked(False)
|
||||
self.checkBoxTristate.setTristate(True)
|
||||
self.checkBoxTristate.setObjectName("checkBoxTristate")
|
||||
self.gridLayout.addWidget(self.checkBoxTristate, 12, 1, 1, 1)
|
||||
self.checkBoxTristateDis = QtWidgets.QCheckBox(self.dockWidgetContents)
|
||||
self.checkBoxTristateDis.setEnabled(False)
|
||||
self.checkBoxTristateDis.setChecked(False)
|
||||
self.checkBoxTristateDis.setTristate(True)
|
||||
self.checkBoxTristateDis.setObjectName("checkBoxTristateDis")
|
||||
self.gridLayout.addWidget(self.checkBoxTristateDis, 12, 3, 1, 1)
|
||||
self.label_31 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_31.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_31.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_31.setFont(font)
|
||||
self.label_31.setObjectName("label_31")
|
||||
self.gridLayout.addWidget(self.label_31, 13, 0, 1, 1)
|
||||
self.commandLinkButton = QtWidgets.QCommandLinkButton(self.dockWidgetContents)
|
||||
self.commandLinkButton.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.commandLinkButton.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.commandLinkButton.setObjectName("commandLinkButton")
|
||||
self.gridLayout.addWidget(self.commandLinkButton, 13, 1, 1, 2)
|
||||
self.commandLinkButtonDIs = QtWidgets.QCommandLinkButton(self.dockWidgetContents)
|
||||
self.commandLinkButtonDIs.setEnabled(False)
|
||||
self.commandLinkButtonDIs.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.commandLinkButtonDIs.setObjectName("commandLinkButtonDIs")
|
||||
self.gridLayout.addWidget(self.commandLinkButtonDIs, 13, 3, 1, 2)
|
||||
self.label_32 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_32.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_32.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_32.setFont(font)
|
||||
self.label_32.setObjectName("label_32")
|
||||
self.gridLayout.addWidget(self.label_32, 14, 0, 1, 1)
|
||||
self.buttonBox = QtWidgets.QDialogButtonBox(self.dockWidgetContents)
|
||||
self.buttonBox.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.buttonBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
||||
self.buttonBox.setObjectName("buttonBox")
|
||||
self.gridLayout.addWidget(self.buttonBox, 14, 1, 1, 2)
|
||||
self.buttonBoxDis = QtWidgets.QDialogButtonBox(self.dockWidgetContents)
|
||||
self.buttonBoxDis.setEnabled(False)
|
||||
self.buttonBoxDis.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
||||
self.buttonBoxDis.setObjectName("buttonBoxDis")
|
||||
self.gridLayout.addWidget(self.buttonBoxDis, 14, 3, 1, 2)
|
||||
spacerItem = QtWidgets.QSpacerItem(20, 4, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||||
self.gridLayout.addItem(spacerItem, 15, 0, 1, 1)
|
||||
self.label_36 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_36.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.label_36.setObjectName("label_36")
|
||||
self.gridLayout.addWidget(self.label_36, 16, 0, 1, 5)
|
||||
DockWidget.setWidget(self.dockWidgetContents)
|
||||
|
||||
self.retranslateUi(DockWidget)
|
||||
self.radioButtonChecked.clicked['bool'].connect(self.radioButtonCheckedDis.setChecked)
|
||||
self.radioButtonUnchecked.clicked['bool'].connect(self.radioButtonUncheckedDis.setChecked)
|
||||
self.checkBoxChecked.clicked['bool'].connect(self.checkBoxCheckedDis.setChecked)
|
||||
self.checkBoxEnabled.clicked['bool'].connect(self.checkBoxUncheckedDis.setChecked)
|
||||
self.checkBoxTristate.clicked['bool'].connect(self.checkBoxTristateDis.setChecked)
|
||||
self.commandLinkButton.clicked['bool'].connect(self.commandLinkButtonDIs.setChecked)
|
||||
self.toolButton.clicked['bool'].connect(self.toolButtonDis.setChecked)
|
||||
self.pushButtonChecked.clicked['bool'].connect(self.pushButtonCheckedDis.setChecked)
|
||||
self.pushButtonUnchecked.clicked['bool'].connect(self.pushButtonUncheckedDis.setChecked)
|
||||
self.pushButton.clicked['bool'].connect(self.pushButtonDis.click)
|
||||
QtCore.QMetaObject.connectSlotsByName(DockWidget)
|
||||
|
||||
def retranslateUi(self, DockWidget):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
DockWidget.setWindowTitle(_translate("DockWidget", "Buttons"))
|
||||
self.label_72.setText(_translate("DockWidget", "Enabled"))
|
||||
self.label_73.setText(_translate("DockWidget", "Disabled"))
|
||||
self.label_26.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_26.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_26.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_26.setText(_translate("DockWidget", "PushButton"))
|
||||
self.pushButton.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.pushButton.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.pushButton.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.pushButton.setText(_translate("DockWidget", "OK"))
|
||||
self.pushButtonDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.pushButtonDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.pushButtonDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.pushButtonDis.setText(_translate("DockWidget", "OK"))
|
||||
self.label_74.setText(_translate("DockWidget", "PushButton"))
|
||||
self.pushButtonChecked.setText(_translate("DockWidget", "Checked"))
|
||||
self.pushButtonCheckedDis.setText(_translate("DockWidget", "Checked"))
|
||||
self.label_76.setText(_translate("DockWidget", "PushButton"))
|
||||
self.pushButtonUnchecked.setText(_translate("DockWidget", "Unchecked"))
|
||||
self.pushButtonUncheckedDis.setText(_translate("DockWidget", "Unchecked"))
|
||||
self.label_33.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_33.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_33.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_33.setText(_translate("DockWidget", "ToolButton"))
|
||||
self.toolButton.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.toolButton.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.toolButton.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.toolButton.setText(_translate("DockWidget", "Tool"))
|
||||
self.toolButtonIcon.setText(_translate("DockWidget", "Icon"))
|
||||
self.toolButtonDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.toolButtonDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.toolButtonDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.toolButtonDis.setText(_translate("DockWidget", "Tool"))
|
||||
self.toolButtonIconDis.setText(_translate("DockWidget", "Icon"))
|
||||
self.label_2.setText(_translate("DockWidget", "<html><head/><body><p><span style=\" font-weight:600;\">ToolButton</span></p></body></html>"))
|
||||
self.toolButtonChecked.setText(_translate("DockWidget", "Tool Checked"))
|
||||
self.toolButtonCheckedIcon.setText(_translate("DockWidget", "Icon Checked"))
|
||||
self.toolButtonCheckedDis.setText(_translate("DockWidget", "Tool Checked"))
|
||||
self.toolButtonCheckedIconDis.setText(_translate("DockWidget", "Icon Checked"))
|
||||
self.label_3.setText(_translate("DockWidget", "<html><head/><body><p><span style=\" font-weight:600;\">ToolButton</span></p></body></html>"))
|
||||
self.toolButtonArrowUp.setText(_translate("DockWidget", "..."))
|
||||
self.toolButtonArrowLeft.setText(_translate("DockWidget", "..."))
|
||||
self.toolButtonArrowRight.setText(_translate("DockWidget", "..."))
|
||||
self.toolButtonArrowDown.setText(_translate("DockWidget", "..."))
|
||||
self.toolButtonDots.setText(_translate("DockWidget", "..."))
|
||||
self.toolButtonArrowUpDis.setText(_translate("DockWidget", "..."))
|
||||
self.toolButtonArrowDownDis.setText(_translate("DockWidget", "..."))
|
||||
self.toolButtonArrowRightDis.setText(_translate("DockWidget", "..."))
|
||||
self.toolButtonArrowLeftDis.setText(_translate("DockWidget", "..."))
|
||||
self.toolButtonDotsDis.setText(_translate("DockWidget", "..."))
|
||||
self.label_4.setText(_translate("DockWidget", "<html><head/><body><p><span style=\" font-weight:600;\">ToolButton</span></p></body></html>"))
|
||||
self.toolButtonDelayedPopup.setText(_translate("DockWidget", "Delayed"))
|
||||
self.toolButtonMenuButtonPopup.setText(_translate("DockWidget", "Menu"))
|
||||
self.toolButtonInstantPopup.setText(_translate("DockWidget", "Instant"))
|
||||
self.toolButtonDelayedPopupDis.setText(_translate("DockWidget", "Delayed"))
|
||||
self.toolButtonMenuButtonPopupDis.setText(_translate("DockWidget", "Menu"))
|
||||
self.toolButtonInstantPopupDis.setText(_translate("DockWidget", "Instant"))
|
||||
self.label_75.setText(_translate("DockWidget", "RadioButton"))
|
||||
self.radioButtonChecked.setText(_translate("DockWidget", "Checked"))
|
||||
self.radioButtonCheckedDis.setText(_translate("DockWidget", "Checked"))
|
||||
self.label_29.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_29.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_29.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_29.setText(_translate("DockWidget", "RadioButton"))
|
||||
self.radioButtonUnchecked.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.radioButtonUnchecked.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.radioButtonUnchecked.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.radioButtonUnchecked.setText(_translate("DockWidget", "Unchecked"))
|
||||
self.radioButtonUncheckedDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.radioButtonUncheckedDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.radioButtonUncheckedDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.radioButtonUncheckedDis.setText(_translate("DockWidget", "Unchecked"))
|
||||
self.label_53.setText(_translate("DockWidget", "CheckBox"))
|
||||
self.checkBoxChecked.setText(_translate("DockWidget", "Checked"))
|
||||
self.checkBoxCheckedDis.setText(_translate("DockWidget", "Checked"))
|
||||
self.label_30.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_30.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_30.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_30.setText(_translate("DockWidget", "CheckBox"))
|
||||
self.checkBoxEnabled.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.checkBoxEnabled.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.checkBoxEnabled.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.checkBoxEnabled.setText(_translate("DockWidget", "Unchecked"))
|
||||
self.checkBoxUncheckedDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.checkBoxUncheckedDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.checkBoxUncheckedDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.checkBoxUncheckedDis.setText(_translate("DockWidget", "Unchecked"))
|
||||
self.label.setText(_translate("DockWidget", "CheckBox"))
|
||||
self.checkBoxTristate.setText(_translate("DockWidget", "Tristate"))
|
||||
self.checkBoxTristateDis.setText(_translate("DockWidget", "Tristate"))
|
||||
self.label_31.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_31.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_31.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_31.setText(_translate("DockWidget", "CommandLinkButton"))
|
||||
self.commandLinkButton.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.commandLinkButton.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.commandLinkButton.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.commandLinkButton.setText(_translate("DockWidget", "Command"))
|
||||
self.commandLinkButtonDIs.setText(_translate("DockWidget", "Command"))
|
||||
self.label_32.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_32.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_32.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_32.setText(_translate("DockWidget", "ButtonBox"))
|
||||
self.buttonBox.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.buttonBox.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.buttonBox.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_36.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_36.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_36.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_36.setText(_translate("DockWidget", "Inside DockWidget"))
|
||||
from qdarkstyle import style_rc
|
987
deps/QDark/example/ui/dw_containers_no_tabs.ui
vendored
Normal file
987
deps/QDark/example/ui/dw_containers_no_tabs.ui
vendored
Normal file
@ -0,0 +1,987 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>DockWidget</class>
|
||||
<widget class="QDockWidget" name="DockWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>497</width>
|
||||
<height>566</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Containers - No Tabs</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="dockWidgetContents">
|
||||
<layout class="QGridLayout" name="gridLayout_45">
|
||||
<item row="0" column="3" rowspan="2">
|
||||
<widget class="QLabel" name="label_126">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Disabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2" rowspan="2">
|
||||
<widget class="QLabel" name="label_124">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0" colspan="2">
|
||||
<widget class="QLabel" name="label_133">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>MDI Area</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="3">
|
||||
<widget class="QGroupBox" name="groupBoxDis_2">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>GroupBox</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="text">
|
||||
<string>Inside GroupBox</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="2">
|
||||
<widget class="QStackedWidget" name="stackedWidget_2">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page1_2">
|
||||
<layout class="QGridLayout" name="gridLayout_35">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_57">
|
||||
<property name="text">
|
||||
<string>Inside Stacked Page 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="page2_2">
|
||||
<layout class="QGridLayout" name="gridLayout_36">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_58">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside Stacked Page 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="3">
|
||||
<widget class="QStackedWidget" name="stackedWidgetDis_2">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page1Dis_2">
|
||||
<layout class="QGridLayout" name="gridLayout_37">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_113">
|
||||
<property name="text">
|
||||
<string>Inside Stacked Page 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="page2Dis_2">
|
||||
<layout class="QGridLayout" name="gridLayout_38">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_114">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside Stacked Page 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="label_131">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Frame</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="2">
|
||||
<widget class="QFrame" name="frame_2">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_43">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_9">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside Frame</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="3">
|
||||
<widget class="QFrame" name="frameDis_2">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_40">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_8">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside Frame</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0" colspan="2">
|
||||
<widget class="QLabel" name="label_132">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Widget</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QGroupBox" name="groupBox_2">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>GroupBox</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_7">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_10">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside GroupBox</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="3">
|
||||
<widget class="QMdiArea" name="mdiAreaDis_2">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="subwindow1Dis_2">
|
||||
<property name="windowTitle">
|
||||
<string>Subwindow</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_9">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_111">
|
||||
<property name="text">
|
||||
<string>Inside MDI Area 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="subwindow2Dis_2">
|
||||
<property name="windowTitle">
|
||||
<string>Subwindow</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_10">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_112">
|
||||
<property name="text">
|
||||
<string>Inside MDI Area 2 </string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="2">
|
||||
<widget class="QLabel" name="label_127">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>GroupBox</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="2">
|
||||
<widget class="QWidget" name="widget_2" native="true">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_39">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_59">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside Widget</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="3">
|
||||
<widget class="QWidget" name="widgetDis_2" native="true">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_44">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_125">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside Widget</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="2">
|
||||
<widget class="QMdiArea" name="mdiArea_2">
|
||||
<widget class="QWidget" name="subwindow1_2">
|
||||
<property name="windowTitle">
|
||||
<string>Subwindow</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_11">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_29">
|
||||
<property name="text">
|
||||
<string>Inside MDI Area 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="subwindow2_2">
|
||||
<property name="windowTitle">
|
||||
<string>Subwindow</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_12">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_56">
|
||||
<property name="text">
|
||||
<string>Inside MDI Area 2 </string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0" colspan="2">
|
||||
<widget class="QLabel" name="label_128">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QScrollArea" name="scrollArea_2">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="scrollAreaWidgetContents_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>181</width>
|
||||
<height>246</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_14">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_70">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_71">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ScroolArea </string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_75">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ScroolArea </string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_76">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_77">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_78">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_79">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_80">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_81">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="3">
|
||||
<widget class="QScrollArea" name="scrollAreaDis_2">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="scrollAreaWidgetContentsDis_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>181</width>
|
||||
<height>246</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_13">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_115">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_116">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ScroolArea </string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_117">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ScroolArea </string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_118">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_119">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_120">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_121">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_122">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_123">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ScroolArea</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0" colspan="2">
|
||||
<widget class="QLabel" name="label_129">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ToolBox</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QToolBox" name="toolBox_2">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>196</width>
|
||||
<height>73</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="label">
|
||||
<string>Page 1</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_41">
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_60">
|
||||
<property name="text">
|
||||
<string>Inside ToolBox Page 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="page_8">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>163</width>
|
||||
<height>38</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="label">
|
||||
<string>Page 2</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_42">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_61">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ToolBox Page 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="3">
|
||||
<widget class="QToolBox" name="toolBoxDis_2">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page_6">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>196</width>
|
||||
<height>73</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="label">
|
||||
<string>Page 1</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_29">
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_109">
|
||||
<property name="text">
|
||||
<string>Inside ToolBox Page 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="page_7">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>163</width>
|
||||
<height>38</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="label">
|
||||
<string>Page 2</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_34">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_110">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside ToolBox Page 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0" colspan="2">
|
||||
<widget class="QLabel" name="label_130">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Stacked</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
511
deps/QDark/example/ui/dw_containers_no_tabs_ui.py
vendored
Normal file
511
deps/QDark/example/ui/dw_containers_no_tabs_ui.py
vendored
Normal file
@ -0,0 +1,511 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'dw_containers_no_tabs.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.14.1
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
|
||||
from qtpy import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_DockWidget(object):
|
||||
def setupUi(self, DockWidget):
|
||||
DockWidget.setObjectName("DockWidget")
|
||||
DockWidget.resize(497, 566)
|
||||
self.dockWidgetContents = QtWidgets.QWidget()
|
||||
self.dockWidgetContents.setObjectName("dockWidgetContents")
|
||||
self.gridLayout_45 = QtWidgets.QGridLayout(self.dockWidgetContents)
|
||||
self.gridLayout_45.setObjectName("gridLayout_45")
|
||||
self.label_126 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_126.setFont(font)
|
||||
self.label_126.setObjectName("label_126")
|
||||
self.gridLayout_45.addWidget(self.label_126, 0, 3, 2, 1)
|
||||
self.label_124 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_124.setFont(font)
|
||||
self.label_124.setObjectName("label_124")
|
||||
self.gridLayout_45.addWidget(self.label_124, 0, 2, 2, 1)
|
||||
self.label_133 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_133.setFont(font)
|
||||
self.label_133.setObjectName("label_133")
|
||||
self.gridLayout_45.addWidget(self.label_133, 8, 0, 1, 2)
|
||||
self.groupBoxDis_2 = QtWidgets.QGroupBox(self.dockWidgetContents)
|
||||
self.groupBoxDis_2.setEnabled(False)
|
||||
self.groupBoxDis_2.setObjectName("groupBoxDis_2")
|
||||
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBoxDis_2)
|
||||
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||||
self.label_7 = QtWidgets.QLabel(self.groupBoxDis_2)
|
||||
self.label_7.setObjectName("label_7")
|
||||
self.verticalLayout_4.addWidget(self.label_7)
|
||||
self.gridLayout_45.addWidget(self.groupBoxDis_2, 2, 3, 1, 1)
|
||||
self.stackedWidget_2 = QtWidgets.QStackedWidget(self.dockWidgetContents)
|
||||
self.stackedWidget_2.setObjectName("stackedWidget_2")
|
||||
self.page1_2 = QtWidgets.QWidget()
|
||||
self.page1_2.setObjectName("page1_2")
|
||||
self.gridLayout_35 = QtWidgets.QGridLayout(self.page1_2)
|
||||
self.gridLayout_35.setObjectName("gridLayout_35")
|
||||
self.label_57 = QtWidgets.QLabel(self.page1_2)
|
||||
self.label_57.setObjectName("label_57")
|
||||
self.gridLayout_35.addWidget(self.label_57, 0, 0, 1, 1)
|
||||
self.stackedWidget_2.addWidget(self.page1_2)
|
||||
self.page2_2 = QtWidgets.QWidget()
|
||||
self.page2_2.setObjectName("page2_2")
|
||||
self.gridLayout_36 = QtWidgets.QGridLayout(self.page2_2)
|
||||
self.gridLayout_36.setObjectName("gridLayout_36")
|
||||
self.label_58 = QtWidgets.QLabel(self.page2_2)
|
||||
self.label_58.setObjectName("label_58")
|
||||
self.gridLayout_36.addWidget(self.label_58, 0, 0, 1, 1)
|
||||
self.stackedWidget_2.addWidget(self.page2_2)
|
||||
self.gridLayout_45.addWidget(self.stackedWidget_2, 5, 2, 1, 1)
|
||||
self.stackedWidgetDis_2 = QtWidgets.QStackedWidget(self.dockWidgetContents)
|
||||
self.stackedWidgetDis_2.setEnabled(False)
|
||||
self.stackedWidgetDis_2.setObjectName("stackedWidgetDis_2")
|
||||
self.page1Dis_2 = QtWidgets.QWidget()
|
||||
self.page1Dis_2.setObjectName("page1Dis_2")
|
||||
self.gridLayout_37 = QtWidgets.QGridLayout(self.page1Dis_2)
|
||||
self.gridLayout_37.setObjectName("gridLayout_37")
|
||||
self.label_113 = QtWidgets.QLabel(self.page1Dis_2)
|
||||
self.label_113.setObjectName("label_113")
|
||||
self.gridLayout_37.addWidget(self.label_113, 0, 0, 1, 1)
|
||||
self.stackedWidgetDis_2.addWidget(self.page1Dis_2)
|
||||
self.page2Dis_2 = QtWidgets.QWidget()
|
||||
self.page2Dis_2.setObjectName("page2Dis_2")
|
||||
self.gridLayout_38 = QtWidgets.QGridLayout(self.page2Dis_2)
|
||||
self.gridLayout_38.setObjectName("gridLayout_38")
|
||||
self.label_114 = QtWidgets.QLabel(self.page2Dis_2)
|
||||
self.label_114.setObjectName("label_114")
|
||||
self.gridLayout_38.addWidget(self.label_114, 0, 0, 1, 1)
|
||||
self.stackedWidgetDis_2.addWidget(self.page2Dis_2)
|
||||
self.gridLayout_45.addWidget(self.stackedWidgetDis_2, 5, 3, 1, 1)
|
||||
self.label_131 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_131.setFont(font)
|
||||
self.label_131.setObjectName("label_131")
|
||||
self.gridLayout_45.addWidget(self.label_131, 6, 0, 1, 1)
|
||||
self.frame_2 = QtWidgets.QFrame(self.dockWidgetContents)
|
||||
self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||||
self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
|
||||
self.frame_2.setObjectName("frame_2")
|
||||
self.gridLayout_43 = QtWidgets.QGridLayout(self.frame_2)
|
||||
self.gridLayout_43.setObjectName("gridLayout_43")
|
||||
self.label_9 = QtWidgets.QLabel(self.frame_2)
|
||||
self.label_9.setObjectName("label_9")
|
||||
self.gridLayout_43.addWidget(self.label_9, 0, 0, 1, 1)
|
||||
self.gridLayout_45.addWidget(self.frame_2, 6, 2, 1, 1)
|
||||
self.frameDis_2 = QtWidgets.QFrame(self.dockWidgetContents)
|
||||
self.frameDis_2.setEnabled(False)
|
||||
self.frameDis_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||||
self.frameDis_2.setFrameShadow(QtWidgets.QFrame.Raised)
|
||||
self.frameDis_2.setObjectName("frameDis_2")
|
||||
self.gridLayout_40 = QtWidgets.QGridLayout(self.frameDis_2)
|
||||
self.gridLayout_40.setObjectName("gridLayout_40")
|
||||
self.label_8 = QtWidgets.QLabel(self.frameDis_2)
|
||||
self.label_8.setObjectName("label_8")
|
||||
self.gridLayout_40.addWidget(self.label_8, 0, 0, 1, 1)
|
||||
self.gridLayout_45.addWidget(self.frameDis_2, 6, 3, 1, 1)
|
||||
self.label_132 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_132.setFont(font)
|
||||
self.label_132.setObjectName("label_132")
|
||||
self.gridLayout_45.addWidget(self.label_132, 7, 0, 1, 2)
|
||||
self.groupBox_2 = QtWidgets.QGroupBox(self.dockWidgetContents)
|
||||
self.groupBox_2.setObjectName("groupBox_2")
|
||||
self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_2)
|
||||
self.gridLayout_7.setObjectName("gridLayout_7")
|
||||
self.label_10 = QtWidgets.QLabel(self.groupBox_2)
|
||||
self.label_10.setObjectName("label_10")
|
||||
self.gridLayout_7.addWidget(self.label_10, 0, 0, 1, 1)
|
||||
self.gridLayout_45.addWidget(self.groupBox_2, 2, 2, 1, 1)
|
||||
self.mdiAreaDis_2 = QtWidgets.QMdiArea(self.dockWidgetContents)
|
||||
self.mdiAreaDis_2.setEnabled(False)
|
||||
self.mdiAreaDis_2.setObjectName("mdiAreaDis_2")
|
||||
self.subwindow1Dis_2 = QtWidgets.QWidget()
|
||||
self.subwindow1Dis_2.setObjectName("subwindow1Dis_2")
|
||||
self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.subwindow1Dis_2)
|
||||
self.verticalLayout_9.setObjectName("verticalLayout_9")
|
||||
self.label_111 = QtWidgets.QLabel(self.subwindow1Dis_2)
|
||||
self.label_111.setObjectName("label_111")
|
||||
self.verticalLayout_9.addWidget(self.label_111)
|
||||
self.subwindow2Dis_2 = QtWidgets.QWidget()
|
||||
self.subwindow2Dis_2.setObjectName("subwindow2Dis_2")
|
||||
self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.subwindow2Dis_2)
|
||||
self.verticalLayout_10.setObjectName("verticalLayout_10")
|
||||
self.label_112 = QtWidgets.QLabel(self.subwindow2Dis_2)
|
||||
self.label_112.setObjectName("label_112")
|
||||
self.verticalLayout_10.addWidget(self.label_112)
|
||||
self.gridLayout_45.addWidget(self.mdiAreaDis_2, 8, 3, 1, 1)
|
||||
self.label_127 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_127.setFont(font)
|
||||
self.label_127.setObjectName("label_127")
|
||||
self.gridLayout_45.addWidget(self.label_127, 2, 0, 1, 2)
|
||||
self.widget_2 = QtWidgets.QWidget(self.dockWidgetContents)
|
||||
self.widget_2.setObjectName("widget_2")
|
||||
self.gridLayout_39 = QtWidgets.QGridLayout(self.widget_2)
|
||||
self.gridLayout_39.setObjectName("gridLayout_39")
|
||||
self.label_59 = QtWidgets.QLabel(self.widget_2)
|
||||
self.label_59.setObjectName("label_59")
|
||||
self.gridLayout_39.addWidget(self.label_59, 0, 0, 1, 1)
|
||||
self.gridLayout_45.addWidget(self.widget_2, 7, 2, 1, 1)
|
||||
self.widgetDis_2 = QtWidgets.QWidget(self.dockWidgetContents)
|
||||
self.widgetDis_2.setEnabled(False)
|
||||
self.widgetDis_2.setObjectName("widgetDis_2")
|
||||
self.gridLayout_44 = QtWidgets.QGridLayout(self.widgetDis_2)
|
||||
self.gridLayout_44.setObjectName("gridLayout_44")
|
||||
self.label_125 = QtWidgets.QLabel(self.widgetDis_2)
|
||||
self.label_125.setObjectName("label_125")
|
||||
self.gridLayout_44.addWidget(self.label_125, 0, 0, 1, 1)
|
||||
self.gridLayout_45.addWidget(self.widgetDis_2, 7, 3, 1, 1)
|
||||
self.mdiArea_2 = QtWidgets.QMdiArea(self.dockWidgetContents)
|
||||
self.mdiArea_2.setObjectName("mdiArea_2")
|
||||
self.subwindow1_2 = QtWidgets.QWidget()
|
||||
self.subwindow1_2.setObjectName("subwindow1_2")
|
||||
self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.subwindow1_2)
|
||||
self.verticalLayout_11.setObjectName("verticalLayout_11")
|
||||
self.label_29 = QtWidgets.QLabel(self.subwindow1_2)
|
||||
self.label_29.setObjectName("label_29")
|
||||
self.verticalLayout_11.addWidget(self.label_29)
|
||||
self.subwindow2_2 = QtWidgets.QWidget()
|
||||
self.subwindow2_2.setObjectName("subwindow2_2")
|
||||
self.verticalLayout_12 = QtWidgets.QVBoxLayout(self.subwindow2_2)
|
||||
self.verticalLayout_12.setObjectName("verticalLayout_12")
|
||||
self.label_56 = QtWidgets.QLabel(self.subwindow2_2)
|
||||
self.label_56.setObjectName("label_56")
|
||||
self.verticalLayout_12.addWidget(self.label_56)
|
||||
self.gridLayout_45.addWidget(self.mdiArea_2, 8, 2, 1, 1)
|
||||
self.label_128 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_128.setFont(font)
|
||||
self.label_128.setObjectName("label_128")
|
||||
self.gridLayout_45.addWidget(self.label_128, 3, 0, 1, 2)
|
||||
self.scrollArea_2 = QtWidgets.QScrollArea(self.dockWidgetContents)
|
||||
self.scrollArea_2.setWidgetResizable(True)
|
||||
self.scrollArea_2.setObjectName("scrollArea_2")
|
||||
self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
|
||||
self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 181, 246))
|
||||
self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
|
||||
self.verticalLayout_14 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_2)
|
||||
self.verticalLayout_14.setObjectName("verticalLayout_14")
|
||||
self.label_70 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
|
||||
self.label_70.setObjectName("label_70")
|
||||
self.verticalLayout_14.addWidget(self.label_70)
|
||||
self.label_71 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
|
||||
self.label_71.setObjectName("label_71")
|
||||
self.verticalLayout_14.addWidget(self.label_71)
|
||||
self.label_75 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
|
||||
self.label_75.setObjectName("label_75")
|
||||
self.verticalLayout_14.addWidget(self.label_75)
|
||||
self.label_76 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
|
||||
self.label_76.setObjectName("label_76")
|
||||
self.verticalLayout_14.addWidget(self.label_76)
|
||||
self.label_77 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
|
||||
self.label_77.setObjectName("label_77")
|
||||
self.verticalLayout_14.addWidget(self.label_77)
|
||||
self.label_78 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
|
||||
self.label_78.setObjectName("label_78")
|
||||
self.verticalLayout_14.addWidget(self.label_78)
|
||||
self.label_79 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
|
||||
self.label_79.setObjectName("label_79")
|
||||
self.verticalLayout_14.addWidget(self.label_79)
|
||||
self.label_80 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
|
||||
self.label_80.setObjectName("label_80")
|
||||
self.verticalLayout_14.addWidget(self.label_80)
|
||||
self.label_81 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
|
||||
self.label_81.setObjectName("label_81")
|
||||
self.verticalLayout_14.addWidget(self.label_81)
|
||||
self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
|
||||
self.gridLayout_45.addWidget(self.scrollArea_2, 3, 2, 1, 1)
|
||||
self.scrollAreaDis_2 = QtWidgets.QScrollArea(self.dockWidgetContents)
|
||||
self.scrollAreaDis_2.setEnabled(False)
|
||||
self.scrollAreaDis_2.setWidgetResizable(True)
|
||||
self.scrollAreaDis_2.setObjectName("scrollAreaDis_2")
|
||||
self.scrollAreaWidgetContentsDis_2 = QtWidgets.QWidget()
|
||||
self.scrollAreaWidgetContentsDis_2.setGeometry(QtCore.QRect(0, 0, 181, 246))
|
||||
self.scrollAreaWidgetContentsDis_2.setObjectName("scrollAreaWidgetContentsDis_2")
|
||||
self.verticalLayout_13 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContentsDis_2)
|
||||
self.verticalLayout_13.setObjectName("verticalLayout_13")
|
||||
self.label_115 = QtWidgets.QLabel(self.scrollAreaWidgetContentsDis_2)
|
||||
self.label_115.setObjectName("label_115")
|
||||
self.verticalLayout_13.addWidget(self.label_115)
|
||||
self.label_116 = QtWidgets.QLabel(self.scrollAreaWidgetContentsDis_2)
|
||||
self.label_116.setObjectName("label_116")
|
||||
self.verticalLayout_13.addWidget(self.label_116)
|
||||
self.label_117 = QtWidgets.QLabel(self.scrollAreaWidgetContentsDis_2)
|
||||
self.label_117.setObjectName("label_117")
|
||||
self.verticalLayout_13.addWidget(self.label_117)
|
||||
self.label_118 = QtWidgets.QLabel(self.scrollAreaWidgetContentsDis_2)
|
||||
self.label_118.setObjectName("label_118")
|
||||
self.verticalLayout_13.addWidget(self.label_118)
|
||||
self.label_119 = QtWidgets.QLabel(self.scrollAreaWidgetContentsDis_2)
|
||||
self.label_119.setObjectName("label_119")
|
||||
self.verticalLayout_13.addWidget(self.label_119)
|
||||
self.label_120 = QtWidgets.QLabel(self.scrollAreaWidgetContentsDis_2)
|
||||
self.label_120.setObjectName("label_120")
|
||||
self.verticalLayout_13.addWidget(self.label_120)
|
||||
self.label_121 = QtWidgets.QLabel(self.scrollAreaWidgetContentsDis_2)
|
||||
self.label_121.setObjectName("label_121")
|
||||
self.verticalLayout_13.addWidget(self.label_121)
|
||||
self.label_122 = QtWidgets.QLabel(self.scrollAreaWidgetContentsDis_2)
|
||||
self.label_122.setObjectName("label_122")
|
||||
self.verticalLayout_13.addWidget(self.label_122)
|
||||
self.label_123 = QtWidgets.QLabel(self.scrollAreaWidgetContentsDis_2)
|
||||
self.label_123.setObjectName("label_123")
|
||||
self.verticalLayout_13.addWidget(self.label_123)
|
||||
self.scrollAreaDis_2.setWidget(self.scrollAreaWidgetContentsDis_2)
|
||||
self.gridLayout_45.addWidget(self.scrollAreaDis_2, 3, 3, 1, 1)
|
||||
self.label_129 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_129.setFont(font)
|
||||
self.label_129.setObjectName("label_129")
|
||||
self.gridLayout_45.addWidget(self.label_129, 4, 0, 1, 2)
|
||||
self.toolBox_2 = QtWidgets.QToolBox(self.dockWidgetContents)
|
||||
self.toolBox_2.setObjectName("toolBox_2")
|
||||
self.page_3 = QtWidgets.QWidget()
|
||||
self.page_3.setGeometry(QtCore.QRect(0, 0, 196, 73))
|
||||
self.page_3.setObjectName("page_3")
|
||||
self.gridLayout_41 = QtWidgets.QGridLayout(self.page_3)
|
||||
self.gridLayout_41.setObjectName("gridLayout_41")
|
||||
self.label_60 = QtWidgets.QLabel(self.page_3)
|
||||
self.label_60.setObjectName("label_60")
|
||||
self.gridLayout_41.addWidget(self.label_60, 2, 0, 1, 1)
|
||||
self.toolBox_2.addItem(self.page_3, "")
|
||||
self.page_8 = QtWidgets.QWidget()
|
||||
self.page_8.setGeometry(QtCore.QRect(0, 0, 163, 38))
|
||||
self.page_8.setObjectName("page_8")
|
||||
self.gridLayout_42 = QtWidgets.QGridLayout(self.page_8)
|
||||
self.gridLayout_42.setObjectName("gridLayout_42")
|
||||
self.label_61 = QtWidgets.QLabel(self.page_8)
|
||||
self.label_61.setObjectName("label_61")
|
||||
self.gridLayout_42.addWidget(self.label_61, 0, 0, 1, 1)
|
||||
self.toolBox_2.addItem(self.page_8, "")
|
||||
self.gridLayout_45.addWidget(self.toolBox_2, 4, 2, 1, 1)
|
||||
self.toolBoxDis_2 = QtWidgets.QToolBox(self.dockWidgetContents)
|
||||
self.toolBoxDis_2.setEnabled(False)
|
||||
self.toolBoxDis_2.setObjectName("toolBoxDis_2")
|
||||
self.page_6 = QtWidgets.QWidget()
|
||||
self.page_6.setGeometry(QtCore.QRect(0, 0, 196, 73))
|
||||
self.page_6.setObjectName("page_6")
|
||||
self.gridLayout_29 = QtWidgets.QGridLayout(self.page_6)
|
||||
self.gridLayout_29.setObjectName("gridLayout_29")
|
||||
self.label_109 = QtWidgets.QLabel(self.page_6)
|
||||
self.label_109.setObjectName("label_109")
|
||||
self.gridLayout_29.addWidget(self.label_109, 2, 0, 1, 1)
|
||||
self.toolBoxDis_2.addItem(self.page_6, "")
|
||||
self.page_7 = QtWidgets.QWidget()
|
||||
self.page_7.setGeometry(QtCore.QRect(0, 0, 163, 38))
|
||||
self.page_7.setObjectName("page_7")
|
||||
self.gridLayout_34 = QtWidgets.QGridLayout(self.page_7)
|
||||
self.gridLayout_34.setObjectName("gridLayout_34")
|
||||
self.label_110 = QtWidgets.QLabel(self.page_7)
|
||||
self.label_110.setObjectName("label_110")
|
||||
self.gridLayout_34.addWidget(self.label_110, 0, 0, 1, 1)
|
||||
self.toolBoxDis_2.addItem(self.page_7, "")
|
||||
self.gridLayout_45.addWidget(self.toolBoxDis_2, 4, 3, 1, 1)
|
||||
self.label_130 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_130.setFont(font)
|
||||
self.label_130.setObjectName("label_130")
|
||||
self.gridLayout_45.addWidget(self.label_130, 5, 0, 1, 2)
|
||||
DockWidget.setWidget(self.dockWidgetContents)
|
||||
|
||||
self.retranslateUi(DockWidget)
|
||||
self.stackedWidget_2.setCurrentIndex(1)
|
||||
self.stackedWidgetDis_2.setCurrentIndex(1)
|
||||
self.toolBox_2.setCurrentIndex(0)
|
||||
self.toolBoxDis_2.setCurrentIndex(0)
|
||||
QtCore.QMetaObject.connectSlotsByName(DockWidget)
|
||||
|
||||
def retranslateUi(self, DockWidget):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
DockWidget.setWindowTitle(_translate("DockWidget", "Containers - No Tabs"))
|
||||
self.label_126.setText(_translate("DockWidget", "Disabled"))
|
||||
self.label_124.setText(_translate("DockWidget", "Enabled"))
|
||||
self.label_133.setText(_translate("DockWidget", "MDI Area"))
|
||||
self.groupBoxDis_2.setTitle(_translate("DockWidget", "GroupBox"))
|
||||
self.label_7.setText(_translate("DockWidget", "Inside GroupBox"))
|
||||
self.stackedWidget_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.stackedWidget_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.stackedWidget_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_57.setText(_translate("DockWidget", "Inside Stacked Page 1"))
|
||||
self.label_58.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_58.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_58.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_58.setText(_translate("DockWidget", "Inside Stacked Page 2"))
|
||||
self.stackedWidgetDis_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.stackedWidgetDis_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.stackedWidgetDis_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_113.setText(_translate("DockWidget", "Inside Stacked Page 1"))
|
||||
self.label_114.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_114.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_114.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_114.setText(_translate("DockWidget", "Inside Stacked Page 2"))
|
||||
self.label_131.setText(_translate("DockWidget", "Frame"))
|
||||
self.frame_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.frame_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.frame_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_9.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_9.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_9.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_9.setText(_translate("DockWidget", "Inside Frame"))
|
||||
self.frameDis_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.frameDis_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.frameDis_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_8.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_8.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_8.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_8.setText(_translate("DockWidget", "Inside Frame"))
|
||||
self.label_132.setText(_translate("DockWidget", "Widget"))
|
||||
self.groupBox_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.groupBox_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.groupBox_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.groupBox_2.setTitle(_translate("DockWidget", "GroupBox"))
|
||||
self.label_10.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_10.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_10.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_10.setText(_translate("DockWidget", "Inside GroupBox"))
|
||||
self.subwindow1Dis_2.setWindowTitle(_translate("DockWidget", "Subwindow"))
|
||||
self.label_111.setText(_translate("DockWidget", "Inside MDI Area 1"))
|
||||
self.subwindow2Dis_2.setWindowTitle(_translate("DockWidget", "Subwindow"))
|
||||
self.label_112.setText(_translate("DockWidget", "Inside MDI Area 2 "))
|
||||
self.label_127.setText(_translate("DockWidget", "GroupBox"))
|
||||
self.widget_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.widget_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.widget_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_59.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_59.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_59.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_59.setText(_translate("DockWidget", "Inside Widget"))
|
||||
self.widgetDis_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.widgetDis_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.widgetDis_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_125.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_125.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_125.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_125.setText(_translate("DockWidget", "Inside Widget"))
|
||||
self.subwindow1_2.setWindowTitle(_translate("DockWidget", "Subwindow"))
|
||||
self.label_29.setText(_translate("DockWidget", "Inside MDI Area 1"))
|
||||
self.subwindow2_2.setWindowTitle(_translate("DockWidget", "Subwindow"))
|
||||
self.label_56.setText(_translate("DockWidget", "Inside MDI Area 2 "))
|
||||
self.label_128.setText(_translate("DockWidget", "ScroolArea"))
|
||||
self.scrollArea_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.scrollArea_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.scrollArea_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_70.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_70.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_70.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_70.setText(_translate("DockWidget", "Inside ScroolArea"))
|
||||
self.label_71.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_71.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_71.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_71.setText(_translate("DockWidget", "ScroolArea "))
|
||||
self.label_75.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_75.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_75.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_75.setText(_translate("DockWidget", "Inside ScroolArea "))
|
||||
self.label_76.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_76.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_76.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_76.setText(_translate("DockWidget", "ScroolArea"))
|
||||
self.label_77.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_77.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_77.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_77.setText(_translate("DockWidget", "Inside ScroolArea"))
|
||||
self.label_78.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_78.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_78.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_78.setText(_translate("DockWidget", "ScroolArea"))
|
||||
self.label_79.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_79.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_79.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_79.setText(_translate("DockWidget", "Inside ScroolArea"))
|
||||
self.label_80.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_80.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_80.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_80.setText(_translate("DockWidget", "ScroolArea"))
|
||||
self.label_81.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_81.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_81.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_81.setText(_translate("DockWidget", "Inside ScroolArea"))
|
||||
self.scrollAreaDis_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.scrollAreaDis_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.scrollAreaDis_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_115.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_115.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_115.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_115.setText(_translate("DockWidget", "Inside ScroolArea"))
|
||||
self.label_116.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_116.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_116.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_116.setText(_translate("DockWidget", "ScroolArea "))
|
||||
self.label_117.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_117.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_117.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_117.setText(_translate("DockWidget", "Inside ScroolArea "))
|
||||
self.label_118.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_118.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_118.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_118.setText(_translate("DockWidget", "ScroolArea"))
|
||||
self.label_119.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_119.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_119.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_119.setText(_translate("DockWidget", "Inside ScroolArea"))
|
||||
self.label_120.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_120.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_120.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_120.setText(_translate("DockWidget", "ScroolArea"))
|
||||
self.label_121.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_121.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_121.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_121.setText(_translate("DockWidget", "Inside ScroolArea"))
|
||||
self.label_122.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_122.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_122.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_122.setText(_translate("DockWidget", "ScroolArea"))
|
||||
self.label_123.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_123.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_123.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_123.setText(_translate("DockWidget", "Inside ScroolArea"))
|
||||
self.label_129.setText(_translate("DockWidget", "ToolBox"))
|
||||
self.toolBox_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.toolBox_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.toolBox_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_60.setText(_translate("DockWidget", "Inside ToolBox Page 1"))
|
||||
self.toolBox_2.setItemText(self.toolBox_2.indexOf(self.page_3), _translate("DockWidget", "Page 1"))
|
||||
self.label_61.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_61.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_61.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_61.setText(_translate("DockWidget", "Inside ToolBox Page 2"))
|
||||
self.toolBox_2.setItemText(self.toolBox_2.indexOf(self.page_8), _translate("DockWidget", "Page 2"))
|
||||
self.toolBoxDis_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.toolBoxDis_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.toolBoxDis_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_109.setText(_translate("DockWidget", "Inside ToolBox Page 1"))
|
||||
self.toolBoxDis_2.setItemText(self.toolBoxDis_2.indexOf(self.page_6), _translate("DockWidget", "Page 1"))
|
||||
self.label_110.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_110.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_110.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_110.setText(_translate("DockWidget", "Inside ToolBox Page 2"))
|
||||
self.toolBoxDis_2.setItemText(self.toolBoxDis_2.indexOf(self.page_7), _translate("DockWidget", "Page 2"))
|
||||
self.label_130.setText(_translate("DockWidget", "Stacked"))
|
377
deps/QDark/example/ui/dw_containers_tabs.ui
vendored
Normal file
377
deps/QDark/example/ui/dw_containers_tabs.ui
vendored
Normal file
@ -0,0 +1,377 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>DockWidget</class>
|
||||
<widget class="QDockWidget" name="DockWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>578</width>
|
||||
<height>515</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Containers - Tabs</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="dockWidgetContents">
|
||||
<layout class="QGridLayout" name="gridLayout_5">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_5">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Disabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QTabWidget" name="tabWidgetNorth">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="documentMode">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="tabsClosable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab_7">
|
||||
<attribute name="title">
|
||||
<string>Tab 1</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_8">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_52">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget North Closable Tab 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_8">
|
||||
<attribute name="title">
|
||||
<string>Tab 2</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_4">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_48">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget North Closable Tab 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QTabWidget" name="tabWidgetNorth_2">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="documentMode">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="tabsClosable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab_9">
|
||||
<attribute name="title">
|
||||
<string>Tab 1</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_10">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_53">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget North Closable Tab 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_10">
|
||||
<attribute name="title">
|
||||
<string>Tab 2</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_19">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_49">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget North Closable Tab 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QTabWidget" name="tabWidgetWest">
|
||||
<property name="tabPosition">
|
||||
<enum>QTabWidget::West</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab_5">
|
||||
<attribute name="title">
|
||||
<string>Tab 1</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_39">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget West Tab 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_6">
|
||||
<attribute name="title">
|
||||
<string>Tab 2</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_9">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_54">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget West Tab 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QTabWidget" name="tabWidgetWest_2">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="tabPosition">
|
||||
<enum>QTabWidget::West</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab_11">
|
||||
<attribute name="title">
|
||||
<string>Tab 1</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_20">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_50">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget West Tab 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_12">
|
||||
<attribute name="title">
|
||||
<string>Tab 2</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_21">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_72">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget West Tab 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QTabWidget" name="tabWidgetEast">
|
||||
<property name="tabPosition">
|
||||
<enum>QTabWidget::East</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab_3">
|
||||
<attribute name="title">
|
||||
<string>Tab 1</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_38">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget East Tab 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_4">
|
||||
<attribute name="title">
|
||||
<string>Tab 2</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_11">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_55">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget East Tab 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QTabWidget" name="tabWidgetEast_2">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="tabPosition">
|
||||
<enum>QTabWidget::East</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab_13">
|
||||
<attribute name="title">
|
||||
<string>Tab 1</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_22">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_51">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget East Tab 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_14">
|
||||
<attribute name="title">
|
||||
<string>Tab 2</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_30">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_73">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget East Tab 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QTabWidget" name="tabWidgetSouth">
|
||||
<property name="tabPosition">
|
||||
<enum>QTabWidget::South</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="tabsClosable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab">
|
||||
<attribute name="title">
|
||||
<string>Tab 1</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_34">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget South Closable Tab 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_2">
|
||||
<attribute name="title">
|
||||
<string>Tab 2</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_18">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_62">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget South Closable Tab 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QTabWidget" name="tabWidgetSouth_2">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="tabPosition">
|
||||
<enum>QTabWidget::South</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="tabsClosable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab_15">
|
||||
<attribute name="title">
|
||||
<string>Tab 1</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_31">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_35">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget South Closable Tab 1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_16">
|
||||
<attribute name="title">
|
||||
<string>Tab 2</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_32">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_74">
|
||||
<property name="text">
|
||||
<string>Inside TabWidget South Closable Tab 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
252
deps/QDark/example/ui/dw_containers_tabs_ui.py
vendored
Normal file
252
deps/QDark/example/ui/dw_containers_tabs_ui.py
vendored
Normal file
@ -0,0 +1,252 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'dw_containers_tabs.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.14.1
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
|
||||
from qtpy import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_DockWidget(object):
|
||||
def setupUi(self, DockWidget):
|
||||
DockWidget.setObjectName("DockWidget")
|
||||
DockWidget.resize(578, 515)
|
||||
self.dockWidgetContents = QtWidgets.QWidget()
|
||||
self.dockWidgetContents.setObjectName("dockWidgetContents")
|
||||
self.gridLayout_5 = QtWidgets.QGridLayout(self.dockWidgetContents)
|
||||
self.gridLayout_5.setObjectName("gridLayout_5")
|
||||
self.label_5 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_5.setFont(font)
|
||||
self.label_5.setObjectName("label_5")
|
||||
self.gridLayout_5.addWidget(self.label_5, 0, 0, 1, 1)
|
||||
self.label_6 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_6.setFont(font)
|
||||
self.label_6.setObjectName("label_6")
|
||||
self.gridLayout_5.addWidget(self.label_6, 0, 1, 1, 1)
|
||||
self.tabWidgetNorth = QtWidgets.QTabWidget(self.dockWidgetContents)
|
||||
self.tabWidgetNorth.setDocumentMode(False)
|
||||
self.tabWidgetNorth.setTabsClosable(True)
|
||||
self.tabWidgetNorth.setObjectName("tabWidgetNorth")
|
||||
self.tab_7 = QtWidgets.QWidget()
|
||||
self.tab_7.setObjectName("tab_7")
|
||||
self.gridLayout_8 = QtWidgets.QGridLayout(self.tab_7)
|
||||
self.gridLayout_8.setObjectName("gridLayout_8")
|
||||
self.label_52 = QtWidgets.QLabel(self.tab_7)
|
||||
self.label_52.setObjectName("label_52")
|
||||
self.gridLayout_8.addWidget(self.label_52, 0, 0, 1, 1)
|
||||
self.tabWidgetNorth.addTab(self.tab_7, "")
|
||||
self.tab_8 = QtWidgets.QWidget()
|
||||
self.tab_8.setObjectName("tab_8")
|
||||
self.gridLayout_4 = QtWidgets.QGridLayout(self.tab_8)
|
||||
self.gridLayout_4.setObjectName("gridLayout_4")
|
||||
self.label_48 = QtWidgets.QLabel(self.tab_8)
|
||||
self.label_48.setObjectName("label_48")
|
||||
self.gridLayout_4.addWidget(self.label_48, 0, 0, 1, 1)
|
||||
self.tabWidgetNorth.addTab(self.tab_8, "")
|
||||
self.gridLayout_5.addWidget(self.tabWidgetNorth, 1, 0, 1, 1)
|
||||
self.tabWidgetNorth_2 = QtWidgets.QTabWidget(self.dockWidgetContents)
|
||||
self.tabWidgetNorth_2.setEnabled(False)
|
||||
self.tabWidgetNorth_2.setDocumentMode(False)
|
||||
self.tabWidgetNorth_2.setTabsClosable(True)
|
||||
self.tabWidgetNorth_2.setObjectName("tabWidgetNorth_2")
|
||||
self.tab_9 = QtWidgets.QWidget()
|
||||
self.tab_9.setObjectName("tab_9")
|
||||
self.gridLayout_10 = QtWidgets.QGridLayout(self.tab_9)
|
||||
self.gridLayout_10.setObjectName("gridLayout_10")
|
||||
self.label_53 = QtWidgets.QLabel(self.tab_9)
|
||||
self.label_53.setObjectName("label_53")
|
||||
self.gridLayout_10.addWidget(self.label_53, 0, 0, 1, 1)
|
||||
self.tabWidgetNorth_2.addTab(self.tab_9, "")
|
||||
self.tab_10 = QtWidgets.QWidget()
|
||||
self.tab_10.setObjectName("tab_10")
|
||||
self.gridLayout_19 = QtWidgets.QGridLayout(self.tab_10)
|
||||
self.gridLayout_19.setObjectName("gridLayout_19")
|
||||
self.label_49 = QtWidgets.QLabel(self.tab_10)
|
||||
self.label_49.setObjectName("label_49")
|
||||
self.gridLayout_19.addWidget(self.label_49, 0, 0, 1, 1)
|
||||
self.tabWidgetNorth_2.addTab(self.tab_10, "")
|
||||
self.gridLayout_5.addWidget(self.tabWidgetNorth_2, 1, 1, 1, 1)
|
||||
self.tabWidgetWest = QtWidgets.QTabWidget(self.dockWidgetContents)
|
||||
self.tabWidgetWest.setTabPosition(QtWidgets.QTabWidget.West)
|
||||
self.tabWidgetWest.setObjectName("tabWidgetWest")
|
||||
self.tab_5 = QtWidgets.QWidget()
|
||||
self.tab_5.setObjectName("tab_5")
|
||||
self.gridLayout_3 = QtWidgets.QGridLayout(self.tab_5)
|
||||
self.gridLayout_3.setObjectName("gridLayout_3")
|
||||
self.label_39 = QtWidgets.QLabel(self.tab_5)
|
||||
self.label_39.setObjectName("label_39")
|
||||
self.gridLayout_3.addWidget(self.label_39, 0, 0, 1, 1)
|
||||
self.tabWidgetWest.addTab(self.tab_5, "")
|
||||
self.tab_6 = QtWidgets.QWidget()
|
||||
self.tab_6.setObjectName("tab_6")
|
||||
self.gridLayout_9 = QtWidgets.QGridLayout(self.tab_6)
|
||||
self.gridLayout_9.setObjectName("gridLayout_9")
|
||||
self.label_54 = QtWidgets.QLabel(self.tab_6)
|
||||
self.label_54.setObjectName("label_54")
|
||||
self.gridLayout_9.addWidget(self.label_54, 0, 0, 1, 1)
|
||||
self.tabWidgetWest.addTab(self.tab_6, "")
|
||||
self.gridLayout_5.addWidget(self.tabWidgetWest, 2, 0, 1, 1)
|
||||
self.tabWidgetWest_2 = QtWidgets.QTabWidget(self.dockWidgetContents)
|
||||
self.tabWidgetWest_2.setEnabled(False)
|
||||
self.tabWidgetWest_2.setTabPosition(QtWidgets.QTabWidget.West)
|
||||
self.tabWidgetWest_2.setObjectName("tabWidgetWest_2")
|
||||
self.tab_11 = QtWidgets.QWidget()
|
||||
self.tab_11.setObjectName("tab_11")
|
||||
self.gridLayout_20 = QtWidgets.QGridLayout(self.tab_11)
|
||||
self.gridLayout_20.setObjectName("gridLayout_20")
|
||||
self.label_50 = QtWidgets.QLabel(self.tab_11)
|
||||
self.label_50.setObjectName("label_50")
|
||||
self.gridLayout_20.addWidget(self.label_50, 0, 0, 1, 1)
|
||||
self.tabWidgetWest_2.addTab(self.tab_11, "")
|
||||
self.tab_12 = QtWidgets.QWidget()
|
||||
self.tab_12.setObjectName("tab_12")
|
||||
self.gridLayout_21 = QtWidgets.QGridLayout(self.tab_12)
|
||||
self.gridLayout_21.setObjectName("gridLayout_21")
|
||||
self.label_72 = QtWidgets.QLabel(self.tab_12)
|
||||
self.label_72.setObjectName("label_72")
|
||||
self.gridLayout_21.addWidget(self.label_72, 0, 0, 1, 1)
|
||||
self.tabWidgetWest_2.addTab(self.tab_12, "")
|
||||
self.gridLayout_5.addWidget(self.tabWidgetWest_2, 2, 1, 1, 1)
|
||||
self.tabWidgetEast = QtWidgets.QTabWidget(self.dockWidgetContents)
|
||||
self.tabWidgetEast.setTabPosition(QtWidgets.QTabWidget.East)
|
||||
self.tabWidgetEast.setObjectName("tabWidgetEast")
|
||||
self.tab_3 = QtWidgets.QWidget()
|
||||
self.tab_3.setObjectName("tab_3")
|
||||
self.gridLayout_2 = QtWidgets.QGridLayout(self.tab_3)
|
||||
self.gridLayout_2.setObjectName("gridLayout_2")
|
||||
self.label_38 = QtWidgets.QLabel(self.tab_3)
|
||||
self.label_38.setObjectName("label_38")
|
||||
self.gridLayout_2.addWidget(self.label_38, 0, 0, 1, 1)
|
||||
self.tabWidgetEast.addTab(self.tab_3, "")
|
||||
self.tab_4 = QtWidgets.QWidget()
|
||||
self.tab_4.setObjectName("tab_4")
|
||||
self.gridLayout_11 = QtWidgets.QGridLayout(self.tab_4)
|
||||
self.gridLayout_11.setObjectName("gridLayout_11")
|
||||
self.label_55 = QtWidgets.QLabel(self.tab_4)
|
||||
self.label_55.setObjectName("label_55")
|
||||
self.gridLayout_11.addWidget(self.label_55, 0, 0, 1, 1)
|
||||
self.tabWidgetEast.addTab(self.tab_4, "")
|
||||
self.gridLayout_5.addWidget(self.tabWidgetEast, 3, 0, 1, 1)
|
||||
self.tabWidgetEast_2 = QtWidgets.QTabWidget(self.dockWidgetContents)
|
||||
self.tabWidgetEast_2.setEnabled(False)
|
||||
self.tabWidgetEast_2.setTabPosition(QtWidgets.QTabWidget.East)
|
||||
self.tabWidgetEast_2.setObjectName("tabWidgetEast_2")
|
||||
self.tab_13 = QtWidgets.QWidget()
|
||||
self.tab_13.setObjectName("tab_13")
|
||||
self.gridLayout_22 = QtWidgets.QGridLayout(self.tab_13)
|
||||
self.gridLayout_22.setObjectName("gridLayout_22")
|
||||
self.label_51 = QtWidgets.QLabel(self.tab_13)
|
||||
self.label_51.setObjectName("label_51")
|
||||
self.gridLayout_22.addWidget(self.label_51, 0, 0, 1, 1)
|
||||
self.tabWidgetEast_2.addTab(self.tab_13, "")
|
||||
self.tab_14 = QtWidgets.QWidget()
|
||||
self.tab_14.setObjectName("tab_14")
|
||||
self.gridLayout_30 = QtWidgets.QGridLayout(self.tab_14)
|
||||
self.gridLayout_30.setObjectName("gridLayout_30")
|
||||
self.label_73 = QtWidgets.QLabel(self.tab_14)
|
||||
self.label_73.setObjectName("label_73")
|
||||
self.gridLayout_30.addWidget(self.label_73, 0, 0, 1, 1)
|
||||
self.tabWidgetEast_2.addTab(self.tab_14, "")
|
||||
self.gridLayout_5.addWidget(self.tabWidgetEast_2, 3, 1, 1, 1)
|
||||
self.tabWidgetSouth = QtWidgets.QTabWidget(self.dockWidgetContents)
|
||||
self.tabWidgetSouth.setTabPosition(QtWidgets.QTabWidget.South)
|
||||
self.tabWidgetSouth.setTabsClosable(True)
|
||||
self.tabWidgetSouth.setObjectName("tabWidgetSouth")
|
||||
self.tab = QtWidgets.QWidget()
|
||||
self.tab.setObjectName("tab")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.tab)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.label_34 = QtWidgets.QLabel(self.tab)
|
||||
self.label_34.setObjectName("label_34")
|
||||
self.gridLayout.addWidget(self.label_34, 0, 0, 1, 1)
|
||||
self.tabWidgetSouth.addTab(self.tab, "")
|
||||
self.tab_2 = QtWidgets.QWidget()
|
||||
self.tab_2.setObjectName("tab_2")
|
||||
self.gridLayout_18 = QtWidgets.QGridLayout(self.tab_2)
|
||||
self.gridLayout_18.setObjectName("gridLayout_18")
|
||||
self.label_62 = QtWidgets.QLabel(self.tab_2)
|
||||
self.label_62.setObjectName("label_62")
|
||||
self.gridLayout_18.addWidget(self.label_62, 0, 0, 1, 1)
|
||||
self.tabWidgetSouth.addTab(self.tab_2, "")
|
||||
self.gridLayout_5.addWidget(self.tabWidgetSouth, 4, 0, 1, 1)
|
||||
self.tabWidgetSouth_2 = QtWidgets.QTabWidget(self.dockWidgetContents)
|
||||
self.tabWidgetSouth_2.setEnabled(False)
|
||||
self.tabWidgetSouth_2.setTabPosition(QtWidgets.QTabWidget.South)
|
||||
self.tabWidgetSouth_2.setTabsClosable(True)
|
||||
self.tabWidgetSouth_2.setObjectName("tabWidgetSouth_2")
|
||||
self.tab_15 = QtWidgets.QWidget()
|
||||
self.tab_15.setObjectName("tab_15")
|
||||
self.gridLayout_31 = QtWidgets.QGridLayout(self.tab_15)
|
||||
self.gridLayout_31.setObjectName("gridLayout_31")
|
||||
self.label_35 = QtWidgets.QLabel(self.tab_15)
|
||||
self.label_35.setObjectName("label_35")
|
||||
self.gridLayout_31.addWidget(self.label_35, 0, 0, 1, 1)
|
||||
self.tabWidgetSouth_2.addTab(self.tab_15, "")
|
||||
self.tab_16 = QtWidgets.QWidget()
|
||||
self.tab_16.setObjectName("tab_16")
|
||||
self.gridLayout_32 = QtWidgets.QGridLayout(self.tab_16)
|
||||
self.gridLayout_32.setObjectName("gridLayout_32")
|
||||
self.label_74 = QtWidgets.QLabel(self.tab_16)
|
||||
self.label_74.setObjectName("label_74")
|
||||
self.gridLayout_32.addWidget(self.label_74, 0, 0, 1, 1)
|
||||
self.tabWidgetSouth_2.addTab(self.tab_16, "")
|
||||
self.gridLayout_5.addWidget(self.tabWidgetSouth_2, 4, 1, 1, 1)
|
||||
DockWidget.setWidget(self.dockWidgetContents)
|
||||
|
||||
self.retranslateUi(DockWidget)
|
||||
self.tabWidgetNorth.setCurrentIndex(0)
|
||||
self.tabWidgetNorth_2.setCurrentIndex(1)
|
||||
self.tabWidgetWest.setCurrentIndex(0)
|
||||
self.tabWidgetWest_2.setCurrentIndex(0)
|
||||
self.tabWidgetEast.setCurrentIndex(0)
|
||||
self.tabWidgetEast_2.setCurrentIndex(0)
|
||||
self.tabWidgetSouth.setCurrentIndex(0)
|
||||
self.tabWidgetSouth_2.setCurrentIndex(0)
|
||||
QtCore.QMetaObject.connectSlotsByName(DockWidget)
|
||||
|
||||
def retranslateUi(self, DockWidget):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
DockWidget.setWindowTitle(_translate("DockWidget", "Containers - Tabs"))
|
||||
self.label_5.setText(_translate("DockWidget", "Enabled"))
|
||||
self.label_6.setText(_translate("DockWidget", "Disabled"))
|
||||
self.label_52.setText(_translate("DockWidget", "Inside TabWidget North Closable Tab 1"))
|
||||
self.tabWidgetNorth.setTabText(self.tabWidgetNorth.indexOf(self.tab_7), _translate("DockWidget", "Tab 1"))
|
||||
self.label_48.setText(_translate("DockWidget", "Inside TabWidget North Closable Tab 2"))
|
||||
self.tabWidgetNorth.setTabText(self.tabWidgetNorth.indexOf(self.tab_8), _translate("DockWidget", "Tab 2"))
|
||||
self.label_53.setText(_translate("DockWidget", "Inside TabWidget North Closable Tab 1"))
|
||||
self.tabWidgetNorth_2.setTabText(self.tabWidgetNorth_2.indexOf(self.tab_9), _translate("DockWidget", "Tab 1"))
|
||||
self.label_49.setText(_translate("DockWidget", "Inside TabWidget North Closable Tab 2"))
|
||||
self.tabWidgetNorth_2.setTabText(self.tabWidgetNorth_2.indexOf(self.tab_10), _translate("DockWidget", "Tab 2"))
|
||||
self.label_39.setText(_translate("DockWidget", "Inside TabWidget West Tab 1"))
|
||||
self.tabWidgetWest.setTabText(self.tabWidgetWest.indexOf(self.tab_5), _translate("DockWidget", "Tab 1"))
|
||||
self.label_54.setText(_translate("DockWidget", "Inside TabWidget West Tab 2"))
|
||||
self.tabWidgetWest.setTabText(self.tabWidgetWest.indexOf(self.tab_6), _translate("DockWidget", "Tab 2"))
|
||||
self.label_50.setText(_translate("DockWidget", "Inside TabWidget West Tab 1"))
|
||||
self.tabWidgetWest_2.setTabText(self.tabWidgetWest_2.indexOf(self.tab_11), _translate("DockWidget", "Tab 1"))
|
||||
self.label_72.setText(_translate("DockWidget", "Inside TabWidget West Tab 2"))
|
||||
self.tabWidgetWest_2.setTabText(self.tabWidgetWest_2.indexOf(self.tab_12), _translate("DockWidget", "Tab 2"))
|
||||
self.label_38.setText(_translate("DockWidget", "Inside TabWidget East Tab 1"))
|
||||
self.tabWidgetEast.setTabText(self.tabWidgetEast.indexOf(self.tab_3), _translate("DockWidget", "Tab 1"))
|
||||
self.label_55.setText(_translate("DockWidget", "Inside TabWidget East Tab 2"))
|
||||
self.tabWidgetEast.setTabText(self.tabWidgetEast.indexOf(self.tab_4), _translate("DockWidget", "Tab 2"))
|
||||
self.label_51.setText(_translate("DockWidget", "Inside TabWidget East Tab 1"))
|
||||
self.tabWidgetEast_2.setTabText(self.tabWidgetEast_2.indexOf(self.tab_13), _translate("DockWidget", "Tab 1"))
|
||||
self.label_73.setText(_translate("DockWidget", "Inside TabWidget East Tab 2"))
|
||||
self.tabWidgetEast_2.setTabText(self.tabWidgetEast_2.indexOf(self.tab_14), _translate("DockWidget", "Tab 2"))
|
||||
self.label_34.setText(_translate("DockWidget", "Inside TabWidget South Closable Tab 1"))
|
||||
self.tabWidgetSouth.setTabText(self.tabWidgetSouth.indexOf(self.tab), _translate("DockWidget", "Tab 1"))
|
||||
self.label_62.setText(_translate("DockWidget", "Inside TabWidget South Closable Tab 2"))
|
||||
self.tabWidgetSouth.setTabText(self.tabWidgetSouth.indexOf(self.tab_2), _translate("DockWidget", "Tab 2"))
|
||||
self.label_35.setText(_translate("DockWidget", "Inside TabWidget South Closable Tab 1"))
|
||||
self.tabWidgetSouth_2.setTabText(self.tabWidgetSouth_2.indexOf(self.tab_15), _translate("DockWidget", "Tab 1"))
|
||||
self.label_74.setText(_translate("DockWidget", "Inside TabWidget South Closable Tab 2"))
|
||||
self.tabWidgetSouth_2.setTabText(self.tabWidgetSouth_2.indexOf(self.tab_16), _translate("DockWidget", "Tab 2"))
|
900
deps/QDark/example/ui/dw_displays.ui
vendored
Normal file
900
deps/QDark/example/ui/dw_displays.ui
vendored
Normal file
@ -0,0 +1,900 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>DockWidget</class>
|
||||
<widget class="QDockWidget" name="DockWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>592</width>
|
||||
<height>557</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Displays</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="dockWidgetContents">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="2" column="1">
|
||||
<widget class="QTextBrowser" name="textBrowser">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="html">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Cantarell';">Testing</span></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Cantarell';"><br /></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_77">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="label_78">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Disabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Label</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QLabel" name="label_79">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Testing</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TextBrowser</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QTextBrowser" name="textBrowserDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="html">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Cantarell';">Testing</span></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_5">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>GraphicsView</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QGraphicsView" name="graphicsView">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QGraphicsView" name="graphicsViewDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>CalendarWidget</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QCalendarWidget" name="calendarWidget">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>350</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Lato</family>
|
||||
<pointsize>8</pointsize>
|
||||
<italic>false</italic>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="2">
|
||||
<widget class="QLCDNumber" name="lcdNumberDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>LCDNumber</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QLCDNumber" name="lcdNumber">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="label_8">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ProgressBar</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<widget class="QProgressBar" name="progressBar">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>24</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="2">
|
||||
<widget class="QProgressBar" name="progressBarDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>24</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0">
|
||||
<widget class="QLabel" name="label_9">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Line - H</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="1">
|
||||
<widget class="Line" name="lineH">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="2">
|
||||
<widget class="Line" name="lineHDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0">
|
||||
<widget class="QLabel" name="label_10">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Line - V</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="1">
|
||||
<widget class="Line" name="lineV">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="2">
|
||||
<widget class="Line" name="lineVDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="0">
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="10" column="0" colspan="3">
|
||||
<widget class="QLabel" name="label_37">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside DockWidget</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Testing</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QCalendarWidget" name="calendarWidgetDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>350</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Lato</family>
|
||||
<pointsize>8</pointsize>
|
||||
<italic>false</italic>
|
||||
</font>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>progressBar</sender>
|
||||
<signal>valueChanged(int)</signal>
|
||||
<receiver>progressBarDis</receiver>
|
||||
<slot>setValue(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>300</x>
|
||||
<y>496</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>469</x>
|
||||
<y>497</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>calendarWidget</sender>
|
||||
<signal>currentPageChanged(int,int)</signal>
|
||||
<receiver>calendarWidgetDis</receiver>
|
||||
<slot>setCurrentPage(int,int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>254</x>
|
||||
<y>321</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>485</x>
|
||||
<y>313</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>calendarWidget</sender>
|
||||
<signal>clicked(QDate)</signal>
|
||||
<receiver>calendarWidgetDis</receiver>
|
||||
<slot>setSelectedDate(QDate)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>275</x>
|
||||
<y>354</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>465</x>
|
||||
<y>359</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
427
deps/QDark/example/ui/dw_displays_ui.py
vendored
Normal file
427
deps/QDark/example/ui/dw_displays_ui.py
vendored
Normal file
@ -0,0 +1,427 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'dw_displays.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.14.1
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
|
||||
from qtpy import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_DockWidget(object):
|
||||
def setupUi(self, DockWidget):
|
||||
DockWidget.setObjectName("DockWidget")
|
||||
DockWidget.resize(592, 557)
|
||||
self.dockWidgetContents = QtWidgets.QWidget()
|
||||
self.dockWidgetContents.setObjectName("dockWidgetContents")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.dockWidgetContents)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.textBrowser = QtWidgets.QTextBrowser(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.textBrowser.sizePolicy().hasHeightForWidth())
|
||||
self.textBrowser.setSizePolicy(sizePolicy)
|
||||
self.textBrowser.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.textBrowser.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.textBrowser.setObjectName("textBrowser")
|
||||
self.gridLayout.addWidget(self.textBrowser, 2, 1, 1, 1)
|
||||
self.label_77 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_77.sizePolicy().hasHeightForWidth())
|
||||
self.label_77.setSizePolicy(sizePolicy)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_77.setFont(font)
|
||||
self.label_77.setObjectName("label_77")
|
||||
self.gridLayout.addWidget(self.label_77, 0, 1, 1, 1)
|
||||
self.label_78 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_78.sizePolicy().hasHeightForWidth())
|
||||
self.label_78.setSizePolicy(sizePolicy)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_78.setFont(font)
|
||||
self.label_78.setObjectName("label_78")
|
||||
self.gridLayout.addWidget(self.label_78, 0, 2, 1, 1)
|
||||
self.label_3 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
|
||||
self.label_3.setSizePolicy(sizePolicy)
|
||||
self.label_3.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_3.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_3.setFont(font)
|
||||
self.label_3.setObjectName("label_3")
|
||||
self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
|
||||
self.label_79 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_79.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_79.sizePolicy().hasHeightForWidth())
|
||||
self.label_79.setSizePolicy(sizePolicy)
|
||||
self.label_79.setObjectName("label_79")
|
||||
self.gridLayout.addWidget(self.label_79, 1, 2, 1, 1)
|
||||
self.label_4 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
|
||||
self.label_4.setSizePolicy(sizePolicy)
|
||||
self.label_4.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_4.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_4.setFont(font)
|
||||
self.label_4.setObjectName("label_4")
|
||||
self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
|
||||
self.textBrowserDis = QtWidgets.QTextBrowser(self.dockWidgetContents)
|
||||
self.textBrowserDis.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.textBrowserDis.sizePolicy().hasHeightForWidth())
|
||||
self.textBrowserDis.setSizePolicy(sizePolicy)
|
||||
self.textBrowserDis.setObjectName("textBrowserDis")
|
||||
self.gridLayout.addWidget(self.textBrowserDis, 2, 2, 1, 1)
|
||||
self.label_5 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
|
||||
self.label_5.setSizePolicy(sizePolicy)
|
||||
self.label_5.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_5.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_5.setFont(font)
|
||||
self.label_5.setObjectName("label_5")
|
||||
self.gridLayout.addWidget(self.label_5, 3, 0, 1, 1)
|
||||
self.graphicsView = QtWidgets.QGraphicsView(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.graphicsView.sizePolicy().hasHeightForWidth())
|
||||
self.graphicsView.setSizePolicy(sizePolicy)
|
||||
self.graphicsView.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.graphicsView.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.graphicsView.setObjectName("graphicsView")
|
||||
self.gridLayout.addWidget(self.graphicsView, 3, 1, 1, 1)
|
||||
self.graphicsViewDis = QtWidgets.QGraphicsView(self.dockWidgetContents)
|
||||
self.graphicsViewDis.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.graphicsViewDis.sizePolicy().hasHeightForWidth())
|
||||
self.graphicsViewDis.setSizePolicy(sizePolicy)
|
||||
self.graphicsViewDis.setObjectName("graphicsViewDis")
|
||||
self.gridLayout.addWidget(self.graphicsViewDis, 3, 2, 1, 1)
|
||||
self.label_6 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
|
||||
self.label_6.setSizePolicy(sizePolicy)
|
||||
self.label_6.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_6.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_6.setFont(font)
|
||||
self.label_6.setObjectName("label_6")
|
||||
self.gridLayout.addWidget(self.label_6, 4, 0, 1, 1)
|
||||
self.calendarWidget = QtWidgets.QCalendarWidget(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.calendarWidget.sizePolicy().hasHeightForWidth())
|
||||
self.calendarWidget.setSizePolicy(sizePolicy)
|
||||
self.calendarWidget.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.calendarWidget.setMaximumSize(QtCore.QSize(350, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setFamily("Lato")
|
||||
font.setPointSize(8)
|
||||
font.setItalic(False)
|
||||
self.calendarWidget.setFont(font)
|
||||
self.calendarWidget.setObjectName("calendarWidget")
|
||||
self.gridLayout.addWidget(self.calendarWidget, 4, 1, 1, 1)
|
||||
self.lcdNumberDis = QtWidgets.QLCDNumber(self.dockWidgetContents)
|
||||
self.lcdNumberDis.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.lcdNumberDis.sizePolicy().hasHeightForWidth())
|
||||
self.lcdNumberDis.setSizePolicy(sizePolicy)
|
||||
self.lcdNumberDis.setObjectName("lcdNumberDis")
|
||||
self.gridLayout.addWidget(self.lcdNumberDis, 5, 2, 1, 1)
|
||||
self.label_7 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
|
||||
self.label_7.setSizePolicy(sizePolicy)
|
||||
self.label_7.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_7.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_7.setFont(font)
|
||||
self.label_7.setObjectName("label_7")
|
||||
self.gridLayout.addWidget(self.label_7, 5, 0, 1, 1)
|
||||
self.lcdNumber = QtWidgets.QLCDNumber(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.lcdNumber.sizePolicy().hasHeightForWidth())
|
||||
self.lcdNumber.setSizePolicy(sizePolicy)
|
||||
self.lcdNumber.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.lcdNumber.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.lcdNumber.setObjectName("lcdNumber")
|
||||
self.gridLayout.addWidget(self.lcdNumber, 5, 1, 1, 1)
|
||||
self.label_8 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth())
|
||||
self.label_8.setSizePolicy(sizePolicy)
|
||||
self.label_8.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_8.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_8.setFont(font)
|
||||
self.label_8.setObjectName("label_8")
|
||||
self.gridLayout.addWidget(self.label_8, 6, 0, 1, 1)
|
||||
self.progressBar = QtWidgets.QProgressBar(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.progressBar.sizePolicy().hasHeightForWidth())
|
||||
self.progressBar.setSizePolicy(sizePolicy)
|
||||
self.progressBar.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.progressBar.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.progressBar.setProperty("value", 24)
|
||||
self.progressBar.setObjectName("progressBar")
|
||||
self.gridLayout.addWidget(self.progressBar, 6, 1, 1, 1)
|
||||
self.progressBarDis = QtWidgets.QProgressBar(self.dockWidgetContents)
|
||||
self.progressBarDis.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.progressBarDis.sizePolicy().hasHeightForWidth())
|
||||
self.progressBarDis.setSizePolicy(sizePolicy)
|
||||
self.progressBarDis.setProperty("value", 24)
|
||||
self.progressBarDis.setObjectName("progressBarDis")
|
||||
self.gridLayout.addWidget(self.progressBarDis, 6, 2, 1, 1)
|
||||
self.label_9 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_9.sizePolicy().hasHeightForWidth())
|
||||
self.label_9.setSizePolicy(sizePolicy)
|
||||
self.label_9.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_9.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_9.setFont(font)
|
||||
self.label_9.setObjectName("label_9")
|
||||
self.gridLayout.addWidget(self.label_9, 7, 0, 1, 1)
|
||||
self.lineH = QtWidgets.QFrame(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.lineH.sizePolicy().hasHeightForWidth())
|
||||
self.lineH.setSizePolicy(sizePolicy)
|
||||
self.lineH.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.lineH.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.lineH.setFrameShape(QtWidgets.QFrame.HLine)
|
||||
self.lineH.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||||
self.lineH.setObjectName("lineH")
|
||||
self.gridLayout.addWidget(self.lineH, 7, 1, 1, 1)
|
||||
self.lineHDis = QtWidgets.QFrame(self.dockWidgetContents)
|
||||
self.lineHDis.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.lineHDis.sizePolicy().hasHeightForWidth())
|
||||
self.lineHDis.setSizePolicy(sizePolicy)
|
||||
self.lineHDis.setFrameShape(QtWidgets.QFrame.HLine)
|
||||
self.lineHDis.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||||
self.lineHDis.setObjectName("lineHDis")
|
||||
self.gridLayout.addWidget(self.lineHDis, 7, 2, 1, 1)
|
||||
self.label_10 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth())
|
||||
self.label_10.setSizePolicy(sizePolicy)
|
||||
self.label_10.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_10.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_10.setFont(font)
|
||||
self.label_10.setObjectName("label_10")
|
||||
self.gridLayout.addWidget(self.label_10, 8, 0, 1, 1)
|
||||
self.lineV = QtWidgets.QFrame(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.lineV.sizePolicy().hasHeightForWidth())
|
||||
self.lineV.setSizePolicy(sizePolicy)
|
||||
self.lineV.setMinimumSize(QtCore.QSize(0, 50))
|
||||
self.lineV.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.lineV.setFrameShape(QtWidgets.QFrame.VLine)
|
||||
self.lineV.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||||
self.lineV.setObjectName("lineV")
|
||||
self.gridLayout.addWidget(self.lineV, 8, 1, 1, 1)
|
||||
self.lineVDis = QtWidgets.QFrame(self.dockWidgetContents)
|
||||
self.lineVDis.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.lineVDis.sizePolicy().hasHeightForWidth())
|
||||
self.lineVDis.setSizePolicy(sizePolicy)
|
||||
self.lineVDis.setMinimumSize(QtCore.QSize(0, 50))
|
||||
self.lineVDis.setFrameShape(QtWidgets.QFrame.VLine)
|
||||
self.lineVDis.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||||
self.lineVDis.setObjectName("lineVDis")
|
||||
self.gridLayout.addWidget(self.lineVDis, 8, 2, 1, 1)
|
||||
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||||
self.gridLayout.addItem(spacerItem, 9, 0, 1, 1)
|
||||
self.label_37 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_37.sizePolicy().hasHeightForWidth())
|
||||
self.label_37.setSizePolicy(sizePolicy)
|
||||
self.label_37.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.label_37.setObjectName("label_37")
|
||||
self.gridLayout.addWidget(self.label_37, 10, 0, 1, 3)
|
||||
self.label_2 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
|
||||
self.label_2.setSizePolicy(sizePolicy)
|
||||
self.label_2.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.label_2.setObjectName("label_2")
|
||||
self.gridLayout.addWidget(self.label_2, 1, 1, 1, 1)
|
||||
self.calendarWidgetDis = QtWidgets.QCalendarWidget(self.dockWidgetContents)
|
||||
self.calendarWidgetDis.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.calendarWidgetDis.sizePolicy().hasHeightForWidth())
|
||||
self.calendarWidgetDis.setSizePolicy(sizePolicy)
|
||||
self.calendarWidgetDis.setMaximumSize(QtCore.QSize(350, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setFamily("Lato")
|
||||
font.setPointSize(8)
|
||||
font.setItalic(False)
|
||||
self.calendarWidgetDis.setFont(font)
|
||||
self.calendarWidgetDis.setObjectName("calendarWidgetDis")
|
||||
self.gridLayout.addWidget(self.calendarWidgetDis, 4, 2, 1, 1)
|
||||
DockWidget.setWidget(self.dockWidgetContents)
|
||||
|
||||
self.retranslateUi(DockWidget)
|
||||
self.progressBar.valueChanged['int'].connect(self.progressBarDis.setValue)
|
||||
self.calendarWidget.currentPageChanged['int','int'].connect(self.calendarWidgetDis.setCurrentPage)
|
||||
self.calendarWidget.clicked['QDate'].connect(self.calendarWidgetDis.setSelectedDate)
|
||||
QtCore.QMetaObject.connectSlotsByName(DockWidget)
|
||||
|
||||
def retranslateUi(self, DockWidget):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
DockWidget.setWindowTitle(_translate("DockWidget", "Displays"))
|
||||
self.textBrowser.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.textBrowser.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.textBrowser.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.textBrowser.setHtml(_translate("DockWidget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||
"p, li { white-space: pre-wrap; }\n"
|
||||
"</style></head><body style=\" font-family:\'Ubuntu\'; font-size:11pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Cantarell\';\">Testing</span></p>\n"
|
||||
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Cantarell\';\"><br /></p></body></html>"))
|
||||
self.label_77.setText(_translate("DockWidget", "Enabled"))
|
||||
self.label_78.setText(_translate("DockWidget", "Disabled"))
|
||||
self.label_3.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_3.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_3.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_3.setText(_translate("DockWidget", "Label"))
|
||||
self.label_79.setText(_translate("DockWidget", "Testing"))
|
||||
self.label_4.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_4.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_4.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_4.setText(_translate("DockWidget", "TextBrowser"))
|
||||
self.textBrowserDis.setHtml(_translate("DockWidget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||
"p, li { white-space: pre-wrap; }\n"
|
||||
"</style></head><body style=\" font-family:\'Ubuntu\'; font-size:11pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Cantarell\';\">Testing</span></p></body></html>"))
|
||||
self.label_5.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_5.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_5.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_5.setText(_translate("DockWidget", "GraphicsView"))
|
||||
self.graphicsView.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.graphicsView.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.graphicsView.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_6.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_6.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_6.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_6.setText(_translate("DockWidget", "CalendarWidget"))
|
||||
self.calendarWidget.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.calendarWidget.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.calendarWidget.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_7.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_7.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_7.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_7.setText(_translate("DockWidget", "LCDNumber"))
|
||||
self.lcdNumber.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.lcdNumber.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.lcdNumber.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_8.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_8.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_8.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_8.setText(_translate("DockWidget", "ProgressBar"))
|
||||
self.progressBar.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.progressBar.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.progressBar.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_9.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_9.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_9.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_9.setText(_translate("DockWidget", "Line - H"))
|
||||
self.lineH.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.lineH.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.lineH.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_10.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_10.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_10.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_10.setText(_translate("DockWidget", "Line - V"))
|
||||
self.lineV.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.lineV.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.lineV.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_37.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_37.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_37.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_37.setText(_translate("DockWidget", "Inside DockWidget"))
|
||||
self.label_2.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_2.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_2.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_2.setText(_translate("DockWidget", "Testing"))
|
1098
deps/QDark/example/ui/dw_inputs_fields.ui
vendored
Normal file
1098
deps/QDark/example/ui/dw_inputs_fields.ui
vendored
Normal file
File diff suppressed because it is too large
Load Diff
389
deps/QDark/example/ui/dw_inputs_fields_ui.py
vendored
Normal file
389
deps/QDark/example/ui/dw_inputs_fields_ui.py
vendored
Normal file
@ -0,0 +1,389 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'dw_inputs_fields.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.14.1
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
|
||||
from qtpy import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_DockWidget(object):
|
||||
def setupUi(self, DockWidget):
|
||||
DockWidget.setObjectName("DockWidget")
|
||||
DockWidget.resize(703, 557)
|
||||
self.dockWidgetContents = QtWidgets.QWidget()
|
||||
self.dockWidgetContents.setObjectName("dockWidgetContents")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.dockWidgetContents)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.label = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label.setFont(font)
|
||||
self.label.setObjectName("label")
|
||||
self.gridLayout.addWidget(self.label, 0, 1, 1, 1)
|
||||
self.label_2 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_2.setFont(font)
|
||||
self.label_2.setObjectName("label_2")
|
||||
self.gridLayout.addWidget(self.label_2, 0, 2, 1, 1)
|
||||
self.label_12 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_12.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_12.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_12.setFont(font)
|
||||
self.label_12.setObjectName("label_12")
|
||||
self.gridLayout.addWidget(self.label_12, 1, 0, 1, 1)
|
||||
self.fontComboBox = QtWidgets.QFontComboBox(self.dockWidgetContents)
|
||||
self.fontComboBox.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.fontComboBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.fontComboBox.setObjectName("fontComboBox")
|
||||
self.gridLayout.addWidget(self.fontComboBox, 1, 1, 1, 1)
|
||||
self.fontComboBoxDis = QtWidgets.QFontComboBox(self.dockWidgetContents)
|
||||
self.fontComboBoxDis.setEnabled(False)
|
||||
self.fontComboBoxDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.fontComboBoxDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.fontComboBoxDis.setObjectName("fontComboBoxDis")
|
||||
self.gridLayout.addWidget(self.fontComboBoxDis, 1, 2, 1, 1)
|
||||
self.label_3 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_3.setObjectName("label_3")
|
||||
self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
|
||||
self.comboBoxEdit = QtWidgets.QComboBox(self.dockWidgetContents)
|
||||
self.comboBoxEdit.setEditable(True)
|
||||
self.comboBoxEdit.setObjectName("comboBoxEdit")
|
||||
self.comboBoxEdit.addItem("")
|
||||
self.comboBoxEdit.addItem("")
|
||||
self.comboBoxEdit.addItem("")
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(":/qss_icons/rc/window_undock.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.comboBoxEdit.addItem(icon, "")
|
||||
icon1 = QtGui.QIcon()
|
||||
icon1.addPixmap(QtGui.QPixmap(":/qss_icons/rc/window_undock_focus@2x.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.comboBoxEdit.addItem(icon1, "")
|
||||
self.gridLayout.addWidget(self.comboBoxEdit, 2, 1, 1, 1)
|
||||
self.comboBoxEditDis = QtWidgets.QComboBox(self.dockWidgetContents)
|
||||
self.comboBoxEditDis.setEnabled(False)
|
||||
self.comboBoxEditDis.setEditable(True)
|
||||
self.comboBoxEditDis.setObjectName("comboBoxEditDis")
|
||||
self.comboBoxEditDis.addItem("")
|
||||
self.comboBoxEditDis.addItem("")
|
||||
self.comboBoxEditDis.addItem("")
|
||||
self.comboBoxEditDis.setItemText(2, "")
|
||||
self.gridLayout.addWidget(self.comboBoxEditDis, 2, 2, 1, 1)
|
||||
self.label_13 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_13.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_13.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_13.setFont(font)
|
||||
self.label_13.setObjectName("label_13")
|
||||
self.gridLayout.addWidget(self.label_13, 3, 0, 1, 1)
|
||||
self.lineEdit = QtWidgets.QLineEdit(self.dockWidgetContents)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.lineEdit.sizePolicy().hasHeightForWidth())
|
||||
self.lineEdit.setSizePolicy(sizePolicy)
|
||||
self.lineEdit.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.lineEdit.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.lineEdit.setObjectName("lineEdit")
|
||||
self.gridLayout.addWidget(self.lineEdit, 3, 1, 1, 1)
|
||||
self.lineEditDis = QtWidgets.QLineEdit(self.dockWidgetContents)
|
||||
self.lineEditDis.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.lineEditDis.sizePolicy().hasHeightForWidth())
|
||||
self.lineEditDis.setSizePolicy(sizePolicy)
|
||||
self.lineEditDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.lineEditDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.lineEditDis.setObjectName("lineEditDis")
|
||||
self.gridLayout.addWidget(self.lineEditDis, 3, 2, 1, 1)
|
||||
self.label_14 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_14.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_14.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_14.setFont(font)
|
||||
self.label_14.setObjectName("label_14")
|
||||
self.gridLayout.addWidget(self.label_14, 4, 0, 1, 1)
|
||||
self.textEdit = QtWidgets.QTextEdit(self.dockWidgetContents)
|
||||
self.textEdit.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.textEdit.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.textEdit.setObjectName("textEdit")
|
||||
self.gridLayout.addWidget(self.textEdit, 4, 1, 1, 1)
|
||||
self.textEditDis = QtWidgets.QTextEdit(self.dockWidgetContents)
|
||||
self.textEditDis.setEnabled(False)
|
||||
self.textEditDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.textEditDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.textEditDis.setObjectName("textEditDis")
|
||||
self.gridLayout.addWidget(self.textEditDis, 4, 2, 1, 1)
|
||||
self.label_15 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_15.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_15.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_15.setFont(font)
|
||||
self.label_15.setObjectName("label_15")
|
||||
self.gridLayout.addWidget(self.label_15, 5, 0, 1, 1)
|
||||
self.plainTextEdit = QtWidgets.QPlainTextEdit(self.dockWidgetContents)
|
||||
self.plainTextEdit.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.plainTextEdit.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.plainTextEdit.setObjectName("plainTextEdit")
|
||||
self.gridLayout.addWidget(self.plainTextEdit, 5, 1, 1, 1)
|
||||
self.plainTextEditDis = QtWidgets.QPlainTextEdit(self.dockWidgetContents)
|
||||
self.plainTextEditDis.setEnabled(False)
|
||||
self.plainTextEditDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.plainTextEditDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.plainTextEditDis.setObjectName("plainTextEditDis")
|
||||
self.gridLayout.addWidget(self.plainTextEditDis, 5, 2, 1, 1)
|
||||
self.label_16 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_16.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_16.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_16.setFont(font)
|
||||
self.label_16.setObjectName("label_16")
|
||||
self.gridLayout.addWidget(self.label_16, 6, 0, 1, 1)
|
||||
self.spinBox = QtWidgets.QSpinBox(self.dockWidgetContents)
|
||||
self.spinBox.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.spinBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.spinBox.setObjectName("spinBox")
|
||||
self.gridLayout.addWidget(self.spinBox, 6, 1, 1, 1)
|
||||
self.spinBoxDis = QtWidgets.QSpinBox(self.dockWidgetContents)
|
||||
self.spinBoxDis.setEnabled(False)
|
||||
self.spinBoxDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.spinBoxDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.spinBoxDis.setObjectName("spinBoxDis")
|
||||
self.gridLayout.addWidget(self.spinBoxDis, 6, 2, 1, 1)
|
||||
self.label_17 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_17.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_17.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_17.setFont(font)
|
||||
self.label_17.setObjectName("label_17")
|
||||
self.gridLayout.addWidget(self.label_17, 7, 0, 1, 1)
|
||||
self.doubleSpinBox = QtWidgets.QDoubleSpinBox(self.dockWidgetContents)
|
||||
self.doubleSpinBox.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.doubleSpinBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.doubleSpinBox.setObjectName("doubleSpinBox")
|
||||
self.gridLayout.addWidget(self.doubleSpinBox, 7, 1, 1, 1)
|
||||
self.doubleSpinBoxDis = QtWidgets.QDoubleSpinBox(self.dockWidgetContents)
|
||||
self.doubleSpinBoxDis.setEnabled(False)
|
||||
self.doubleSpinBoxDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.doubleSpinBoxDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.doubleSpinBoxDis.setObjectName("doubleSpinBoxDis")
|
||||
self.gridLayout.addWidget(self.doubleSpinBoxDis, 7, 2, 1, 1)
|
||||
self.label_18 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_18.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_18.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_18.setFont(font)
|
||||
self.label_18.setObjectName("label_18")
|
||||
self.gridLayout.addWidget(self.label_18, 8, 0, 1, 1)
|
||||
self.timeEdit = QtWidgets.QTimeEdit(self.dockWidgetContents)
|
||||
self.timeEdit.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.timeEdit.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.timeEdit.setObjectName("timeEdit")
|
||||
self.gridLayout.addWidget(self.timeEdit, 8, 1, 1, 1)
|
||||
self.timeEditDis = QtWidgets.QTimeEdit(self.dockWidgetContents)
|
||||
self.timeEditDis.setEnabled(False)
|
||||
self.timeEditDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.timeEditDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.timeEditDis.setObjectName("timeEditDis")
|
||||
self.gridLayout.addWidget(self.timeEditDis, 8, 2, 1, 1)
|
||||
self.label_19 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_19.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_19.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_19.setFont(font)
|
||||
self.label_19.setObjectName("label_19")
|
||||
self.gridLayout.addWidget(self.label_19, 9, 0, 1, 1)
|
||||
self.dateEdit = QtWidgets.QDateEdit(self.dockWidgetContents)
|
||||
self.dateEdit.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.dateEdit.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.dateEdit.setObjectName("dateEdit")
|
||||
self.gridLayout.addWidget(self.dateEdit, 9, 1, 1, 1)
|
||||
self.dateEditDis = QtWidgets.QDateEdit(self.dockWidgetContents)
|
||||
self.dateEditDis.setEnabled(False)
|
||||
self.dateEditDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.dateEditDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.dateEditDis.setObjectName("dateEditDis")
|
||||
self.gridLayout.addWidget(self.dateEditDis, 9, 2, 1, 1)
|
||||
self.label_20 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_20.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_20.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_20.setFont(font)
|
||||
self.label_20.setObjectName("label_20")
|
||||
self.gridLayout.addWidget(self.label_20, 10, 0, 1, 1)
|
||||
self.dateTimeEdit = QtWidgets.QDateTimeEdit(self.dockWidgetContents)
|
||||
self.dateTimeEdit.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.dateTimeEdit.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.dateTimeEdit.setObjectName("dateTimeEdit")
|
||||
self.gridLayout.addWidget(self.dateTimeEdit, 10, 1, 1, 1)
|
||||
self.dateTimeEditDis = QtWidgets.QDateTimeEdit(self.dockWidgetContents)
|
||||
self.dateTimeEditDis.setEnabled(False)
|
||||
self.dateTimeEditDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.dateTimeEditDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.dateTimeEditDis.setObjectName("dateTimeEditDis")
|
||||
self.gridLayout.addWidget(self.dateTimeEditDis, 10, 2, 1, 1)
|
||||
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||||
self.gridLayout.addItem(spacerItem, 11, 0, 1, 1)
|
||||
self.label_51 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_51.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.label_51.setObjectName("label_51")
|
||||
self.gridLayout.addWidget(self.label_51, 12, 0, 1, 3)
|
||||
DockWidget.setWidget(self.dockWidgetContents)
|
||||
|
||||
self.retranslateUi(DockWidget)
|
||||
self.fontComboBox.editTextChanged['QString'].connect(self.fontComboBoxDis.setEditText)
|
||||
self.lineEdit.textEdited['QString'].connect(self.lineEditDis.setText)
|
||||
self.spinBox.valueChanged['int'].connect(self.spinBoxDis.setValue)
|
||||
self.doubleSpinBox.valueChanged['double'].connect(self.doubleSpinBoxDis.setValue)
|
||||
self.timeEdit.timeChanged['QTime'].connect(self.timeEditDis.setTime)
|
||||
self.dateEdit.dateTimeChanged['QDateTime'].connect(self.dateEditDis.setDateTime)
|
||||
self.dateTimeEdit.dateTimeChanged['QDateTime'].connect(self.dateTimeEditDis.setDateTime)
|
||||
QtCore.QMetaObject.connectSlotsByName(DockWidget)
|
||||
|
||||
def retranslateUi(self, DockWidget):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
DockWidget.setWindowTitle(_translate("DockWidget", "Inputs - Fields"))
|
||||
self.label.setText(_translate("DockWidget", "Enabled"))
|
||||
self.label_2.setText(_translate("DockWidget", "Disabled"))
|
||||
self.label_12.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_12.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_12.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_12.setText(_translate("DockWidget", "FontComboBox"))
|
||||
self.fontComboBox.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.fontComboBox.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.fontComboBox.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.fontComboBoxDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.fontComboBoxDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.fontComboBoxDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_3.setText(_translate("DockWidget", "<html><head/><body><p><span style=\" font-weight:600;\">ComboBox</span></p></body></html>"))
|
||||
self.comboBoxEdit.setItemText(0, _translate("DockWidget", "ComboBoxEditable"))
|
||||
self.comboBoxEdit.setItemText(1, _translate("DockWidget", "Option 1 No Icon"))
|
||||
self.comboBoxEdit.setItemText(2, _translate("DockWidget", "Option 2 No Icon"))
|
||||
self.comboBoxEdit.setItemText(3, _translate("DockWidget", "Option 1 With Icon"))
|
||||
self.comboBoxEdit.setItemText(4, _translate("DockWidget", "Option 2 With Icon"))
|
||||
self.comboBoxEditDis.setItemText(0, _translate("DockWidget", "ComboBoxEditable"))
|
||||
self.comboBoxEditDis.setItemText(1, _translate("DockWidget", "Second option"))
|
||||
self.label_13.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_13.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_13.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_13.setText(_translate("DockWidget", "LineEdit"))
|
||||
self.lineEdit.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.lineEdit.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.lineEdit.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.lineEdit.setText(_translate("DockWidget", "LineEdit"))
|
||||
self.lineEditDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.lineEditDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.lineEditDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.lineEditDis.setText(_translate("DockWidget", "LineEdit"))
|
||||
self.label_14.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_14.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_14.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_14.setText(_translate("DockWidget", "TextEdit"))
|
||||
self.textEdit.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.textEdit.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.textEdit.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.textEdit.setHtml(_translate("DockWidget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||
"p, li { white-space: pre-wrap; }\n"
|
||||
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Cantarell\'; font-size:11pt;\">TextEdit</span></p></body></html>"))
|
||||
self.textEditDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.textEditDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.textEditDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.textEditDis.setHtml(_translate("DockWidget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||
"p, li { white-space: pre-wrap; }\n"
|
||||
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Cantarell\'; font-size:11pt;\">TextEdit</span></p></body></html>"))
|
||||
self.label_15.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_15.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_15.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_15.setText(_translate("DockWidget", "PlainTextEdit"))
|
||||
self.plainTextEdit.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.plainTextEdit.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.plainTextEdit.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.plainTextEdit.setPlainText(_translate("DockWidget", "PlainTextEdit"))
|
||||
self.plainTextEditDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.plainTextEditDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.plainTextEditDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.plainTextEditDis.setPlainText(_translate("DockWidget", "PlainTextEdit"))
|
||||
self.label_16.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_16.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_16.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_16.setText(_translate("DockWidget", "SpinBox"))
|
||||
self.spinBox.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.spinBox.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.spinBox.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.spinBoxDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.spinBoxDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.spinBoxDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_17.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_17.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_17.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_17.setText(_translate("DockWidget", "DoubleSpinBox"))
|
||||
self.doubleSpinBox.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.doubleSpinBox.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.doubleSpinBox.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.doubleSpinBoxDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.doubleSpinBoxDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.doubleSpinBoxDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_18.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_18.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_18.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_18.setText(_translate("DockWidget", "TimeEdit"))
|
||||
self.timeEdit.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.timeEdit.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.timeEdit.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.timeEditDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.timeEditDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.timeEditDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_19.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_19.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_19.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_19.setText(_translate("DockWidget", "DateEdit"))
|
||||
self.dateEdit.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.dateEdit.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.dateEdit.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.dateEditDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.dateEditDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.dateEditDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_20.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_20.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_20.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_20.setText(_translate("DockWidget", "TimeDateEdit"))
|
||||
self.dateTimeEdit.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.dateTimeEdit.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.dateTimeEdit.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.dateTimeEditDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.dateTimeEditDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.dateTimeEditDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_51.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_51.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_51.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_51.setText(_translate("DockWidget", "Inside DockWidget"))
|
||||
from qdarkstyle import style_rc
|
813
deps/QDark/example/ui/dw_inputs_no_fields.ui
vendored
Normal file
813
deps/QDark/example/ui/dw_inputs_no_fields.ui
vendored
Normal file
@ -0,0 +1,813 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>DockWidget</class>
|
||||
<widget class="QDockWidget" name="DockWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>380</width>
|
||||
<height>364</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Inputs - No Fields</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="dockWidgetContents">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="2" column="1">
|
||||
<widget class="QDial" name="dial">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>50</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0">
|
||||
<widget class="QLabel" name="label_25">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>VerticalSlider</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QScrollBar" name="horizontalScrollBarDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>50</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="1">
|
||||
<widget class="QSlider" name="verticalSlider">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>70</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>70</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>50</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="label_24">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>HorizontalSlider</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1" rowspan="2">
|
||||
<widget class="QSlider" name="horizontalSlider">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>50</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QSlider" name="horizontalSliderDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>50</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="label_23">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>VerticalScroolBar</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Disabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="2" rowspan="2">
|
||||
<widget class="QScrollBar" name="verticalScrollBarDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>70</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>70</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>50</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_21">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Dial</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0">
|
||||
<spacer name="verticalSpacerDis">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<widget class="QScrollBar" name="verticalScrollBar">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>70</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>70</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>50</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QScrollBar" name="horizontalScrollBar">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>50</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QComboBox" name="comboBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>ComboBoxNotEditable</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Option 1 No Icon</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Option 2 No Icon</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Option 1 With Icon</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../../qdarkstyle/style.qrc">
|
||||
<normaloff>:/qss_icons/rc/window_undock.png</normaloff>:/qss_icons/rc/window_undock.png</iconset>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Option 2 With Icon</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../../qdarkstyle/style.qrc">
|
||||
<normaloff>:/qss_icons/rc/window_undock_focus@2x.png</normaloff>:/qss_icons/rc/window_undock_focus@2x.png</iconset>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_22">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>HorizontalScroolBar</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="0" colspan="3">
|
||||
<widget class="QLabel" name="label_50">
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inside DockWidget</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_11">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ComboBox</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QDial" name="dialDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>50</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="2">
|
||||
<widget class="QSlider" name="verticalSliderDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>70</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>70</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>50</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QComboBox" name="comboBoxDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>ComboBoxNotEditable</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>ComboBox B</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>ComboBox C</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../../qdarkstyle/style.qrc"/>
|
||||
</resources>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>dial</sender>
|
||||
<signal>sliderMoved(int)</signal>
|
||||
<receiver>dialDis</receiver>
|
||||
<slot>setValue(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>222</x>
|
||||
<y>122</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>299</x>
|
||||
<y>121</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>horizontalScrollBar</sender>
|
||||
<signal>sliderMoved(int)</signal>
|
||||
<receiver>horizontalScrollBarDis</receiver>
|
||||
<slot>setValue(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>196</x>
|
||||
<y>158</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>314</x>
|
||||
<y>163</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>horizontalSlider</sender>
|
||||
<signal>sliderMoved(int)</signal>
|
||||
<receiver>horizontalSliderDis</receiver>
|
||||
<slot>setValue(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>192</x>
|
||||
<y>192</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>305</x>
|
||||
<y>190</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>verticalScrollBar</sender>
|
||||
<signal>sliderMoved(int)</signal>
|
||||
<receiver>verticalScrollBarDis</receiver>
|
||||
<slot>setValue(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>163</x>
|
||||
<y>236</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>284</x>
|
||||
<y>245</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>verticalSlider</sender>
|
||||
<signal>sliderMoved(int)</signal>
|
||||
<receiver>verticalSliderDis</receiver>
|
||||
<slot>setValue(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>172</x>
|
||||
<y>328</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>289</x>
|
||||
<y>329</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>comboBox</sender>
|
||||
<signal>currentIndexChanged(int)</signal>
|
||||
<receiver>comboBoxDis</receiver>
|
||||
<slot>setCurrentIndex(int)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>230</x>
|
||||
<y>76</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>322</x>
|
||||
<y>77</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
279
deps/QDark/example/ui/dw_inputs_no_fields_ui.py
vendored
Normal file
279
deps/QDark/example/ui/dw_inputs_no_fields_ui.py
vendored
Normal file
@ -0,0 +1,279 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'dw_inputs_no_fields.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.14.1
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
|
||||
from qtpy import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_DockWidget(object):
|
||||
def setupUi(self, DockWidget):
|
||||
DockWidget.setObjectName("DockWidget")
|
||||
DockWidget.resize(380, 364)
|
||||
self.dockWidgetContents = QtWidgets.QWidget()
|
||||
self.dockWidgetContents.setObjectName("dockWidgetContents")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.dockWidgetContents)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.dial = QtWidgets.QDial(self.dockWidgetContents)
|
||||
self.dial.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.dial.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.dial.setProperty("value", 50)
|
||||
self.dial.setObjectName("dial")
|
||||
self.gridLayout.addWidget(self.dial, 2, 1, 1, 1)
|
||||
self.label_25 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_25.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_25.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_25.setFont(font)
|
||||
self.label_25.setObjectName("label_25")
|
||||
self.gridLayout.addWidget(self.label_25, 7, 0, 1, 1)
|
||||
self.horizontalScrollBarDis = QtWidgets.QScrollBar(self.dockWidgetContents)
|
||||
self.horizontalScrollBarDis.setEnabled(False)
|
||||
self.horizontalScrollBarDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.horizontalScrollBarDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.horizontalScrollBarDis.setProperty("value", 50)
|
||||
self.horizontalScrollBarDis.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.horizontalScrollBarDis.setObjectName("horizontalScrollBarDis")
|
||||
self.gridLayout.addWidget(self.horizontalScrollBarDis, 3, 2, 1, 1)
|
||||
self.verticalSlider = QtWidgets.QSlider(self.dockWidgetContents)
|
||||
self.verticalSlider.setMinimumSize(QtCore.QSize(0, 70))
|
||||
self.verticalSlider.setMaximumSize(QtCore.QSize(16777215, 70))
|
||||
self.verticalSlider.setProperty("value", 50)
|
||||
self.verticalSlider.setOrientation(QtCore.Qt.Vertical)
|
||||
self.verticalSlider.setObjectName("verticalSlider")
|
||||
self.gridLayout.addWidget(self.verticalSlider, 7, 1, 1, 1)
|
||||
self.label_24 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_24.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_24.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_24.setFont(font)
|
||||
self.label_24.setObjectName("label_24")
|
||||
self.gridLayout.addWidget(self.label_24, 4, 0, 1, 1)
|
||||
self.horizontalSlider = QtWidgets.QSlider(self.dockWidgetContents)
|
||||
self.horizontalSlider.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.horizontalSlider.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.horizontalSlider.setProperty("value", 50)
|
||||
self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.horizontalSlider.setObjectName("horizontalSlider")
|
||||
self.gridLayout.addWidget(self.horizontalSlider, 4, 1, 2, 1)
|
||||
self.horizontalSliderDis = QtWidgets.QSlider(self.dockWidgetContents)
|
||||
self.horizontalSliderDis.setEnabled(False)
|
||||
self.horizontalSliderDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.horizontalSliderDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.horizontalSliderDis.setProperty("value", 50)
|
||||
self.horizontalSliderDis.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.horizontalSliderDis.setObjectName("horizontalSliderDis")
|
||||
self.gridLayout.addWidget(self.horizontalSliderDis, 4, 2, 1, 1)
|
||||
self.label_23 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_23.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_23.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_23.setFont(font)
|
||||
self.label_23.setObjectName("label_23")
|
||||
self.gridLayout.addWidget(self.label_23, 6, 0, 1, 1)
|
||||
self.label_2 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_2.setFont(font)
|
||||
self.label_2.setObjectName("label_2")
|
||||
self.gridLayout.addWidget(self.label_2, 0, 2, 1, 1)
|
||||
self.verticalScrollBarDis = QtWidgets.QScrollBar(self.dockWidgetContents)
|
||||
self.verticalScrollBarDis.setEnabled(False)
|
||||
self.verticalScrollBarDis.setMinimumSize(QtCore.QSize(0, 70))
|
||||
self.verticalScrollBarDis.setMaximumSize(QtCore.QSize(16777215, 70))
|
||||
self.verticalScrollBarDis.setProperty("value", 50)
|
||||
self.verticalScrollBarDis.setOrientation(QtCore.Qt.Vertical)
|
||||
self.verticalScrollBarDis.setObjectName("verticalScrollBarDis")
|
||||
self.gridLayout.addWidget(self.verticalScrollBarDis, 5, 2, 2, 1)
|
||||
self.label_21 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_21.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_21.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_21.setFont(font)
|
||||
self.label_21.setObjectName("label_21")
|
||||
self.gridLayout.addWidget(self.label_21, 2, 0, 1, 1)
|
||||
spacerItem = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||||
self.gridLayout.addItem(spacerItem, 8, 0, 1, 1)
|
||||
self.verticalScrollBar = QtWidgets.QScrollBar(self.dockWidgetContents)
|
||||
self.verticalScrollBar.setMinimumSize(QtCore.QSize(0, 70))
|
||||
self.verticalScrollBar.setMaximumSize(QtCore.QSize(16777215, 70))
|
||||
self.verticalScrollBar.setProperty("value", 50)
|
||||
self.verticalScrollBar.setOrientation(QtCore.Qt.Vertical)
|
||||
self.verticalScrollBar.setObjectName("verticalScrollBar")
|
||||
self.gridLayout.addWidget(self.verticalScrollBar, 6, 1, 1, 1)
|
||||
self.horizontalScrollBar = QtWidgets.QScrollBar(self.dockWidgetContents)
|
||||
self.horizontalScrollBar.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.horizontalScrollBar.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.horizontalScrollBar.setProperty("value", 50)
|
||||
self.horizontalScrollBar.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.horizontalScrollBar.setObjectName("horizontalScrollBar")
|
||||
self.gridLayout.addWidget(self.horizontalScrollBar, 3, 1, 1, 1)
|
||||
self.comboBox = QtWidgets.QComboBox(self.dockWidgetContents)
|
||||
self.comboBox.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.comboBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.comboBox.setObjectName("comboBox")
|
||||
self.comboBox.addItem("")
|
||||
self.comboBox.addItem("")
|
||||
self.comboBox.addItem("")
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(":/qss_icons/rc/window_undock.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.comboBox.addItem(icon, "")
|
||||
icon1 = QtGui.QIcon()
|
||||
icon1.addPixmap(QtGui.QPixmap(":/qss_icons/rc/window_undock_focus@2x.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.comboBox.addItem(icon1, "")
|
||||
self.gridLayout.addWidget(self.comboBox, 1, 1, 1, 1)
|
||||
self.label_22 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_22.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_22.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_22.setFont(font)
|
||||
self.label_22.setObjectName("label_22")
|
||||
self.gridLayout.addWidget(self.label_22, 3, 0, 1, 1)
|
||||
self.label = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label.setFont(font)
|
||||
self.label.setObjectName("label")
|
||||
self.gridLayout.addWidget(self.label, 0, 1, 1, 1)
|
||||
self.label_50 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_50.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.label_50.setObjectName("label_50")
|
||||
self.gridLayout.addWidget(self.label_50, 9, 0, 1, 3)
|
||||
self.label_11 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_11.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_11.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_11.setFont(font)
|
||||
self.label_11.setObjectName("label_11")
|
||||
self.gridLayout.addWidget(self.label_11, 1, 0, 1, 1)
|
||||
self.dialDis = QtWidgets.QDial(self.dockWidgetContents)
|
||||
self.dialDis.setEnabled(False)
|
||||
self.dialDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.dialDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.dialDis.setProperty("value", 50)
|
||||
self.dialDis.setObjectName("dialDis")
|
||||
self.gridLayout.addWidget(self.dialDis, 2, 2, 1, 1)
|
||||
self.verticalSliderDis = QtWidgets.QSlider(self.dockWidgetContents)
|
||||
self.verticalSliderDis.setEnabled(False)
|
||||
self.verticalSliderDis.setMinimumSize(QtCore.QSize(0, 70))
|
||||
self.verticalSliderDis.setMaximumSize(QtCore.QSize(16777215, 70))
|
||||
self.verticalSliderDis.setProperty("value", 50)
|
||||
self.verticalSliderDis.setOrientation(QtCore.Qt.Vertical)
|
||||
self.verticalSliderDis.setObjectName("verticalSliderDis")
|
||||
self.gridLayout.addWidget(self.verticalSliderDis, 7, 2, 1, 1)
|
||||
self.comboBoxDis = QtWidgets.QComboBox(self.dockWidgetContents)
|
||||
self.comboBoxDis.setEnabled(False)
|
||||
self.comboBoxDis.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.comboBoxDis.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.comboBoxDis.setObjectName("comboBoxDis")
|
||||
self.comboBoxDis.addItem("")
|
||||
self.comboBoxDis.addItem("")
|
||||
self.comboBoxDis.addItem("")
|
||||
self.gridLayout.addWidget(self.comboBoxDis, 1, 2, 1, 1)
|
||||
DockWidget.setWidget(self.dockWidgetContents)
|
||||
|
||||
self.retranslateUi(DockWidget)
|
||||
self.dial.sliderMoved['int'].connect(self.dialDis.setValue)
|
||||
self.horizontalScrollBar.sliderMoved['int'].connect(self.horizontalScrollBarDis.setValue)
|
||||
self.horizontalSlider.sliderMoved['int'].connect(self.horizontalSliderDis.setValue)
|
||||
self.verticalScrollBar.sliderMoved['int'].connect(self.verticalScrollBarDis.setValue)
|
||||
self.verticalSlider.sliderMoved['int'].connect(self.verticalSliderDis.setValue)
|
||||
self.comboBox.currentIndexChanged['int'].connect(self.comboBoxDis.setCurrentIndex)
|
||||
QtCore.QMetaObject.connectSlotsByName(DockWidget)
|
||||
|
||||
def retranslateUi(self, DockWidget):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
DockWidget.setWindowTitle(_translate("DockWidget", "Inputs - No Fields"))
|
||||
self.dial.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.dial.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.dial.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_25.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_25.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_25.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_25.setText(_translate("DockWidget", "VerticalSlider"))
|
||||
self.horizontalScrollBarDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.horizontalScrollBarDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.horizontalScrollBarDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.verticalSlider.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.verticalSlider.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.verticalSlider.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_24.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_24.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_24.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_24.setText(_translate("DockWidget", "HorizontalSlider"))
|
||||
self.horizontalSlider.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.horizontalSlider.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.horizontalSlider.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.horizontalSliderDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.horizontalSliderDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.horizontalSliderDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_23.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_23.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_23.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_23.setText(_translate("DockWidget", "VerticalScroolBar"))
|
||||
self.label_2.setText(_translate("DockWidget", "Disabled"))
|
||||
self.verticalScrollBarDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.verticalScrollBarDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.verticalScrollBarDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_21.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_21.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_21.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_21.setText(_translate("DockWidget", "Dial"))
|
||||
self.verticalScrollBar.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.verticalScrollBar.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.verticalScrollBar.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.horizontalScrollBar.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.horizontalScrollBar.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.horizontalScrollBar.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.comboBox.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.comboBox.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.comboBox.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.comboBox.setItemText(0, _translate("DockWidget", "ComboBoxNotEditable"))
|
||||
self.comboBox.setItemText(1, _translate("DockWidget", "Option 1 No Icon"))
|
||||
self.comboBox.setItemText(2, _translate("DockWidget", "Option 2 No Icon"))
|
||||
self.comboBox.setItemText(3, _translate("DockWidget", "Option 1 With Icon"))
|
||||
self.comboBox.setItemText(4, _translate("DockWidget", "Option 2 With Icon"))
|
||||
self.label_22.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_22.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_22.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_22.setText(_translate("DockWidget", "HorizontalScroolBar"))
|
||||
self.label.setText(_translate("DockWidget", "Enabled"))
|
||||
self.label_50.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_50.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_50.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_50.setText(_translate("DockWidget", "Inside DockWidget"))
|
||||
self.label_11.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_11.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_11.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_11.setText(_translate("DockWidget", "ComboBox"))
|
||||
self.dialDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.dialDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.dialDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.verticalSliderDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.verticalSliderDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.verticalSliderDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.comboBoxDis.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.comboBoxDis.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.comboBoxDis.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.comboBoxDis.setItemText(0, _translate("DockWidget", "ComboBoxNotEditable"))
|
||||
self.comboBoxDis.setItemText(1, _translate("DockWidget", "ComboBox B"))
|
||||
self.comboBoxDis.setItemText(2, _translate("DockWidget", "ComboBox C"))
|
||||
from qdarkstyle import style_rc
|
141
deps/QDark/example/ui/dw_views.ui
vendored
Normal file
141
deps/QDark/example/ui/dw_views.ui
vendored
Normal file
@ -0,0 +1,141 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>DockWidget</class>
|
||||
<widget class="QDockWidget" name="DockWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>266</width>
|
||||
<height>387</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Views</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="dockWidgetContents">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_70">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="label_80">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Disabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_27">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ListView</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QListView" name="listView"/>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QListView" name="listViewDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_59">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TreeView</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QTreeView" name="treeView"/>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QTreeView" name="treeViewDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_60">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TableView</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QTableView" name="tableView"/>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QTableView" name="tableViewDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="label_61">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ColunmView</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QColumnView" name="columnView"/>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QColumnView" name="columnViewDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
104
deps/QDark/example/ui/dw_views_ui.py
vendored
Normal file
104
deps/QDark/example/ui/dw_views_ui.py
vendored
Normal file
@ -0,0 +1,104 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'dw_views.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.14.1
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
|
||||
from qtpy import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_DockWidget(object):
|
||||
def setupUi(self, DockWidget):
|
||||
DockWidget.setObjectName("DockWidget")
|
||||
DockWidget.resize(266, 387)
|
||||
self.dockWidgetContents = QtWidgets.QWidget()
|
||||
self.dockWidgetContents.setObjectName("dockWidgetContents")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.dockWidgetContents)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.label_70 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_70.setFont(font)
|
||||
self.label_70.setObjectName("label_70")
|
||||
self.gridLayout.addWidget(self.label_70, 0, 1, 1, 1)
|
||||
self.label_80 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_80.setFont(font)
|
||||
self.label_80.setObjectName("label_80")
|
||||
self.gridLayout.addWidget(self.label_80, 0, 2, 1, 1)
|
||||
self.label_27 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_27.setFont(font)
|
||||
self.label_27.setObjectName("label_27")
|
||||
self.gridLayout.addWidget(self.label_27, 1, 0, 1, 1)
|
||||
self.listView = QtWidgets.QListView(self.dockWidgetContents)
|
||||
self.listView.setObjectName("listView")
|
||||
self.gridLayout.addWidget(self.listView, 1, 1, 1, 1)
|
||||
self.listViewDis = QtWidgets.QListView(self.dockWidgetContents)
|
||||
self.listViewDis.setEnabled(False)
|
||||
self.listViewDis.setObjectName("listViewDis")
|
||||
self.gridLayout.addWidget(self.listViewDis, 1, 2, 1, 1)
|
||||
self.label_59 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_59.setFont(font)
|
||||
self.label_59.setObjectName("label_59")
|
||||
self.gridLayout.addWidget(self.label_59, 2, 0, 1, 1)
|
||||
self.treeView = QtWidgets.QTreeView(self.dockWidgetContents)
|
||||
self.treeView.setObjectName("treeView")
|
||||
self.gridLayout.addWidget(self.treeView, 2, 1, 1, 1)
|
||||
self.treeViewDis = QtWidgets.QTreeView(self.dockWidgetContents)
|
||||
self.treeViewDis.setEnabled(False)
|
||||
self.treeViewDis.setObjectName("treeViewDis")
|
||||
self.gridLayout.addWidget(self.treeViewDis, 2, 2, 1, 1)
|
||||
self.label_60 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_60.setFont(font)
|
||||
self.label_60.setObjectName("label_60")
|
||||
self.gridLayout.addWidget(self.label_60, 3, 0, 1, 1)
|
||||
self.tableView = QtWidgets.QTableView(self.dockWidgetContents)
|
||||
self.tableView.setObjectName("tableView")
|
||||
self.gridLayout.addWidget(self.tableView, 3, 1, 1, 1)
|
||||
self.tableViewDis = QtWidgets.QTableView(self.dockWidgetContents)
|
||||
self.tableViewDis.setEnabled(False)
|
||||
self.tableViewDis.setObjectName("tableViewDis")
|
||||
self.gridLayout.addWidget(self.tableViewDis, 3, 2, 1, 1)
|
||||
self.label_61 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_61.setFont(font)
|
||||
self.label_61.setObjectName("label_61")
|
||||
self.gridLayout.addWidget(self.label_61, 4, 0, 1, 1)
|
||||
self.columnView = QtWidgets.QColumnView(self.dockWidgetContents)
|
||||
self.columnView.setObjectName("columnView")
|
||||
self.gridLayout.addWidget(self.columnView, 4, 1, 1, 1)
|
||||
self.columnViewDis = QtWidgets.QColumnView(self.dockWidgetContents)
|
||||
self.columnViewDis.setEnabled(False)
|
||||
self.columnViewDis.setObjectName("columnViewDis")
|
||||
self.gridLayout.addWidget(self.columnViewDis, 4, 2, 1, 1)
|
||||
DockWidget.setWidget(self.dockWidgetContents)
|
||||
|
||||
self.retranslateUi(DockWidget)
|
||||
QtCore.QMetaObject.connectSlotsByName(DockWidget)
|
||||
|
||||
def retranslateUi(self, DockWidget):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
DockWidget.setWindowTitle(_translate("DockWidget", "Views"))
|
||||
self.label_70.setText(_translate("DockWidget", "Enabled"))
|
||||
self.label_80.setText(_translate("DockWidget", "Disabled"))
|
||||
self.label_27.setText(_translate("DockWidget", "ListView"))
|
||||
self.label_59.setText(_translate("DockWidget", "TreeView"))
|
||||
self.label_60.setText(_translate("DockWidget", "TableView"))
|
||||
self.label_61.setText(_translate("DockWidget", "ColunmView"))
|
574
deps/QDark/example/ui/dw_widgets.ui
vendored
Normal file
574
deps/QDark/example/ui/dw_widgets.ui
vendored
Normal file
@ -0,0 +1,574 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>DockWidget</class>
|
||||
<widget class="QDockWidget" name="DockWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>879</width>
|
||||
<height>548</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Widgets</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="dockWidgetContents">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_81">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="label_82">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Disabled</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_56">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ListWidget</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QListWidget" name="listWidget">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QListWidget" name="listWidgetDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_57">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TreeWidget</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QTreeWidget" name="treeWidget">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="sortingEnabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>New Column</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>New Column</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>New Column</string>
|
||||
</property>
|
||||
</column>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Subitem</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Test</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Subitem</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
</item>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Subitem</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Subitem</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Subitem</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Subitem</string>
|
||||
</property>
|
||||
</item>
|
||||
</item>
|
||||
</item>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Subitem</string>
|
||||
</property>
|
||||
</item>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QTreeWidget" name="treeWidgetDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sortingEnabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>New Column</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>New Column</string>
|
||||
</property>
|
||||
</column>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Subitem</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Test</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Subitem</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</item>
|
||||
</item>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Item</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>New Subitem</string>
|
||||
</property>
|
||||
</item>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_58">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TableWidget</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QTableWidget" name="tableWidget">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>This is a tool tip</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>This is a status tip</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This is "what is this"</string>
|
||||
</property>
|
||||
<row>
|
||||
<property name="text">
|
||||
<string>New Row</string>
|
||||
</property>
|
||||
</row>
|
||||
<row>
|
||||
<property name="text">
|
||||
<string>New Row</string>
|
||||
</property>
|
||||
</row>
|
||||
<row>
|
||||
<property name="text">
|
||||
<string>New Row</string>
|
||||
</property>
|
||||
</row>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>New Column</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>New Column</string>
|
||||
</property>
|
||||
</column>
|
||||
<item row="0" column="0">
|
||||
<property name="text">
|
||||
<string>1.23</string>
|
||||
</property>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<property name="text">
|
||||
<string>Hello</string>
|
||||
</property>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<property name="text">
|
||||
<string>1,45</string>
|
||||
</property>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<property name="text">
|
||||
<string>Olá</string>
|
||||
</property>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<property name="text">
|
||||
<string>12/12/2012</string>
|
||||
</property>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<property name="text">
|
||||
<string>Oui</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QTableWidget" name="tableWidgetDis">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<row>
|
||||
<property name="text">
|
||||
<string>New Row</string>
|
||||
</property>
|
||||
</row>
|
||||
<row>
|
||||
<property name="text">
|
||||
<string>New Row</string>
|
||||
</property>
|
||||
</row>
|
||||
<row>
|
||||
<property name="text">
|
||||
<string>New Row</string>
|
||||
</property>
|
||||
</row>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>New Column</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>New Column</string>
|
||||
</property>
|
||||
</column>
|
||||
<item row="0" column="0">
|
||||
<property name="text">
|
||||
<string>1.23</string>
|
||||
</property>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<property name="text">
|
||||
<string>Hello</string>
|
||||
</property>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<property name="text">
|
||||
<string>1,45</string>
|
||||
</property>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<property name="text">
|
||||
<string>Olá</string>
|
||||
</property>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<property name="text">
|
||||
<string>12/12/2012</string>
|
||||
</property>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<property name="text">
|
||||
<string>Oui</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
320
deps/QDark/example/ui/dw_widgets_ui.py
vendored
Normal file
320
deps/QDark/example/ui/dw_widgets_ui.py
vendored
Normal file
@ -0,0 +1,320 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'dw_widgets.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.14.1
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
|
||||
from qtpy import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_DockWidget(object):
|
||||
def setupUi(self, DockWidget):
|
||||
DockWidget.setObjectName("DockWidget")
|
||||
DockWidget.resize(879, 548)
|
||||
self.dockWidgetContents = QtWidgets.QWidget()
|
||||
self.dockWidgetContents.setObjectName("dockWidgetContents")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.dockWidgetContents)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.label_81 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_81.setFont(font)
|
||||
self.label_81.setObjectName("label_81")
|
||||
self.gridLayout.addWidget(self.label_81, 0, 1, 1, 1)
|
||||
self.label_82 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_82.setFont(font)
|
||||
self.label_82.setObjectName("label_82")
|
||||
self.gridLayout.addWidget(self.label_82, 0, 2, 1, 1)
|
||||
self.label_56 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_56.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_56.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_56.setFont(font)
|
||||
self.label_56.setObjectName("label_56")
|
||||
self.gridLayout.addWidget(self.label_56, 1, 0, 1, 1)
|
||||
self.listWidget = QtWidgets.QListWidget(self.dockWidgetContents)
|
||||
self.listWidget.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.listWidget.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.listWidget.setObjectName("listWidget")
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
self.gridLayout.addWidget(self.listWidget, 1, 1, 1, 1)
|
||||
self.listWidgetDis = QtWidgets.QListWidget(self.dockWidgetContents)
|
||||
self.listWidgetDis.setEnabled(False)
|
||||
self.listWidgetDis.setObjectName("listWidgetDis")
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidgetDis.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidgetDis.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidgetDis.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidgetDis.addItem(item)
|
||||
self.gridLayout.addWidget(self.listWidgetDis, 1, 2, 1, 1)
|
||||
self.label_57 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_57.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_57.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_57.setFont(font)
|
||||
self.label_57.setObjectName("label_57")
|
||||
self.gridLayout.addWidget(self.label_57, 2, 0, 1, 1)
|
||||
self.treeWidget = QtWidgets.QTreeWidget(self.dockWidgetContents)
|
||||
self.treeWidget.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.treeWidget.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.treeWidget.setObjectName("treeWidget")
|
||||
item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget)
|
||||
item_1 = QtWidgets.QTreeWidgetItem(item_0)
|
||||
item_2 = QtWidgets.QTreeWidgetItem(item_1)
|
||||
item_2 = QtWidgets.QTreeWidgetItem(item_1)
|
||||
item_2 = QtWidgets.QTreeWidgetItem(item_1)
|
||||
item_2 = QtWidgets.QTreeWidgetItem(item_1)
|
||||
item_2 = QtWidgets.QTreeWidgetItem(item_1)
|
||||
item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget)
|
||||
item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget)
|
||||
item_1 = QtWidgets.QTreeWidgetItem(item_0)
|
||||
item_2 = QtWidgets.QTreeWidgetItem(item_1)
|
||||
item_3 = QtWidgets.QTreeWidgetItem(item_2)
|
||||
item_4 = QtWidgets.QTreeWidgetItem(item_3)
|
||||
item_1 = QtWidgets.QTreeWidgetItem(item_0)
|
||||
item_1 = QtWidgets.QTreeWidgetItem(item_0)
|
||||
item_1 = QtWidgets.QTreeWidgetItem(item_0)
|
||||
item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget)
|
||||
item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget)
|
||||
item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget)
|
||||
item_1 = QtWidgets.QTreeWidgetItem(item_0)
|
||||
self.gridLayout.addWidget(self.treeWidget, 2, 1, 1, 1)
|
||||
self.treeWidgetDis = QtWidgets.QTreeWidget(self.dockWidgetContents)
|
||||
self.treeWidgetDis.setEnabled(False)
|
||||
self.treeWidgetDis.setObjectName("treeWidgetDis")
|
||||
item_0 = QtWidgets.QTreeWidgetItem(self.treeWidgetDis)
|
||||
item_1 = QtWidgets.QTreeWidgetItem(item_0)
|
||||
item_2 = QtWidgets.QTreeWidgetItem(item_1)
|
||||
item_0 = QtWidgets.QTreeWidgetItem(self.treeWidgetDis)
|
||||
item_1 = QtWidgets.QTreeWidgetItem(item_0)
|
||||
self.gridLayout.addWidget(self.treeWidgetDis, 2, 2, 1, 1)
|
||||
self.label_58 = QtWidgets.QLabel(self.dockWidgetContents)
|
||||
self.label_58.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.label_58.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
font.setWeight(75)
|
||||
self.label_58.setFont(font)
|
||||
self.label_58.setObjectName("label_58")
|
||||
self.gridLayout.addWidget(self.label_58, 3, 0, 1, 1)
|
||||
self.tableWidget = QtWidgets.QTableWidget(self.dockWidgetContents)
|
||||
self.tableWidget.setMinimumSize(QtCore.QSize(0, 0))
|
||||
self.tableWidget.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
||||
self.tableWidget.setObjectName("tableWidget")
|
||||
self.tableWidget.setColumnCount(2)
|
||||
self.tableWidget.setRowCount(3)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(1, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(2, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(1, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setItem(0, 0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setItem(0, 1, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setItem(1, 0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setItem(1, 1, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setItem(2, 0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setItem(2, 1, item)
|
||||
self.gridLayout.addWidget(self.tableWidget, 3, 1, 1, 1)
|
||||
self.tableWidgetDis = QtWidgets.QTableWidget(self.dockWidgetContents)
|
||||
self.tableWidgetDis.setEnabled(False)
|
||||
self.tableWidgetDis.setObjectName("tableWidgetDis")
|
||||
self.tableWidgetDis.setColumnCount(2)
|
||||
self.tableWidgetDis.setRowCount(3)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidgetDis.setVerticalHeaderItem(0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidgetDis.setVerticalHeaderItem(1, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidgetDis.setVerticalHeaderItem(2, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidgetDis.setHorizontalHeaderItem(0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidgetDis.setHorizontalHeaderItem(1, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidgetDis.setItem(0, 0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidgetDis.setItem(0, 1, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidgetDis.setItem(1, 0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidgetDis.setItem(1, 1, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidgetDis.setItem(2, 0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidgetDis.setItem(2, 1, item)
|
||||
self.gridLayout.addWidget(self.tableWidgetDis, 3, 2, 1, 1)
|
||||
DockWidget.setWidget(self.dockWidgetContents)
|
||||
|
||||
self.retranslateUi(DockWidget)
|
||||
QtCore.QMetaObject.connectSlotsByName(DockWidget)
|
||||
|
||||
def retranslateUi(self, DockWidget):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
DockWidget.setWindowTitle(_translate("DockWidget", "Widgets"))
|
||||
self.label_81.setText(_translate("DockWidget", "Enabled"))
|
||||
self.label_82.setText(_translate("DockWidget", "Disabled"))
|
||||
self.label_56.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_56.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_56.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_56.setText(_translate("DockWidget", "ListWidget"))
|
||||
self.listWidget.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.listWidget.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.listWidget.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
__sortingEnabled = self.listWidget.isSortingEnabled()
|
||||
self.listWidget.setSortingEnabled(False)
|
||||
item = self.listWidget.item(0)
|
||||
item.setText(_translate("DockWidget", "New Item"))
|
||||
item = self.listWidget.item(1)
|
||||
item.setText(_translate("DockWidget", "New Item"))
|
||||
item = self.listWidget.item(2)
|
||||
item.setText(_translate("DockWidget", "New Item"))
|
||||
item = self.listWidget.item(3)
|
||||
item.setText(_translate("DockWidget", "New Item"))
|
||||
self.listWidget.setSortingEnabled(__sortingEnabled)
|
||||
__sortingEnabled = self.listWidgetDis.isSortingEnabled()
|
||||
self.listWidgetDis.setSortingEnabled(False)
|
||||
item = self.listWidgetDis.item(0)
|
||||
item.setText(_translate("DockWidget", "New Item"))
|
||||
item = self.listWidgetDis.item(1)
|
||||
item.setText(_translate("DockWidget", "New Item"))
|
||||
item = self.listWidgetDis.item(2)
|
||||
item.setText(_translate("DockWidget", "New Item"))
|
||||
item = self.listWidgetDis.item(3)
|
||||
item.setText(_translate("DockWidget", "New Item"))
|
||||
self.listWidgetDis.setSortingEnabled(__sortingEnabled)
|
||||
self.label_57.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_57.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_57.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_57.setText(_translate("DockWidget", "TreeWidget"))
|
||||
self.treeWidget.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.treeWidget.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.treeWidget.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.treeWidget.setSortingEnabled(True)
|
||||
self.treeWidget.headerItem().setText(0, _translate("DockWidget", "New Column"))
|
||||
self.treeWidget.headerItem().setText(1, _translate("DockWidget", "New Column"))
|
||||
self.treeWidget.headerItem().setText(2, _translate("DockWidget", "New Column"))
|
||||
__sortingEnabled = self.treeWidget.isSortingEnabled()
|
||||
self.treeWidget.setSortingEnabled(False)
|
||||
self.treeWidget.topLevelItem(0).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(0).child(0).setText(0, _translate("DockWidget", "New Subitem"))
|
||||
self.treeWidget.topLevelItem(0).child(0).setText(1, _translate("DockWidget", "Test"))
|
||||
self.treeWidget.topLevelItem(0).child(0).child(0).setText(0, _translate("DockWidget", "New Subitem"))
|
||||
self.treeWidget.topLevelItem(0).child(0).child(1).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(0).child(0).child(2).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(0).child(0).child(3).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(0).child(0).child(4).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(1).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(2).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(2).child(0).setText(0, _translate("DockWidget", "New Subitem"))
|
||||
self.treeWidget.topLevelItem(2).child(0).child(0).setText(0, _translate("DockWidget", "New Subitem"))
|
||||
self.treeWidget.topLevelItem(2).child(0).child(0).child(0).setText(0, _translate("DockWidget", "New Subitem"))
|
||||
self.treeWidget.topLevelItem(2).child(0).child(0).child(0).child(0).setText(0, _translate("DockWidget", "New Subitem"))
|
||||
self.treeWidget.topLevelItem(2).child(1).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(2).child(2).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(2).child(3).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(3).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(4).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(5).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidget.topLevelItem(5).child(0).setText(0, _translate("DockWidget", "New Subitem"))
|
||||
self.treeWidget.setSortingEnabled(__sortingEnabled)
|
||||
self.treeWidgetDis.setSortingEnabled(True)
|
||||
self.treeWidgetDis.headerItem().setText(0, _translate("DockWidget", "New Column"))
|
||||
self.treeWidgetDis.headerItem().setText(1, _translate("DockWidget", "New Column"))
|
||||
__sortingEnabled = self.treeWidgetDis.isSortingEnabled()
|
||||
self.treeWidgetDis.setSortingEnabled(False)
|
||||
self.treeWidgetDis.topLevelItem(0).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidgetDis.topLevelItem(0).child(0).setText(0, _translate("DockWidget", "New Subitem"))
|
||||
self.treeWidgetDis.topLevelItem(0).child(0).setText(1, _translate("DockWidget", "Test"))
|
||||
self.treeWidgetDis.topLevelItem(0).child(0).child(0).setText(0, _translate("DockWidget", "New Subitem"))
|
||||
self.treeWidgetDis.topLevelItem(1).setText(0, _translate("DockWidget", "New Item"))
|
||||
self.treeWidgetDis.topLevelItem(1).child(0).setText(0, _translate("DockWidget", "New Subitem"))
|
||||
self.treeWidgetDis.setSortingEnabled(__sortingEnabled)
|
||||
self.label_58.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.label_58.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.label_58.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
self.label_58.setText(_translate("DockWidget", "TableWidget"))
|
||||
self.tableWidget.setToolTip(_translate("DockWidget", "This is a tool tip"))
|
||||
self.tableWidget.setStatusTip(_translate("DockWidget", "This is a status tip"))
|
||||
self.tableWidget.setWhatsThis(_translate("DockWidget", "This is \"what is this\""))
|
||||
item = self.tableWidget.verticalHeaderItem(0)
|
||||
item.setText(_translate("DockWidget", "New Row"))
|
||||
item = self.tableWidget.verticalHeaderItem(1)
|
||||
item.setText(_translate("DockWidget", "New Row"))
|
||||
item = self.tableWidget.verticalHeaderItem(2)
|
||||
item.setText(_translate("DockWidget", "New Row"))
|
||||
item = self.tableWidget.horizontalHeaderItem(0)
|
||||
item.setText(_translate("DockWidget", "New Column"))
|
||||
item = self.tableWidget.horizontalHeaderItem(1)
|
||||
item.setText(_translate("DockWidget", "New Column"))
|
||||
__sortingEnabled = self.tableWidget.isSortingEnabled()
|
||||
self.tableWidget.setSortingEnabled(False)
|
||||
item = self.tableWidget.item(0, 0)
|
||||
item.setText(_translate("DockWidget", "1.23"))
|
||||
item = self.tableWidget.item(0, 1)
|
||||
item.setText(_translate("DockWidget", "Hello"))
|
||||
item = self.tableWidget.item(1, 0)
|
||||
item.setText(_translate("DockWidget", "1,45"))
|
||||
item = self.tableWidget.item(1, 1)
|
||||
item.setText(_translate("DockWidget", "Olá"))
|
||||
item = self.tableWidget.item(2, 0)
|
||||
item.setText(_translate("DockWidget", "12/12/2012"))
|
||||
item = self.tableWidget.item(2, 1)
|
||||
item.setText(_translate("DockWidget", "Oui"))
|
||||
self.tableWidget.setSortingEnabled(__sortingEnabled)
|
||||
item = self.tableWidgetDis.verticalHeaderItem(0)
|
||||
item.setText(_translate("DockWidget", "New Row"))
|
||||
item = self.tableWidgetDis.verticalHeaderItem(1)
|
||||
item.setText(_translate("DockWidget", "New Row"))
|
||||
item = self.tableWidgetDis.verticalHeaderItem(2)
|
||||
item.setText(_translate("DockWidget", "New Row"))
|
||||
item = self.tableWidgetDis.horizontalHeaderItem(0)
|
||||
item.setText(_translate("DockWidget", "New Column"))
|
||||
item = self.tableWidgetDis.horizontalHeaderItem(1)
|
||||
item.setText(_translate("DockWidget", "New Column"))
|
||||
__sortingEnabled = self.tableWidgetDis.isSortingEnabled()
|
||||
self.tableWidgetDis.setSortingEnabled(False)
|
||||
item = self.tableWidgetDis.item(0, 0)
|
||||
item.setText(_translate("DockWidget", "1.23"))
|
||||
item = self.tableWidgetDis.item(0, 1)
|
||||
item.setText(_translate("DockWidget", "Hello"))
|
||||
item = self.tableWidgetDis.item(1, 0)
|
||||
item.setText(_translate("DockWidget", "1,45"))
|
||||
item = self.tableWidgetDis.item(1, 1)
|
||||
item.setText(_translate("DockWidget", "Olá"))
|
||||
item = self.tableWidgetDis.item(2, 0)
|
||||
item.setText(_translate("DockWidget", "12/12/2012"))
|
||||
item = self.tableWidgetDis.item(2, 1)
|
||||
item.setText(_translate("DockWidget", "Oui"))
|
||||
self.tableWidgetDis.setSortingEnabled(__sortingEnabled)
|
478
deps/QDark/example/ui/mw_menus.ui
vendored
Normal file
478
deps/QDark/example/ui/mw_menus.ui
vendored
Normal file
@ -0,0 +1,478 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>MainWindow</class>
|
||||
<widget class="QMainWindow" name="MainWindow">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1006</width>
|
||||
<height>717</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QGridLayout" name="gridLayout_7">
|
||||
<item row="0" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_2">
|
||||
<property name="title">
|
||||
<string>Issue #115 - Tabs scroller buttons</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab">
|
||||
<attribute name="title">
|
||||
<string>Tab 1</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_4">
|
||||
<item row="1" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_3">
|
||||
<property name="title">
|
||||
<string>Issue #123 - Missing borders</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_5">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLineEdit" name="lineEdit">
|
||||
<property name="text">
|
||||
<string>Inside tab, outside frame</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="2">
|
||||
<widget class="QFrame" name="frame">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QFormLayout" name="formLayout">
|
||||
<property name="fieldGrowthPolicy">
|
||||
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLineEdit" name="lineEdit_2">
|
||||
<property name="text">
|
||||
<string>Inside tab and frame</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QListWidget" name="listWidget_2">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>ListWidget</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QListWidget" name="listWidget">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>ListWidget</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_2">
|
||||
<attribute name="title">
|
||||
<string>Tab 2</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_6">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_3">
|
||||
<attribute name="title">
|
||||
<string>Page</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_4">
|
||||
<attribute name="title">
|
||||
<string>Page</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_5">
|
||||
<attribute name="title">
|
||||
<string>Page</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_6">
|
||||
<attribute name="title">
|
||||
<string>Page</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_7">
|
||||
<attribute name="title">
|
||||
<string>Page</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_8">
|
||||
<attribute name="title">
|
||||
<string>Page</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_9">
|
||||
<attribute name="title">
|
||||
<string>Page</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_10">
|
||||
<attribute name="title">
|
||||
<string>Page</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_11">
|
||||
<attribute name="title">
|
||||
<string>Page</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_12">
|
||||
<attribute name="title">
|
||||
<string>Page</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_3"/>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="title">
|
||||
<string>Issue #112 - Hyperlinks color</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="lineWidth">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p align="center"><a href="https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">Hyperlink Example</span></a></p><p align="center"><span style=" font-size:10pt; color:#7d7d7d;">CSS for the documents (RichText) is not the same as the application. We cannot change the internal content CSS, e.g., hyperlinks. We suggest you use the middle tons (0-255, use 125), so this works for both white and dark theme (this color). The original color is the blue link on top.</span></p><p align="center"><br/></p></body></html></string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::RichText</enum>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::TextBrowserInteraction</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_71">
|
||||
<property name="text">
|
||||
<string>Inside Central Widget</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menubar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1006</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuMenu">
|
||||
<property name="title">
|
||||
<string>Menu</string>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuMenuSub">
|
||||
<property name="title">
|
||||
<string>Menu Sub</string>
|
||||
</property>
|
||||
<addaction name="actionActionSubA"/>
|
||||
<addaction name="actionActionSubB"/>
|
||||
</widget>
|
||||
<addaction name="actionActionA"/>
|
||||
<addaction name="menuMenuSub"/>
|
||||
<addaction name="actionAction_with_icon_A"/>
|
||||
<addaction name="actionAction_With_Icon_B"/>
|
||||
<addaction name="actionAction_With_Icon_C"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuMenuDelayed">
|
||||
<property name="title">
|
||||
<string>Menu Delayed</string>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuMenuSubDelayed">
|
||||
<property name="title">
|
||||
<string>Menu Sub Delayed</string>
|
||||
</property>
|
||||
<addaction name="actionActionDelayedSubA"/>
|
||||
</widget>
|
||||
<addaction name="actionActionDelayedA"/>
|
||||
<addaction name="menuMenuSubDelayed"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuMenuCheckale">
|
||||
<property name="title">
|
||||
<string>Menu Checkable</string>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuNew">
|
||||
<property name="title">
|
||||
<string>New</string>
|
||||
</property>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionNewB"/>
|
||||
<addaction name="actionNewD"/>
|
||||
<addaction name="actionNewC"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionNewE"/>
|
||||
</widget>
|
||||
<addaction name="actionActionCheckableA"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="menuNew"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuAbout">
|
||||
<property name="title">
|
||||
<string>About QDarkStyle</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuHelp">
|
||||
<property name="title">
|
||||
<string>Help</string>
|
||||
</property>
|
||||
</widget>
|
||||
<addaction name="menuMenu"/>
|
||||
<addaction name="menuMenuDelayed"/>
|
||||
<addaction name="menuMenuCheckale"/>
|
||||
<addaction name="menuHelp"/>
|
||||
<addaction name="menuAbout"/>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusbar"/>
|
||||
<widget class="QToolBar" name="toolBar">
|
||||
<property name="windowTitle">
|
||||
<string>Tool bar actions</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>16</width>
|
||||
<height>16</height>
|
||||
</size>
|
||||
</property>
|
||||
<attribute name="toolBarArea">
|
||||
<enum>TopToolBarArea</enum>
|
||||
</attribute>
|
||||
<attribute name="toolBarBreak">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<addaction name="actionActionA"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionActionSubA"/>
|
||||
<addaction name="actionActionSubB"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionAction_with_icon_A"/>
|
||||
<addaction name="actionAction_With_Icon_B"/>
|
||||
<addaction name="actionAction_With_Icon_C"/>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="toolBarDelayed">
|
||||
<property name="windowTitle">
|
||||
<string>Tool bar actions delayed</string>
|
||||
</property>
|
||||
<attribute name="toolBarArea">
|
||||
<enum>TopToolBarArea</enum>
|
||||
</attribute>
|
||||
<attribute name="toolBarBreak">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<addaction name="actionActionDelayedA"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionActionDelayedSubA"/>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="toolBarCheckable">
|
||||
<property name="windowTitle">
|
||||
<string>Tool bar action checkable</string>
|
||||
</property>
|
||||
<attribute name="toolBarArea">
|
||||
<enum>TopToolBarArea</enum>
|
||||
</attribute>
|
||||
<attribute name="toolBarBreak">
|
||||
<bool>true</bool>
|
||||
</attribute>
|
||||
<addaction name="actionActionCheckableA"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionActionCheckableSubAChecked"/>
|
||||
<addaction name="actionActionCheckableSubAUnchecked"/>
|
||||
</widget>
|
||||
<action name="actionActionA">
|
||||
<property name="text">
|
||||
<string>Action A</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionActionSubA">
|
||||
<property name="text">
|
||||
<string>Action A Sub</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Action A Sub</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionActionSubB">
|
||||
<property name="text">
|
||||
<string>Action B Sub</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionActionDelayedA">
|
||||
<property name="text">
|
||||
<string>Action Delayed A</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Action Delayed A</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionActionDelayedSubA">
|
||||
<property name="text">
|
||||
<string>Action Delayed Sub A</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Action Delayed Sub A</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionActionCheckableA">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Action Checkable A</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Action Checkable A</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionActionCheckableSubAChecked">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Action Checkable Sub A Checked</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Action Checkable Sub A Checked</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionActionCheckableSubAUnchecked">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Action Checkable Sub A Unchecked</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Action Checkable Sub A Unchecked</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionNewB">
|
||||
<property name="text">
|
||||
<string>New B</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionNewC">
|
||||
<property name="text">
|
||||
<string>New C</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionNewD">
|
||||
<property name="text">
|
||||
<string>New D</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionNewE">
|
||||
<property name="text">
|
||||
<string>New E</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAction_with_icon_A">
|
||||
<property name="icon">
|
||||
<iconset resource="../../qdarkstyle/style.qrc">
|
||||
<normaloff>:/qss_icons/rc/window_undock_focus.png</normaloff>:/qss_icons/rc/window_undock_focus.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Action With Icon A</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAction_With_Icon_B">
|
||||
<property name="icon">
|
||||
<iconset resource="../../qdarkstyle/style.qrc">
|
||||
<normaloff>:/qss_icons/rc/window_close_focus.png</normaloff>:/qss_icons/rc/window_close_focus.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Action With Icon B</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAction_With_Icon_C">
|
||||
<property name="icon">
|
||||
<iconset resource="../../qdarkstyle/style.qrc">
|
||||
<normaloff>:/qss_icons/rc/arrow_right_focus.png</normaloff>:/qss_icons/rc/arrow_right_focus.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Action With Icon C</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<tabstops>
|
||||
<tabstop>lineEdit</tabstop>
|
||||
<tabstop>tabWidget</tabstop>
|
||||
<tabstop>lineEdit_2</tabstop>
|
||||
</tabstops>
|
||||
<resources>
|
||||
<include location="../../qdarkstyle/style.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
318
deps/QDark/example/ui/mw_menus_ui.py
vendored
Normal file
318
deps/QDark/example/ui/mw_menus_ui.py
vendored
Normal file
@ -0,0 +1,318 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'mw_menus.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.14.1
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
|
||||
from qtpy import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_MainWindow(object):
|
||||
def setupUi(self, MainWindow):
|
||||
MainWindow.setObjectName("MainWindow")
|
||||
MainWindow.resize(1006, 717)
|
||||
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
||||
self.centralwidget.setObjectName("centralwidget")
|
||||
self.gridLayout_7 = QtWidgets.QGridLayout(self.centralwidget)
|
||||
self.gridLayout_7.setObjectName("gridLayout_7")
|
||||
self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
|
||||
self.groupBox_2.setObjectName("groupBox_2")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.tabWidget = QtWidgets.QTabWidget(self.groupBox_2)
|
||||
self.tabWidget.setObjectName("tabWidget")
|
||||
self.tab = QtWidgets.QWidget()
|
||||
self.tab.setObjectName("tab")
|
||||
self.gridLayout_4 = QtWidgets.QGridLayout(self.tab)
|
||||
self.gridLayout_4.setObjectName("gridLayout_4")
|
||||
self.groupBox_3 = QtWidgets.QGroupBox(self.tab)
|
||||
self.groupBox_3.setObjectName("groupBox_3")
|
||||
self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_3)
|
||||
self.gridLayout_5.setObjectName("gridLayout_5")
|
||||
self.label_2 = QtWidgets.QLabel(self.groupBox_3)
|
||||
self.label_2.setObjectName("label_2")
|
||||
self.gridLayout_5.addWidget(self.label_2, 0, 0, 1, 1)
|
||||
self.lineEdit = QtWidgets.QLineEdit(self.groupBox_3)
|
||||
self.lineEdit.setObjectName("lineEdit")
|
||||
self.gridLayout_5.addWidget(self.lineEdit, 0, 1, 1, 1)
|
||||
self.frame = QtWidgets.QFrame(self.groupBox_3)
|
||||
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||||
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
||||
self.frame.setObjectName("frame")
|
||||
self.formLayout = QtWidgets.QFormLayout(self.frame)
|
||||
self.formLayout.setFieldGrowthPolicy(QtWidgets.QFormLayout.AllNonFixedFieldsGrow)
|
||||
self.formLayout.setObjectName("formLayout")
|
||||
self.label_3 = QtWidgets.QLabel(self.frame)
|
||||
self.label_3.setObjectName("label_3")
|
||||
self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_3)
|
||||
self.lineEdit_2 = QtWidgets.QLineEdit(self.frame)
|
||||
self.lineEdit_2.setObjectName("lineEdit_2")
|
||||
self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEdit_2)
|
||||
self.listWidget_2 = QtWidgets.QListWidget(self.frame)
|
||||
self.listWidget_2.setObjectName("listWidget_2")
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget_2.addItem(item)
|
||||
self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.listWidget_2)
|
||||
self.gridLayout_5.addWidget(self.frame, 2, 0, 1, 2)
|
||||
self.listWidget = QtWidgets.QListWidget(self.groupBox_3)
|
||||
self.listWidget.setObjectName("listWidget")
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
self.gridLayout_5.addWidget(self.listWidget, 1, 1, 1, 1)
|
||||
self.gridLayout_4.addWidget(self.groupBox_3, 1, 0, 1, 1)
|
||||
self.tabWidget.addTab(self.tab, "")
|
||||
self.tab_2 = QtWidgets.QWidget()
|
||||
self.tab_2.setObjectName("tab_2")
|
||||
self.gridLayout_6 = QtWidgets.QGridLayout(self.tab_2)
|
||||
self.gridLayout_6.setObjectName("gridLayout_6")
|
||||
self.label_4 = QtWidgets.QLabel(self.tab_2)
|
||||
self.label_4.setObjectName("label_4")
|
||||
self.gridLayout_6.addWidget(self.label_4, 0, 0, 1, 1)
|
||||
self.tabWidget.addTab(self.tab_2, "")
|
||||
self.tab_3 = QtWidgets.QWidget()
|
||||
self.tab_3.setObjectName("tab_3")
|
||||
self.tabWidget.addTab(self.tab_3, "")
|
||||
self.tab_4 = QtWidgets.QWidget()
|
||||
self.tab_4.setObjectName("tab_4")
|
||||
self.tabWidget.addTab(self.tab_4, "")
|
||||
self.tab_5 = QtWidgets.QWidget()
|
||||
self.tab_5.setObjectName("tab_5")
|
||||
self.tabWidget.addTab(self.tab_5, "")
|
||||
self.tab_6 = QtWidgets.QWidget()
|
||||
self.tab_6.setObjectName("tab_6")
|
||||
self.tabWidget.addTab(self.tab_6, "")
|
||||
self.tab_7 = QtWidgets.QWidget()
|
||||
self.tab_7.setObjectName("tab_7")
|
||||
self.tabWidget.addTab(self.tab_7, "")
|
||||
self.tab_8 = QtWidgets.QWidget()
|
||||
self.tab_8.setObjectName("tab_8")
|
||||
self.tabWidget.addTab(self.tab_8, "")
|
||||
self.tab_9 = QtWidgets.QWidget()
|
||||
self.tab_9.setObjectName("tab_9")
|
||||
self.tabWidget.addTab(self.tab_9, "")
|
||||
self.tab_10 = QtWidgets.QWidget()
|
||||
self.tab_10.setObjectName("tab_10")
|
||||
self.tabWidget.addTab(self.tab_10, "")
|
||||
self.tab_11 = QtWidgets.QWidget()
|
||||
self.tab_11.setObjectName("tab_11")
|
||||
self.tabWidget.addTab(self.tab_11, "")
|
||||
self.tab_12 = QtWidgets.QWidget()
|
||||
self.tab_12.setObjectName("tab_12")
|
||||
self.gridLayout_3 = QtWidgets.QGridLayout(self.tab_12)
|
||||
self.gridLayout_3.setObjectName("gridLayout_3")
|
||||
self.tabWidget.addTab(self.tab_12, "")
|
||||
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
|
||||
self.gridLayout_7.addWidget(self.groupBox_2, 0, 0, 1, 1)
|
||||
self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
|
||||
self.groupBox.setObjectName("groupBox")
|
||||
self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
|
||||
self.gridLayout_2.setObjectName("gridLayout_2")
|
||||
self.label = QtWidgets.QLabel(self.groupBox)
|
||||
self.label.setLineWidth(0)
|
||||
self.label.setTextFormat(QtCore.Qt.RichText)
|
||||
self.label.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.label.setWordWrap(True)
|
||||
self.label.setOpenExternalLinks(True)
|
||||
self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction)
|
||||
self.label.setObjectName("label")
|
||||
self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
|
||||
self.gridLayout_7.addWidget(self.groupBox, 1, 0, 1, 1)
|
||||
self.label_71 = QtWidgets.QLabel(self.centralwidget)
|
||||
self.label_71.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.label_71.setObjectName("label_71")
|
||||
self.gridLayout_7.addWidget(self.label_71, 2, 0, 1, 1)
|
||||
MainWindow.setCentralWidget(self.centralwidget)
|
||||
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
||||
self.menubar.setGeometry(QtCore.QRect(0, 0, 1006, 20))
|
||||
self.menubar.setObjectName("menubar")
|
||||
self.menuMenu = QtWidgets.QMenu(self.menubar)
|
||||
self.menuMenu.setObjectName("menuMenu")
|
||||
self.menuMenuSub = QtWidgets.QMenu(self.menuMenu)
|
||||
self.menuMenuSub.setObjectName("menuMenuSub")
|
||||
self.menuMenuDelayed = QtWidgets.QMenu(self.menubar)
|
||||
self.menuMenuDelayed.setObjectName("menuMenuDelayed")
|
||||
self.menuMenuSubDelayed = QtWidgets.QMenu(self.menuMenuDelayed)
|
||||
self.menuMenuSubDelayed.setObjectName("menuMenuSubDelayed")
|
||||
self.menuMenuCheckale = QtWidgets.QMenu(self.menubar)
|
||||
self.menuMenuCheckale.setObjectName("menuMenuCheckale")
|
||||
self.menuNew = QtWidgets.QMenu(self.menuMenuCheckale)
|
||||
self.menuNew.setObjectName("menuNew")
|
||||
self.menuAbout = QtWidgets.QMenu(self.menubar)
|
||||
self.menuAbout.setObjectName("menuAbout")
|
||||
self.menuHelp = QtWidgets.QMenu(self.menubar)
|
||||
self.menuHelp.setObjectName("menuHelp")
|
||||
MainWindow.setMenuBar(self.menubar)
|
||||
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
||||
self.statusbar.setObjectName("statusbar")
|
||||
MainWindow.setStatusBar(self.statusbar)
|
||||
self.toolBar = QtWidgets.QToolBar(MainWindow)
|
||||
self.toolBar.setIconSize(QtCore.QSize(16, 16))
|
||||
self.toolBar.setObjectName("toolBar")
|
||||
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
|
||||
self.toolBarDelayed = QtWidgets.QToolBar(MainWindow)
|
||||
self.toolBarDelayed.setObjectName("toolBarDelayed")
|
||||
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed)
|
||||
self.toolBarCheckable = QtWidgets.QToolBar(MainWindow)
|
||||
self.toolBarCheckable.setObjectName("toolBarCheckable")
|
||||
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarCheckable)
|
||||
MainWindow.insertToolBarBreak(self.toolBarCheckable)
|
||||
self.actionActionA = QtWidgets.QAction(MainWindow)
|
||||
self.actionActionA.setObjectName("actionActionA")
|
||||
self.actionActionSubA = QtWidgets.QAction(MainWindow)
|
||||
self.actionActionSubA.setObjectName("actionActionSubA")
|
||||
self.actionActionSubB = QtWidgets.QAction(MainWindow)
|
||||
self.actionActionSubB.setObjectName("actionActionSubB")
|
||||
self.actionActionDelayedA = QtWidgets.QAction(MainWindow)
|
||||
self.actionActionDelayedA.setObjectName("actionActionDelayedA")
|
||||
self.actionActionDelayedSubA = QtWidgets.QAction(MainWindow)
|
||||
self.actionActionDelayedSubA.setObjectName("actionActionDelayedSubA")
|
||||
self.actionActionCheckableA = QtWidgets.QAction(MainWindow)
|
||||
self.actionActionCheckableA.setCheckable(True)
|
||||
self.actionActionCheckableA.setObjectName("actionActionCheckableA")
|
||||
self.actionActionCheckableSubAChecked = QtWidgets.QAction(MainWindow)
|
||||
self.actionActionCheckableSubAChecked.setCheckable(True)
|
||||
self.actionActionCheckableSubAChecked.setChecked(True)
|
||||
self.actionActionCheckableSubAChecked.setObjectName("actionActionCheckableSubAChecked")
|
||||
self.actionActionCheckableSubAUnchecked = QtWidgets.QAction(MainWindow)
|
||||
self.actionActionCheckableSubAUnchecked.setCheckable(True)
|
||||
self.actionActionCheckableSubAUnchecked.setObjectName("actionActionCheckableSubAUnchecked")
|
||||
self.actionNewB = QtWidgets.QAction(MainWindow)
|
||||
self.actionNewB.setObjectName("actionNewB")
|
||||
self.actionNewC = QtWidgets.QAction(MainWindow)
|
||||
self.actionNewC.setObjectName("actionNewC")
|
||||
self.actionNewD = QtWidgets.QAction(MainWindow)
|
||||
self.actionNewD.setObjectName("actionNewD")
|
||||
self.actionNewE = QtWidgets.QAction(MainWindow)
|
||||
self.actionNewE.setObjectName("actionNewE")
|
||||
self.actionAction_with_icon_A = QtWidgets.QAction(MainWindow)
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(":/qss_icons/rc/window_undock_focus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.actionAction_with_icon_A.setIcon(icon)
|
||||
self.actionAction_with_icon_A.setObjectName("actionAction_with_icon_A")
|
||||
self.actionAction_With_Icon_B = QtWidgets.QAction(MainWindow)
|
||||
icon1 = QtGui.QIcon()
|
||||
icon1.addPixmap(QtGui.QPixmap(":/qss_icons/rc/window_close_focus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.actionAction_With_Icon_B.setIcon(icon1)
|
||||
self.actionAction_With_Icon_B.setObjectName("actionAction_With_Icon_B")
|
||||
self.actionAction_With_Icon_C = QtWidgets.QAction(MainWindow)
|
||||
icon2 = QtGui.QIcon()
|
||||
icon2.addPixmap(QtGui.QPixmap(":/qss_icons/rc/arrow_right_focus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.actionAction_With_Icon_C.setIcon(icon2)
|
||||
self.actionAction_With_Icon_C.setObjectName("actionAction_With_Icon_C")
|
||||
self.menuMenuSub.addAction(self.actionActionSubA)
|
||||
self.menuMenuSub.addAction(self.actionActionSubB)
|
||||
self.menuMenu.addAction(self.actionActionA)
|
||||
self.menuMenu.addAction(self.menuMenuSub.menuAction())
|
||||
self.menuMenu.addAction(self.actionAction_with_icon_A)
|
||||
self.menuMenu.addAction(self.actionAction_With_Icon_B)
|
||||
self.menuMenu.addAction(self.actionAction_With_Icon_C)
|
||||
self.menuMenuSubDelayed.addAction(self.actionActionDelayedSubA)
|
||||
self.menuMenuDelayed.addAction(self.actionActionDelayedA)
|
||||
self.menuMenuDelayed.addAction(self.menuMenuSubDelayed.menuAction())
|
||||
self.menuNew.addSeparator()
|
||||
self.menuNew.addAction(self.actionNewB)
|
||||
self.menuNew.addAction(self.actionNewD)
|
||||
self.menuNew.addAction(self.actionNewC)
|
||||
self.menuNew.addSeparator()
|
||||
self.menuNew.addAction(self.actionNewE)
|
||||
self.menuMenuCheckale.addAction(self.actionActionCheckableA)
|
||||
self.menuMenuCheckale.addSeparator()
|
||||
self.menuMenuCheckale.addAction(self.menuNew.menuAction())
|
||||
self.menubar.addAction(self.menuMenu.menuAction())
|
||||
self.menubar.addAction(self.menuMenuDelayed.menuAction())
|
||||
self.menubar.addAction(self.menuMenuCheckale.menuAction())
|
||||
self.menubar.addAction(self.menuHelp.menuAction())
|
||||
self.menubar.addAction(self.menuAbout.menuAction())
|
||||
self.toolBar.addAction(self.actionActionA)
|
||||
self.toolBar.addSeparator()
|
||||
self.toolBar.addAction(self.actionActionSubA)
|
||||
self.toolBar.addAction(self.actionActionSubB)
|
||||
self.toolBar.addSeparator()
|
||||
self.toolBar.addAction(self.actionAction_with_icon_A)
|
||||
self.toolBar.addAction(self.actionAction_With_Icon_B)
|
||||
self.toolBar.addAction(self.actionAction_With_Icon_C)
|
||||
self.toolBarDelayed.addAction(self.actionActionDelayedA)
|
||||
self.toolBarDelayed.addSeparator()
|
||||
self.toolBarDelayed.addAction(self.actionActionDelayedSubA)
|
||||
self.toolBarCheckable.addAction(self.actionActionCheckableA)
|
||||
self.toolBarCheckable.addSeparator()
|
||||
self.toolBarCheckable.addAction(self.actionActionCheckableSubAChecked)
|
||||
self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked)
|
||||
|
||||
self.retranslateUi(MainWindow)
|
||||
self.tabWidget.setCurrentIndex(0)
|
||||
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
||||
MainWindow.setTabOrder(self.lineEdit, self.tabWidget)
|
||||
MainWindow.setTabOrder(self.tabWidget, self.lineEdit_2)
|
||||
|
||||
def retranslateUi(self, MainWindow):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
||||
self.groupBox_2.setTitle(_translate("MainWindow", "Issue #115 - Tabs scroller buttons"))
|
||||
self.groupBox_3.setTitle(_translate("MainWindow", "Issue #123 - Missing borders"))
|
||||
self.label_2.setText(_translate("MainWindow", "TextLabel"))
|
||||
self.lineEdit.setText(_translate("MainWindow", "Inside tab, outside frame"))
|
||||
self.label_3.setText(_translate("MainWindow", "TextLabel"))
|
||||
self.lineEdit_2.setText(_translate("MainWindow", "Inside tab and frame"))
|
||||
__sortingEnabled = self.listWidget_2.isSortingEnabled()
|
||||
self.listWidget_2.setSortingEnabled(False)
|
||||
item = self.listWidget_2.item(0)
|
||||
item.setText(_translate("MainWindow", "ListWidget"))
|
||||
self.listWidget_2.setSortingEnabled(__sortingEnabled)
|
||||
__sortingEnabled = self.listWidget.isSortingEnabled()
|
||||
self.listWidget.setSortingEnabled(False)
|
||||
item = self.listWidget.item(0)
|
||||
item.setText(_translate("MainWindow", "ListWidget"))
|
||||
self.listWidget.setSortingEnabled(__sortingEnabled)
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1"))
|
||||
self.label_4.setText(_translate("MainWindow", "TextLabel"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Page"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("MainWindow", "Page"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("MainWindow", "Page"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _translate("MainWindow", "Page"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), _translate("MainWindow", "Page"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), _translate("MainWindow", "Page"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), _translate("MainWindow", "Page"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_10), _translate("MainWindow", "Page"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_11), _translate("MainWindow", "Page"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_12), _translate("MainWindow", "Page"))
|
||||
self.groupBox.setTitle(_translate("MainWindow", "Issue #112 - Hyperlinks color"))
|
||||
self.label.setText(_translate("MainWindow", "<html><head/><body><p align=\"center\"><a href=\"https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112\"><span style=\" font-size:10pt; text-decoration: underline; color:#0000ff;\">Hyperlink Example</span></a></p><p align=\"center\"><span style=\" font-size:10pt; color:#7d7d7d;\">CSS for the documents (RichText) is not the same as the application. We cannot change the internal content CSS, e.g., hyperlinks. We suggest you use the middle tons (0-255, use 125), so this works for both white and dark theme (this color). The original color is the blue link on top.</span></p><p align=\"center\"><br/></p></body></html>"))
|
||||
self.label_71.setText(_translate("MainWindow", "Inside Central Widget"))
|
||||
self.menuMenu.setTitle(_translate("MainWindow", "Menu"))
|
||||
self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub"))
|
||||
self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed"))
|
||||
self.menuMenuSubDelayed.setTitle(_translate("MainWindow", "Menu Sub Delayed"))
|
||||
self.menuMenuCheckale.setTitle(_translate("MainWindow", "Menu Checkable"))
|
||||
self.menuNew.setTitle(_translate("MainWindow", "New"))
|
||||
self.menuAbout.setTitle(_translate("MainWindow", "About QDarkStyle"))
|
||||
self.menuHelp.setTitle(_translate("MainWindow", "Help"))
|
||||
self.toolBar.setWindowTitle(_translate("MainWindow", "Tool bar actions"))
|
||||
self.toolBarDelayed.setWindowTitle(_translate("MainWindow", "Tool bar actions delayed"))
|
||||
self.toolBarCheckable.setWindowTitle(_translate("MainWindow", "Tool bar action checkable"))
|
||||
self.actionActionA.setText(_translate("MainWindow", "Action A"))
|
||||
self.actionActionSubA.setText(_translate("MainWindow", "Action A Sub"))
|
||||
self.actionActionSubA.setToolTip(_translate("MainWindow", "Action A Sub"))
|
||||
self.actionActionSubB.setText(_translate("MainWindow", "Action B Sub"))
|
||||
self.actionActionDelayedA.setText(_translate("MainWindow", "Action Delayed A"))
|
||||
self.actionActionDelayedA.setToolTip(_translate("MainWindow", "Action Delayed A"))
|
||||
self.actionActionDelayedSubA.setText(_translate("MainWindow", "Action Delayed Sub A"))
|
||||
self.actionActionDelayedSubA.setToolTip(_translate("MainWindow", "Action Delayed Sub A"))
|
||||
self.actionActionCheckableA.setText(_translate("MainWindow", "Action Checkable A"))
|
||||
self.actionActionCheckableA.setToolTip(_translate("MainWindow", "Action Checkable A"))
|
||||
self.actionActionCheckableSubAChecked.setText(_translate("MainWindow", "Action Checkable Sub A Checked"))
|
||||
self.actionActionCheckableSubAChecked.setToolTip(_translate("MainWindow", "Action Checkable Sub A Checked"))
|
||||
self.actionActionCheckableSubAUnchecked.setText(_translate("MainWindow", "Action Checkable Sub A Unchecked"))
|
||||
self.actionActionCheckableSubAUnchecked.setToolTip(_translate("MainWindow", "Action Checkable Sub A Unchecked"))
|
||||
self.actionNewB.setText(_translate("MainWindow", "New B"))
|
||||
self.actionNewC.setText(_translate("MainWindow", "New C"))
|
||||
self.actionNewD.setText(_translate("MainWindow", "New D"))
|
||||
self.actionNewE.setText(_translate("MainWindow", "New E"))
|
||||
self.actionAction_with_icon_A.setText(_translate("MainWindow", "Action With Icon A"))
|
||||
self.actionAction_With_Icon_B.setText(_translate("MainWindow", "Action With Icon B"))
|
||||
self.actionAction_With_Icon_C.setText(_translate("MainWindow", "Action With Icon C"))
|
||||
from qdarkstyle import style_rc
|
BIN
deps/QDark/images/cmd.png
vendored
Normal file
BIN
deps/QDark/images/cmd.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
BIN
deps/QDark/images/dark_containers_no_tabs_buttons.png
vendored
Normal file
BIN
deps/QDark/images/dark_containers_no_tabs_buttons.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 113 KiB |
BIN
deps/QDark/images/dark_containers_tabs_displays.png
vendored
Normal file
BIN
deps/QDark/images/dark_containers_tabs_displays.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 106 KiB |
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user