# soloman.Controls [![Downloads](https://pepy.tech/badge/soloman-controls)](https://pepy.tech/project/soloman-controls)
Controls for Qml
## Controls
### SButton
#### Example
```qml
import QtQuick
import QtQuick.Controls.Basic
import soloman.Controls
ApplicationWindow {
visible: true
width: 400
height: 400
SButton {
text: "Click Me"
color: "dodgerblue"
textColor: "white"
}
}
```
# Views
## STabView
This is a unique object type for Soloman.Controls. It provides you with a TabView.
### Basic Usage
#### Usage by creating tabs
```qml
import QtQuick 2.10
import QtQuick.Controls 2.10
import soloman.Controls 1.0
ApplicationWindow {
visible: true
width: 800
height: 500
STabView {
anchors.fill: parent
STab {
anchors.fill: parent
color: "lightgreen"
}
}
}
```
#### Creating tabs dynamically via qml code
```qml
import QtQuick 2.10
import QtQuick.Controls 2.10
import soloman.Controls 1.0
ApplicationWindow {
visible: true
width: 800
height: 500
STabView {
id: sv
anchors.fill: parent
}
Component.onCompleted: {
sv.addChild('import QtQuick 2.10; Rectangle {anchors.fill: parent;}')
}
}
```
#### Creating tabs dynamically via filename
```qml
import QtQuick 2.10
import QtQuick.Controls 2.10
import soloman.Controls 1.0
ApplicationWindow {
visible: true
width: 800
height: 500
STabView {
id: sv
anchors.fill: parent
}
Component.onCompleted: {
sv.addChild(sv.url="textV.qml")
}
}
```
## Wiki
The wiki can be located [here](https://github.com/deuteronomy-works/soloman.Controls/wiki)
Raw data
{
"_id": null,
"home_page": "https://github.com/deuteronomy-works/soloman",
"name": "soloman.Controls",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "qml,qml controls,soloman,pyside6,pyqt6,pyside2,pyqt5",
"author": "Amoh - Gyebi Godwin Ampofo Michael",
"author_email": "amohgyebigodwin@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/4f/07/d512908a22610b3ec77366a4edb241e71636ffec115f71ecab93c8caf244/soloman.Controls-3.1.2.2.tar.gz",
"platform": null,
"description": "# soloman.Controls [![Downloads](https://pepy.tech/badge/soloman-controls)](https://pepy.tech/project/soloman-controls)\nControls for Qml\n\n## Controls\n\n### SButton\n\n#### Example\n\n```qml\n\nimport QtQuick\nimport QtQuick.Controls.Basic\nimport soloman.Controls\n\n\nApplicationWindow {\n visible: true\n width: 400\n height: 400\n \n SButton {\n text: \"Click Me\"\n color: \"dodgerblue\"\n textColor: \"white\"\n }\n}\n\n```\n\n# Views\n\n## STabView\nThis is a unique object type for Soloman.Controls. It provides you with a TabView.\n\n### Basic Usage\n#### Usage by creating tabs\n```qml\nimport QtQuick 2.10\nimport QtQuick.Controls 2.10\nimport soloman.Controls 1.0\n\nApplicationWindow {\n visible: true\n width: 800\n height: 500\n\n STabView {\n anchors.fill: parent\n STab {\n anchors.fill: parent\n color: \"lightgreen\"\n }\n }\n\n}\n\n```\n\n#### Creating tabs dynamically via qml code\n```qml\nimport QtQuick 2.10\nimport QtQuick.Controls 2.10\nimport soloman.Controls 1.0\n\nApplicationWindow {\n visible: true\n width: 800\n height: 500\n\n STabView {\n id: sv\n anchors.fill: parent\n }\n\n Component.onCompleted: {\n sv.addChild('import QtQuick 2.10; Rectangle {anchors.fill: parent;}')\n }\n\n}\n\n```\n\n#### Creating tabs dynamically via filename\n```qml\nimport QtQuick 2.10\nimport QtQuick.Controls 2.10\nimport soloman.Controls 1.0\n\nApplicationWindow {\n visible: true\n width: 800\n height: 500\n\n STabView {\n id: sv\n anchors.fill: parent\n }\n\n Component.onCompleted: {\n sv.addChild(sv.url=\"textV.qml\")\n }\n\n}\n\n```\n\n\n## Wiki\n\nThe wiki can be located [here](https://github.com/deuteronomy-works/soloman.Controls/wiki)\n",
"bugtrack_url": null,
"license": "",
"summary": "For the love of python and qml",
"version": "3.1.2.2",
"split_keywords": [
"qml",
"qml controls",
"soloman",
"pyside6",
"pyqt6",
"pyside2",
"pyqt5"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "af8a796472976280325528e07aa8ca44a2c8900895ab8fedce37a3a929ce5f9c",
"md5": "80a3f4085bce0460011afc1d3eae5a5c",
"sha256": "64a3ce573e8da433e6c9c36d8c6862fe70d15c838522bea70646243623d0da56"
},
"downloads": -1,
"filename": "soloman.Controls-3.1.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "80a3f4085bce0460011afc1d3eae5a5c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 198162,
"upload_time": "2023-04-14T16:20:55",
"upload_time_iso_8601": "2023-04-14T16:20:55.198199Z",
"url": "https://files.pythonhosted.org/packages/af/8a/796472976280325528e07aa8ca44a2c8900895ab8fedce37a3a929ce5f9c/soloman.Controls-3.1.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4f07d512908a22610b3ec77366a4edb241e71636ffec115f71ecab93c8caf244",
"md5": "d02334cf9121d934a84f5f4a52e8af1a",
"sha256": "c9ce1fa4a036c8e23da7afc9255dc3ba7a24ba7dfac3db813c798225c90aefeb"
},
"downloads": -1,
"filename": "soloman.Controls-3.1.2.2.tar.gz",
"has_sig": false,
"md5_digest": "d02334cf9121d934a84f5f4a52e8af1a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 191994,
"upload_time": "2023-04-14T16:20:57",
"upload_time_iso_8601": "2023-04-14T16:20:57.795067Z",
"url": "https://files.pythonhosted.org/packages/4f/07/d512908a22610b3ec77366a4edb241e71636ffec115f71ecab93c8caf244/soloman.Controls-3.1.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-14 16:20:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "deuteronomy-works",
"github_project": "soloman",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "soloman.controls"
}