Wednesday, 15 February 2012

python - Qt - custom window chrome -



python - Qt - custom window chrome -

i want create app qt v 5.3 (pyqt/pyside) has custom window chrome (somewhat resembling windows modern ui/metro) - here's design.

now question - should go standard qmainwindow, utilize qt.framelesswindowhint , add together widgets (for title bar, status bar, window action buttons) or should create own qwindow equivalent or maybe there's option?

you can accomplish needed design frameless window , custom controls. did similar things in past qt widgets , painful.

for suggested ui, go qt quick. pretty easy , straight forwards of custom controls , style standard (see qt quick controls) ones needs.

in add-on need implement custom handling moving window mouse, window lack default header.

python qt pyqt qt5 pyside

No comments:

Post a Comment