Skip to main content

For the love of python and qml

Project description

soloman.Controls Downloads

Controls for Qml

Controls

SButton

Example

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

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

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

soloman.Controls-3.1.2.1.tar.gz (191.9 kB view details)

Uploaded Source

Built Distribution

soloman.Controls-3.1.2.1-py3-none-any.whl (198.0 kB view details)

Uploaded Python 3

File details

Details for the file soloman.Controls-3.1.2.1.tar.gz.

File metadata

  • Download URL: soloman.Controls-3.1.2.1.tar.gz
  • Upload date:
  • Size: 191.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for soloman.Controls-3.1.2.1.tar.gz
Algorithm Hash digest
SHA256 f51baa1d0aedb33793a50ca6af8ac283b8f87e094f6b0657b825aea0c9d2c7c5
MD5 56bdbbe71d1532e44f2680a557c29e9c
BLAKE2b-256 625760d3c8878a55c7070e60d3e3d42e026ea00408a7fe7031290dadc32d57e9

See more details on using hashes here.

Provenance

File details

Details for the file soloman.Controls-3.1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for soloman.Controls-3.1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5315fad7a32f2daf70600fbef1498fcb1be6e7995e8c7931ec32b286e300ecc
MD5 c979e22bd943837a4d232fea3b695382
BLAKE2b-256 d18dd05f5fb028ea6fdbc5d1ba59583ac434ab63e2238b783f65732a123ac01b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page