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.2.tar.gz (192.0 kB view details)

Uploaded Source

Built Distribution

soloman.Controls-3.1.2.2-py3-none-any.whl (198.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for soloman.Controls-3.1.2.2.tar.gz
Algorithm Hash digest
SHA256 c9ce1fa4a036c8e23da7afc9255dc3ba7a24ba7dfac3db813c798225c90aefeb
MD5 d02334cf9121d934a84f5f4a52e8af1a
BLAKE2b-256 4f07d512908a22610b3ec77366a4edb241e71636ffec115f71ecab93c8caf244

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for soloman.Controls-3.1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 64a3ce573e8da433e6c9c36d8c6862fe70d15c838522bea70646243623d0da56
MD5 80a3f4085bce0460011afc1d3eae5a5c
BLAKE2b-256 af8a796472976280325528e07aa8ca44a2c8900895ab8fedce37a3a929ce5f9c

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