omninative-ui 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,165 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+
9
+ This version of the GNU Lesser General Public License incorporates
10
+ the terms and conditions of version 3 of the GNU General Public
11
+ License, supplemented by the additional permissions listed below.
12
+
13
+ 0. Additional Definitions.
14
+
15
+ As used herein, "this License" refers to version 3 of the GNU Lesser
16
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
+ General Public License.
18
+
19
+ "The Library" refers to a covered work governed by this License,
20
+ other than an Application or a Combined Work as defined below.
21
+
22
+ An "Application" is any work that makes use of an interface provided
23
+ by the Library, but which is not otherwise based on the Library.
24
+ Defining a subclass of a class defined by the Library is deemed a mode
25
+ of using an interface provided by the Library.
26
+
27
+ A "Combined Work" is a work produced by combining or linking an
28
+ Application with the Library. The particular version of the Library
29
+ with which the Combined Work was made is also called the "Linked
30
+ Version".
31
+
32
+ The "Minimal Corresponding Source" for a Combined Work means the
33
+ Corresponding Source for the Combined Work, excluding any source code
34
+ for portions of the Combined Work that, considered in isolation, are
35
+ based on the Application, and not on the Linked Version.
36
+
37
+ The "Corresponding Application Code" for a Combined Work means the
38
+ object code and/or source code for the Application, including any data
39
+ and utility programs needed for reproducing the Combined Work from the
40
+ Application, but excluding the System Libraries of the Combined Work.
41
+
42
+ 1. Exception to Section 3 of the GNU GPL.
43
+
44
+ You may convey a covered work under sections 3 and 4 of this License
45
+ without being bound by section 3 of the GNU GPL.
46
+
47
+ 2. Conveying Modified Versions.
48
+
49
+ If you modify a copy of the Library, and, in your modifications, a
50
+ facility refers to a function or data to be supplied by an Application
51
+ that uses the facility (other than as an argument passed when the
52
+ facility is invoked), then you may convey a copy of the modified
53
+ version:
54
+
55
+ a) under this License, provided that you make a good faith effort to
56
+ ensure that, in the event an Application does not supply the
57
+ function or data, the facility still operates, and performs
58
+ whatever part of its purpose remains meaningful, or
59
+
60
+ b) under the GNU GPL, with none of the additional permissions of
61
+ this License applicable to that copy.
62
+
63
+ 3. Object Code Incorporating Material from Library Header Files.
64
+
65
+ The object code form of an Application may incorporate material from
66
+ a header file that is part of the Library. You may convey such object
67
+ code under terms of your choice, provided that, if the incorporated
68
+ material is not limited to numerical parameters, data structure
69
+ layouts and accessors, or small macros, inline functions and templates
70
+ (ten or fewer lines in length), you do both of the following:
71
+
72
+ a) Give prominent notice with each copy of the object code that the
73
+ Library is used in it and that the Library and its use are
74
+ covered by this License.
75
+
76
+ b) Accompany the object code with a copy of the GNU GPL and this license
77
+ document.
78
+
79
+ 4. Combined Works.
80
+
81
+ You may convey a Combined Work under terms of your choice that,
82
+ taken together, effectively do not restrict modification of the
83
+ portions of the Library contained in the Combined Work and reverse
84
+ engineering for debugging such modifications, if you also do each of
85
+ the following:
86
+
87
+ a) Give prominent notice with each copy of the Combined Work that
88
+ the Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ c) For a Combined Work that displays copyright notices during
95
+ execution, include the copyright notice for the Library among
96
+ these notices, as well as a reference directing the user to the
97
+ copies of the GNU GPL and this license document.
98
+
99
+ d) Do one of the following:
100
+
101
+ 0) Convey the Minimal Corresponding Source under the terms of this
102
+ License, and the Corresponding Application Code in a form
103
+ suitable for, and under terms that permit, the user to
104
+ recombine or relink the Application with a modified version of
105
+ the Linked Version to produce a modified Combined Work, in the
106
+ manner specified by section 6 of the GNU GPL for conveying
107
+ Corresponding Source.
108
+
109
+ 1) Use a suitable shared library mechanism for linking with the
110
+ Library. A suitable mechanism is one that (a) uses at run time
111
+ a copy of the Library already present on the user's computer
112
+ system, and (b) will operate properly with a modified version
113
+ of the Library that is interface-compatible with the Linked
114
+ Version.
115
+
116
+ e) Provide Installation Information, but only if you would otherwise
117
+ be required to provide such information under section 6 of the
118
+ GNU GPL, and only to the extent that such information is
119
+ necessary to install and execute a modified version of the
120
+ Combined Work produced by recombining or relinking the
121
+ Application with a modified version of the Linked Version. (If
122
+ you use option 4d0, the Installation Information must accompany
123
+ the Minimal Corresponding Source and Corresponding Application
124
+ Code. If you use option 4d1, you must provide the Installation
125
+ Information in the manner specified by section 6 of the GNU GPL
126
+ for conveying Corresponding Source.)
127
+
128
+ 5. Combined Libraries.
129
+
130
+ You may place library facilities that are a work based on the
131
+ Library side by side in a single library together with other library
132
+ facilities that are not Applications and are not covered by this
133
+ License, and convey such a combined library under terms of your
134
+ choice, if you do both of the following:
135
+
136
+ a) Accompany the combined library with a copy of the same work based
137
+ on the Library, uncombined with any other library facilities,
138
+ conveyed under the terms of this License.
139
+
140
+ b) Give prominent notice with the combined library that part of it
141
+ is a work based on the Library, and explaining where to find the
142
+ accompanying uncombined form of the same work.
143
+
144
+ 6. Revised Versions of the GNU Lesser General Public License.
145
+
146
+ The Free Software Foundation may publish revised and/or new versions
147
+ of the GNU Lesser General Public License from time to time. Such new
148
+ versions will be similar in spirit to the present version, but may
149
+ differ in detail to address new problems or concerns.
150
+
151
+ Each version is given a distinguishing version number. If the
152
+ Library as you received it specifies that a certain numbered version
153
+ of the GNU Lesser General Public License "or any later version"
154
+ applies to it, you have the option of following the terms and
155
+ conditions either of that published version or of any later version
156
+ published by the Free Software Foundation. If the Library as you
157
+ received it does not specify a version number of the GNU Lesser
158
+ General Public License, you may choose any version of the GNU Lesser
159
+ General Public License ever published by the Free Software Foundation.
160
+
161
+ If the Library as you received it specifies that a proxy can decide
162
+ whether future versions of the GNU Lesser General Public License shall
163
+ apply, that proxy's public statement of acceptance of any version is
164
+ permanent authorization for you to choose that version for the
165
+ Library.
@@ -0,0 +1,168 @@
1
+ Metadata-Version: 2.4
2
+ Name: omninative-ui
3
+ Version: 0.1.0
4
+ Summary: PySide6 UI component library with the OmniNative dark theme
5
+ Author-email: Ricardo Gonzalez <contacto@mistercontenidos.com>
6
+ License: LGPL-3.0-only
7
+ Project-URL: Homepage, https://mistercontenidos.com/
8
+ Project-URL: Repository, https://github.com/rgcodeai/omninative-ui
9
+ Keywords: pyside6,qt,ui,gui,components,dark-theme
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Topic :: Software Development :: User Interfaces
14
+ Requires-Python: >=3.10
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Requires-Dist: PySide6>=6.0.0
18
+ Provides-Extra: dev
19
+ Requires-Dist: pytest; extra == "dev"
20
+ Dynamic: license-file
21
+
22
+ # OmniNative UI
23
+
24
+ ![PyPI version](https://img.shields.io/pypi/v/omninative-ui.svg)
25
+ ![Python Support](https://img.shields.io/pypi/pyversions/omninative-ui.svg)
26
+ ![License](https://img.shields.io/badge/license-LGPL--3.0-blue.svg)
27
+
28
+ <!-- Banner Principal -->
29
+ <p align="center">
30
+ <img src="docs/assets/banner.png" alt="OmniNative UI Banner" width="100%">
31
+ </p>
32
+
33
+ **OmniNative UI** is a comprehensive, modern UI component library built on top of **PySide6**. It provides a fully unified, premium dark theme out of the box, allowing developers to create sleek, professional desktop applications with minimal styling effort.
34
+
35
+ ## ✨ Features
36
+ - **Premium Dark Theme:** Pre-configured styling so you don't have to write any QSS/CSS.
37
+ - **Rich Component Library:** 20+ ready-to-use widgets including core inputs, virtual tables, interactive multimedia players, and a chat interface.
38
+ - **Pythonic API:** Intuitive wrappers around PySide6 that simplify layout management.
39
+ - **Native OS Integration:** Smooth behavior across Windows, macOS, and Linux without losing the custom aesthetic.
40
+
41
+ <!-- Showcase de Componentes -->
42
+ <p align="center">
43
+ <img src="docs/assets/demo-preview.png" alt="OmniNative UI Components" width="100%">
44
+ </p>
45
+
46
+ ## 🚀 Installation
47
+
48
+ Install the package directly from PyPI:
49
+
50
+ ```bash
51
+ pip install omninative-ui
52
+ ```
53
+
54
+ ### Installing from Source (Development)
55
+
56
+ If you want to contribute or modify the library locally:
57
+
58
+ ```bash
59
+ git clone https://github.com/your-username/omninative-ui.git
60
+ cd omninative-ui
61
+ pip install -e .
62
+ ```
63
+
64
+ ## 💻 Quick Start
65
+
66
+ ```python
67
+ import sys
68
+ from PySide6.QtWidgets import QApplication
69
+ from omninative_ui import OWindow, OGroup, OButton, OLabel
70
+
71
+ app = QApplication(sys.argv)
72
+
73
+ window = OWindow(title="My App", width=400, height=300)
74
+
75
+ group = OGroup(window.body, orientation="v")
76
+ window.body.layout().addWidget(group)
77
+
78
+ group.layout_.addWidget(OLabel(group, text="Hello World", bright=True))
79
+ group.layout_.addWidget(OButton(group, text="Click Me", primary=True))
80
+
81
+ window.omninativeui_reveal_when_ready()
82
+ window.show()
83
+ sys.exit(app.exec())
84
+ ```
85
+
86
+ ## 📖 Documentation
87
+
88
+ For full API references, architecture guides, and instructions on how to create new components, please check the [Full Documentation (`/docs/INDEX.md`)](docs/INDEX.md).
89
+
90
+ ## 🧩 Components
91
+
92
+ ### Core
93
+ | Component | Description |
94
+ | :--- | :--- |
95
+ | `OWindow` | Top-level window with OmniNative theme |
96
+ | `OGroup` | Vertical/horizontal layout container |
97
+ | `OLabel` | Styled text label |
98
+ | `OElidedLabel` | Auto-eliding text label |
99
+ | `OSectionHeader` | Section heading |
100
+ | `OSeparator` | Horizontal separator line |
101
+ | `OButton` | Button with primary/danger variants |
102
+ | `OComboBox` | Custom styled dropdown |
103
+ | `ORadioButton` | Radio button with icon positioning |
104
+ | `OCheckBox` | Custom styled checkbox |
105
+ | `OStatusBar` | Status bar label |
106
+ | `OOptionRow` | Label + widget row layout |
107
+
108
+ ### Inputs
109
+ | Component | Description |
110
+ | :--- | :--- |
111
+ | `OLineEdit` | Single-line text input |
112
+ | `OTextBox` | Multi-line text input |
113
+ | `OSpinBox` | Numeric input with +/- buttons |
114
+ | `OSlider` | Slider with value display |
115
+ | `OProgressBar` | Progress indicator |
116
+
117
+ ### Containers
118
+ | Component | Description |
119
+ | :--- | :--- |
120
+ | `OScrollArea` | Themed scrollable area |
121
+ | `OTreeWidget` | Collapsible accordion container |
122
+ | `OTabs` | Tab navigation |
123
+ | `OVirtualTable` | Virtual table with inline editing |
124
+
125
+ ### Media
126
+ | Component | Description |
127
+ | :--- | :--- |
128
+ | `OAudioPlayer` | Full audio player with waveform |
129
+ | `OAudioWaveform` | Interactive waveform visualizer |
130
+ | `OImageViewer` | Image gallery with fullscreen |
131
+
132
+ ### Chat
133
+ | Component | Description |
134
+ | :--- | :--- |
135
+ | `OChatView` | Chat message history |
136
+ | `OChatMessage` | Individual chat bubble |
137
+ | `OChatInput` | Chat text input with actions |
138
+ | `OActionMenu` | Floating action popover |
139
+
140
+ ## 🎨 Design Tokens
141
+
142
+ Access the color palette via the `OMNINATIVE` dictionary:
143
+
144
+ ```python
145
+ from omninative_ui import OMNINATIVE
146
+
147
+ print(OMNINATIVE["primary"]) # "#B6FF0E"
148
+ print(OMNINATIVE["background"]) # "#2C2C2C"
149
+ ```
150
+
151
+ ## 🤝 Contributing
152
+
153
+ Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
154
+
155
+ Please make sure to update the documentation in the `docs/` folder as appropriate and read our [Component Development Guide](docs/core/component-development.md).
156
+
157
+ ## 📄 License
158
+
159
+ LGPL-3.0-only
160
+
161
+ ---
162
+
163
+ ## 🎖️ Credits & Attribution
164
+
165
+ This project is made possible thanks to:
166
+ - **Ricardo Gonzalez**: [LinkedIn](https://www.linkedin.com/in/pedrocuervomkt/)
167
+ - **Mister Contenidos**: [Website](https://mistercontenidos.com/)
168
+ - **AI Assistance**: Code architecture and development accelerated by AI tools.
@@ -0,0 +1,147 @@
1
+ # OmniNative UI
2
+
3
+ ![PyPI version](https://img.shields.io/pypi/v/omninative-ui.svg)
4
+ ![Python Support](https://img.shields.io/pypi/pyversions/omninative-ui.svg)
5
+ ![License](https://img.shields.io/badge/license-LGPL--3.0-blue.svg)
6
+
7
+ <!-- Banner Principal -->
8
+ <p align="center">
9
+ <img src="docs/assets/banner.png" alt="OmniNative UI Banner" width="100%">
10
+ </p>
11
+
12
+ **OmniNative UI** is a comprehensive, modern UI component library built on top of **PySide6**. It provides a fully unified, premium dark theme out of the box, allowing developers to create sleek, professional desktop applications with minimal styling effort.
13
+
14
+ ## ✨ Features
15
+ - **Premium Dark Theme:** Pre-configured styling so you don't have to write any QSS/CSS.
16
+ - **Rich Component Library:** 20+ ready-to-use widgets including core inputs, virtual tables, interactive multimedia players, and a chat interface.
17
+ - **Pythonic API:** Intuitive wrappers around PySide6 that simplify layout management.
18
+ - **Native OS Integration:** Smooth behavior across Windows, macOS, and Linux without losing the custom aesthetic.
19
+
20
+ <!-- Showcase de Componentes -->
21
+ <p align="center">
22
+ <img src="docs/assets/demo-preview.png" alt="OmniNative UI Components" width="100%">
23
+ </p>
24
+
25
+ ## 🚀 Installation
26
+
27
+ Install the package directly from PyPI:
28
+
29
+ ```bash
30
+ pip install omninative-ui
31
+ ```
32
+
33
+ ### Installing from Source (Development)
34
+
35
+ If you want to contribute or modify the library locally:
36
+
37
+ ```bash
38
+ git clone https://github.com/your-username/omninative-ui.git
39
+ cd omninative-ui
40
+ pip install -e .
41
+ ```
42
+
43
+ ## 💻 Quick Start
44
+
45
+ ```python
46
+ import sys
47
+ from PySide6.QtWidgets import QApplication
48
+ from omninative_ui import OWindow, OGroup, OButton, OLabel
49
+
50
+ app = QApplication(sys.argv)
51
+
52
+ window = OWindow(title="My App", width=400, height=300)
53
+
54
+ group = OGroup(window.body, orientation="v")
55
+ window.body.layout().addWidget(group)
56
+
57
+ group.layout_.addWidget(OLabel(group, text="Hello World", bright=True))
58
+ group.layout_.addWidget(OButton(group, text="Click Me", primary=True))
59
+
60
+ window.omninativeui_reveal_when_ready()
61
+ window.show()
62
+ sys.exit(app.exec())
63
+ ```
64
+
65
+ ## 📖 Documentation
66
+
67
+ For full API references, architecture guides, and instructions on how to create new components, please check the [Full Documentation (`/docs/INDEX.md`)](docs/INDEX.md).
68
+
69
+ ## 🧩 Components
70
+
71
+ ### Core
72
+ | Component | Description |
73
+ | :--- | :--- |
74
+ | `OWindow` | Top-level window with OmniNative theme |
75
+ | `OGroup` | Vertical/horizontal layout container |
76
+ | `OLabel` | Styled text label |
77
+ | `OElidedLabel` | Auto-eliding text label |
78
+ | `OSectionHeader` | Section heading |
79
+ | `OSeparator` | Horizontal separator line |
80
+ | `OButton` | Button with primary/danger variants |
81
+ | `OComboBox` | Custom styled dropdown |
82
+ | `ORadioButton` | Radio button with icon positioning |
83
+ | `OCheckBox` | Custom styled checkbox |
84
+ | `OStatusBar` | Status bar label |
85
+ | `OOptionRow` | Label + widget row layout |
86
+
87
+ ### Inputs
88
+ | Component | Description |
89
+ | :--- | :--- |
90
+ | `OLineEdit` | Single-line text input |
91
+ | `OTextBox` | Multi-line text input |
92
+ | `OSpinBox` | Numeric input with +/- buttons |
93
+ | `OSlider` | Slider with value display |
94
+ | `OProgressBar` | Progress indicator |
95
+
96
+ ### Containers
97
+ | Component | Description |
98
+ | :--- | :--- |
99
+ | `OScrollArea` | Themed scrollable area |
100
+ | `OTreeWidget` | Collapsible accordion container |
101
+ | `OTabs` | Tab navigation |
102
+ | `OVirtualTable` | Virtual table with inline editing |
103
+
104
+ ### Media
105
+ | Component | Description |
106
+ | :--- | :--- |
107
+ | `OAudioPlayer` | Full audio player with waveform |
108
+ | `OAudioWaveform` | Interactive waveform visualizer |
109
+ | `OImageViewer` | Image gallery with fullscreen |
110
+
111
+ ### Chat
112
+ | Component | Description |
113
+ | :--- | :--- |
114
+ | `OChatView` | Chat message history |
115
+ | `OChatMessage` | Individual chat bubble |
116
+ | `OChatInput` | Chat text input with actions |
117
+ | `OActionMenu` | Floating action popover |
118
+
119
+ ## 🎨 Design Tokens
120
+
121
+ Access the color palette via the `OMNINATIVE` dictionary:
122
+
123
+ ```python
124
+ from omninative_ui import OMNINATIVE
125
+
126
+ print(OMNINATIVE["primary"]) # "#B6FF0E"
127
+ print(OMNINATIVE["background"]) # "#2C2C2C"
128
+ ```
129
+
130
+ ## 🤝 Contributing
131
+
132
+ Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
133
+
134
+ Please make sure to update the documentation in the `docs/` folder as appropriate and read our [Component Development Guide](docs/core/component-development.md).
135
+
136
+ ## 📄 License
137
+
138
+ LGPL-3.0-only
139
+
140
+ ---
141
+
142
+ ## 🎖️ Credits & Attribution
143
+
144
+ This project is made possible thanks to:
145
+ - **Ricardo Gonzalez**: [LinkedIn](https://www.linkedin.com/in/pedrocuervomkt/)
146
+ - **Mister Contenidos**: [Website](https://mistercontenidos.com/)
147
+ - **AI Assistance**: Code architecture and development accelerated by AI tools.
@@ -0,0 +1,89 @@
1
+ # omninative_ui/__init__.py
2
+ """
3
+ OmniNative UI — PySide6 component library with the OmniNative dark theme.
4
+
5
+ Usage:
6
+ from omninative_ui import OButton, OWindow, OMNINATIVE
7
+ from omninative_ui.chat import OChatView # granular import
8
+ """
9
+
10
+ from .tokens import (
11
+ OMNINATIVE,
12
+ _FONT_FAMILY,
13
+ _FONT_SIZE_SM,
14
+ _FONT_SIZE_LG,
15
+ _CORNER,
16
+ _PAD,
17
+ )
18
+
19
+ from .icons import (
20
+ _icon_cache,
21
+ _audio_icon_cache,
22
+ _get_cached_checkbox,
23
+ _get_cached_chevron,
24
+ _get_cached_plus,
25
+ _get_cached_arrow,
26
+ _get_cached_audio_icon,
27
+ )
28
+
29
+ from ._utils import (
30
+ get_global_stylesheet,
31
+ _pixmap_to_data_url,
32
+ )
33
+
34
+ from .core import (
35
+ OWindow,
36
+ OGroup,
37
+ OLabel,
38
+ OElidedLabel,
39
+ OSectionHeader,
40
+ OSeparator,
41
+ OButton,
42
+ OOptionButton,
43
+ OComboBox,
44
+ ORadioButton,
45
+ OCheckBoxBase,
46
+ OCheckBox,
47
+ OTableCheckBox,
48
+ OStatusBar,
49
+ OOptionRow,
50
+ )
51
+
52
+ from .inputs import (
53
+ OLineEdit,
54
+ OTextBox,
55
+ OSpinBox,
56
+ OSlider,
57
+ _WheelIgnoredSlider,
58
+ OProgressBar,
59
+ )
60
+
61
+ from .containers import (
62
+ OScrollArea,
63
+ OTreeWidget,
64
+ OTabs,
65
+ OVirtualTable,
66
+ OTableTextEdit,
67
+ OTableItemDelegate,
68
+ )
69
+
70
+ from .media import (
71
+ OAudioButton,
72
+ OAudioWaveform,
73
+ OAudioPlayer,
74
+ OImageViewer,
75
+ OFullscreenViewer,
76
+ )
77
+
78
+ from .chat import (
79
+ OChatMessage,
80
+ OChatView,
81
+ OChatInput,
82
+ OActionMenuItem,
83
+ OActionMenu,
84
+ )
85
+
86
+ # Re-export QTreeWidgetItem for convenience (used in demo)
87
+ from PySide6.QtWidgets import QTreeWidgetItem
88
+
89
+ __version__ = "0.1.0"
@@ -0,0 +1,119 @@
1
+ # omninative_ui/_utils.py
2
+ from typing import TYPE_CHECKING
3
+ from PySide6.QtCore import QByteArray, QBuffer, QIODevice
4
+
5
+ if TYPE_CHECKING:
6
+ from PySide6.QtGui import QPixmap
7
+
8
+ from .tokens import OMNINATIVE, _FONT_FAMILY, _FONT_SIZE_SM, _CORNER
9
+
10
+
11
+ def _pixmap_to_data_url(pixmap: 'QPixmap') -> str:
12
+ byte_array = QByteArray()
13
+ buffer = QBuffer(byte_array)
14
+ buffer.open(QIODevice.WriteOnly)
15
+ pixmap.save(buffer, "PNG")
16
+ return f"data:image/png;base64,{byte_array.toBase64().data().decode()}"
17
+
18
+ def get_global_stylesheet() -> str:
19
+ bg_color = OMNINATIVE["background"]
20
+ widget_bg = OMNINATIVE["background"]
21
+ scroll_bg = OMNINATIVE["background"]
22
+ return f"""
23
+ QWidget {{
24
+ background-color: transparent;
25
+ color: {OMNINATIVE["bright"]};
26
+ font-family: "{_FONT_FAMILY}";
27
+ font-size: {_FONT_SIZE_SM}pt;
28
+ }}
29
+ QWidget#content_wrapper {{
30
+ background-color: transparent;
31
+ }}
32
+ QWidget#central_widget {{
33
+ background-color: {OMNINATIVE["background"]};
34
+ }}
35
+ QLabel {{
36
+ background-color: transparent;
37
+ }}
38
+ QScrollArea {{
39
+ background-color: transparent;
40
+ }}
41
+ QScrollArea > QWidget > QWidget {{
42
+ background-color: transparent;
43
+ }}
44
+ QScrollBar:vertical {{
45
+ border: none;
46
+ background: transparent;
47
+ width: 8px;
48
+ margin: 0px;
49
+ }}
50
+ QScrollBar::handle:vertical {{
51
+ background: {OMNINATIVE["accent"]};
52
+ min-height: 20px;
53
+ margin-left: 3px;
54
+ margin-right: 4px;
55
+ margin-top: 2px;
56
+ margin-bottom: 2px;
57
+ border-radius: 0px;
58
+ }}
59
+ QScrollBar::handle:vertical:hover {{
60
+ background: {OMNINATIVE["accent"]};
61
+ }}
62
+ QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {{
63
+ border: none;
64
+ background: none;
65
+ height: 0px;
66
+ width: 0px;
67
+ }}
68
+ QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {{
69
+ background: none;
70
+ }}
71
+ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {{
72
+ background: none;
73
+ }}
74
+ QComboBox {{
75
+ background-color: {OMNINATIVE["background"]};
76
+ color: {OMNINATIVE["bright"]};
77
+ border: 1px solid {OMNINATIVE["gray"]};
78
+ border-radius: {_CORNER}px;
79
+ padding: 2px 8px;
80
+ }}
81
+ QComboBox::drop-down {{
82
+ subcontrol-origin: padding;
83
+ subcontrol-position: top right;
84
+ width: 20px;
85
+ border-left-width: 0px;
86
+ }}
87
+ QComboBox::down-arrow {{
88
+ image: none;
89
+ }}
90
+ QComboBox QAbstractItemView {{
91
+ background-color: {OMNINATIVE["background"]};
92
+ color: {OMNINATIVE["accent"]};
93
+ border: 1px solid {OMNINATIVE["gray"]};
94
+ selection-background-color: {OMNINATIVE["dark"]};
95
+ selection-color: {OMNINATIVE["bright"]};
96
+ }}
97
+ QLineEdit, QTextEdit, #RInput {{
98
+ background-color: {OMNINATIVE["dark"]};
99
+ color: {OMNINATIVE["bright"]};
100
+ border: 1px solid {OMNINATIVE["gray"]};
101
+ border-radius: {_CORNER}px;
102
+ padding: 2px 4px;
103
+ }}
104
+ QLineEdit:focus, QTextEdit:focus, #RInput:focus {{
105
+ border: 1px solid {OMNINATIVE["primary"]};
106
+ }}
107
+ QLineEdit[readOnly="true"], QTextEdit[readOnly="true"] {{
108
+ color: {OMNINATIVE["accent"]};
109
+ background-color: transparent;
110
+ border: 1px dashed {OMNINATIVE["gray"]};
111
+ }}
112
+ QSpinBox {{
113
+ background-color: {OMNINATIVE["dark"]};
114
+ color: {OMNINATIVE["bright"]};
115
+ border: 1px solid {OMNINATIVE["gray"]};
116
+ border-radius: {_CORNER}px;
117
+ }}
118
+ """
119
+