Skip to content

Commit cd301a7

Browse files
committed
Revert "workspace界面以及icon"
This reverts commit 7308517.
1 parent 7308517 commit cd301a7

File tree

325 files changed

+19626
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+19626
-0
lines changed

.all-contributorsrc

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"projectName": "dayu_widgets",
3+
"projectOwner": "loonghao",
4+
"repoType": "github",
5+
"commitConvention": "angular",
6+
"repoHost": "https://github.com",
7+
"files": [
8+
"README.md"
9+
],
10+
"imageSize": 100,
11+
"commit": true,
12+
"contributorsPerLine": 7,
13+
"contributors": [
14+
{
15+
"login": "loonghao",
16+
"name": "Hal",
17+
"avatar_url": "https://avatars1.githubusercontent.com/u/13111745?v=4",
18+
"profile": "https://github.com/loonghao",
19+
"contributions": [
20+
"ci"
21+
]
22+
},
23+
{
24+
"login": "Yanru Mu",
25+
"name": "Yanru Mu",
26+
"avatar_url": "https://avatars.githubusercontent.com/u/1860334?v=4",
27+
"profile": "https://github.com/muyr",
28+
"contributions": [
29+
"code"
30+
]
31+
},
32+
{
33+
"login": "FXTD-ODYSSEY",
34+
"name": "FXTD-ODYSSEY",
35+
"avatar_url": "https://avatars.githubusercontent.com/u/40897360?v=4",
36+
"profile": "https://github.com/FXTD-ODYSSEY",
37+
"contributions": [
38+
"code"
39+
]
40+
},
41+
],
42+
"skipCi": true
43+
}

.flake8

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
ignore = BLK100
3+
max-line-length = 88

.gitignore

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
MANIFEST
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
.hypothesis/
48+
.pytest_cache/
49+
50+
# Translations
51+
*.mo
52+
*.pot
53+
54+
# Django stuff:
55+
*.log
56+
local_settings.py
57+
db.sqlite3
58+
59+
# Flask stuff:
60+
instance/
61+
.webassets-cache
62+
63+
# Scrapy stuff:
64+
.scrapy
65+
66+
# Sphinx documentation
67+
docs/_build/
68+
69+
# PyBuilder
70+
target/
71+
72+
# Jupyter Notebook
73+
.ipynb_checkpoints
74+
75+
# pyenv
76+
.python-version
77+
78+
# celery beat schedule file
79+
celerybeat-schedule
80+
81+
# SageMath parsed files
82+
*.sage.py
83+
84+
# Environments
85+
.env
86+
.venv
87+
env/
88+
venv/
89+
ENV/
90+
env.bak/
91+
venv.bak/
92+
93+
# Spyder project settings
94+
.spyderproject
95+
.spyproject
96+
97+
# Rope project settings
98+
.ropeproject
99+
100+
# mkdocs documentation
101+
/site
102+
103+
# mypy
104+
.mypy_cache/
105+
.idea/
106+
107+
scripts/deploy.json
108+
.vscode

.hound.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
python:
2+
enabled: true
3+
4+
flake8:
5+
enabled: true
6+
config_file: .flake8
7+
8+
fail_on_violations: true

