Skip to main content

PyQt vertical tab widget (text is horizontal)

Project description

pyqt-vertical-tab-widget

PyQt vertical tab widget (text is horizontal)

Requirements

PyQt5 >= 5.8

Setup

python -m pip install pyqt-vertical-tab-widget

Example

Code Example

from PyQt5.QtCore import Qt

from PyQt5.QtGui import QFont

from PyQt5.QtWidgets import QApplication, QLabel

from pyqt_vertical_tab_widget.verticalTabWidget import VerticalTabWidget





if __name__ == "__main__":

    import sys



    app = QApplication(sys.argv)

    myWindow = VerticalTabWidget()

    for i in range(3):

        label = QLabel()

        label.setAlignment(Qt.AlignCenter)

        label.setText(f'Widget {i}')

        label.setFont(QFont('Arial', 30, QFont.Bold))

        myWindow.addTab(label, f'Tab {i}')

    myWindow.show()

    sys.exit(app.exec_())

Result

https://user-images.githubusercontent.com/55078043/145132730-b2294734-118d-4fc4-b493-943a1482e607.mp4

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

pyqt-vertical-tab-widget-0.0.12.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file pyqt-vertical-tab-widget-0.0.12.tar.gz.

File metadata

File hashes

Hashes for pyqt-vertical-tab-widget-0.0.12.tar.gz
Algorithm Hash digest
SHA256 84e3ed69616f65c5c702d7a6209bce6a4250af33bae0cd5d4c475785f561e778
MD5 5c24e95a10f0b9995f3022359f3280dd
BLAKE2b-256 40c8f2d605260910a6f7e0ef94cf140df58ca5659b0ff35ca257ecb78f2c03a3

See more details on using hashes here.

File details

Details for the file pyqt_vertical_tab_widget-0.0.12-py3-none-any.whl.

File metadata

File hashes

Hashes for pyqt_vertical_tab_widget-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 5ba1d90181c33cea8ed726d8150d3e9799d70069792dc87cd83494f77d0670e3
MD5 a483b856f8e6ebbdff85d0a9d0333333
BLAKE2b-256 610da37f716fb39d034f5cdec7c78de8d82b66c2900d0554c47fe5b4da8f9993

See more details on using hashes here.

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