All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

Register

Login


All New
's Avatar

0101100101

Joined 1739128431

Recently created
Least recently created
Recently updated
Least recently updated
All gists 1
0101100101's Avatar

0101100101 / FoldableDockWidget;py

0 likes
0 forks
1 files
Last active 1739128532
1 # todo when creating the window, need to be able to set whether can resize height or not? e.g. image / chart
2 # todo why is there a margin between bottom and top of widgets?
3 # todo the QLabel should have a width that spans to multilines where necessary instead of just increasing width
4
5 import sys
6 from random import randint
7
8 from PySide6.QtCore import QSize, Qt
9 from PySide6.QtGui import QIcon, QMouseEvent
10 from PySide6.QtWidgets import QDockWidget, QWidget, QToolButton, QStyle, QHBoxLayout, QStyleFactory, QSizePolicy, \
Newer Older

Powered by Opengist ⋅ Load: 64ms⋅

English
Čeština English Español Français Magyar Português Русский 中文 繁體中文