.pre-commit-config.yaml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.0.1
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-ast
11+
- id: check-toml
12+
- id: check-json
13+
- id: check-xml
14+
- id: check-merge-conflict # Check for files that contain merge conflict strings
15+
# - id: fix-encoding-pragma # Remove the coding pragma: # -*- coding: utf-8 -*-
16+
# - id: mixed-line-ending # Replace or check mixed line ending
17+
# args: ["--fix=lf"]
18+
- id: check-added-large-files
19+
exclude: dayu_widgets/static/
20+
- repo: https://github.com/ambv/black
21+
rev: 21.11b1
22+
hooks:
23+
- id: black
24+
language: python
25+
types: [python]
26+
- repo: https://github.com/hadialqattan/pycln
27+
rev: v1.1.0
28+
hooks:
29+
- id: pycln
30+
args: [--config=pyproject.toml]
31+
- repo: https://github.com/pycqa/isort
32+
rev: 5.10.1
33+
hooks:
34+
- id: isort
35+
name: isort (python)
36+
# - repo: https://gitlab.com/pycqa/flake8
37+
# rev: 3.7.9
38+
# hooks:
39+
# - id: flake8
40+
# - repo: local
41+
# hooks:
42+
# - id: pylint
43+
# name: pylint
44+
# entry: pylint
45+
# language: system
46+
# types: [python]
47+
# args: ["--max-line-length=80", "--disable=E1101,R0912"]
48+
- repo: https://github.com/commitizen-tools/commitizen
49+
rev: v2.20.0
50+
hooks:
51+
- id: commitizen
52+
stages: [commit-msg]

CHANGELOG.md

+119
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
## v0.13.1 (2023-09-26)
2+
3+
### Fix
4+
5+
- fix header view context menu Select Invert
6+
7+
## v0.13.0 (2023-09-25)
8+
9+
### Feat
10+
11+
- #66 support python 3.10
12+
13+
## v0.12.2 (2023-08-17)
14+
15+
### Fix
16+
17+
- #67 fix MToolButon set_dayu_size use a custom value, not work
18+
19+
## v0.12.1 (2023-08-17)
20+
21+
### Fix
22+
23+
- flow layout delete item; add clear method
24+
25+
## v0.12.0 (2023-08-17)
26+
27+
### Feat
28+
29+
- add theme var for big view scale #65
30+
31+
## v0.11.6 (2023-03-07)
32+
33+
### Fix
34+
35+
- compat with PyQt5
36+
37+
## v0.11.5 (2022-07-22)
38+
39+
### Fix
40+
41+
- **MItemView**: fix header view order(sort) setting
42+
43+
## v0.11.4 (2022-07-22)
44+
45+
### Fix
46+
47+
- **MItemViewSet-MItemViewFullSet**: fix headerView state restore
48+
49+
## v0.11.3 (2022-07-20)
50+
51+
### Fix
52+
53+
- **MTheme**: fix MTheme.deco function
54+
55+
## v0.11.2 (2022-07-19)
56+
57+
### Fix
58+
59+
- **MPage**: fix MPage sig_page_changed bug
60+
61+
## v0.11.1 (2022-07-19)
62+
63+
### Fix
64+
65+
- fix MLineEdit delay signal not work when user use Chinese input method
66+
67+
## v0.11.0 (2021-12-28)
68+
69+
### Feat
70+
71+
- **MComboBox**: using MCompleter
72+
73+
### Refactor
74+
75+
- **MMenu**: clean up menu code
76+
- fix example application
77+
78+
## v0.10.1 (2021-12-15)
79+
80+
### Refactor
81+
82+
- **examples**: use application function to launch example
83+
84+
## v0.10.0 (2021-12-14)
85+
86+
### Feat
87+
88+
- **MSplitter**: add animatable feature
89+
90+
## v0.9.1 (2021-12-14)
91+
92+
### Fix
93+
94+
- **MPopup**: fix PyQt5 setMask bug & clean code
95+
96+
## v0.9.0 (2021-12-08)
97+
98+
### Feat
99+
100+
- add MCompleter and MSplitter widget
101+
102+
## v0.8.0 (2021-12-06)
103+
104+
### Fix
105+
106+
- deploy fialed
107+
- add __all__ import
108+
- delegate example rename for demo.py
109+
- clean combox search code
110+
- chinese input support
111+
112+
### Feat
113+
114+
- edit read_settings and write_settings
115+
- edit read_settings and write_settings
116+
- add search and scroll for MMenu
117+
- add MPopup widget
118+
- add delegate example
119+
- add searchable combo box

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 phenom-films
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
recursive-include dayu_widgets/static *
2+
include MANIFEST.in

0 commit comments

Comments
 (0)