mirror of
https://github.com/pyapp-kit/superqt.git
synced 2025-07-21 12:11:07 +02:00
* remove qtcompat * change imports * change codecov * add dep * run tests against dalthviz branch * update * more replace * pin pyside6 for sake of test * add deprecation * drop qt 5.11 * unpin pyside6
14 lines
329 B
Python
14 lines
329 B
Python
from qtpy.QtWidgets import QApplication
|
|
|
|
from superqt import QElidingLabel
|
|
|
|
app = QApplication([])
|
|
|
|
widget = QElidingLabel(
|
|
"a skj skjfskfj sdlf sdfl sdlfk jsdf sdlkf jdsf dslfksdl sdlfk sdf sdl "
|
|
"fjsdlf kjsdlfk laskdfsal as lsdfjdsl kfjdslf asfd dslkjfldskf sdlkfj"
|
|
)
|
|
widget.setWordWrap(True)
|
|
widget.show()
|
|
app.exec_()
|