python - some Qframe and other widget just in one *ui files (pyuic4) -
you know can after working in qt designer
, converting via pyuic4 command
executable program
or module
, can modify code
, merge , build complete program
, have serious question:
suppose have qmainwindow
, qframe
, don't want save in separately *ui files
, need save in 1 *ui files
, it's possible?
you can't save 2 forms in 1 .ui file, think can (i did not tried should work): save example 1 qdialog
, 1 qmainwindow
(qframe
can't stand alone-it needs parent widget) in separate .ui files, convert them via pyuic4
command 2 .py files , join 2 files 1 .py module (copy data 1 - copy class , create instance in __main__
).
that not practical when want change in designer , because you'll need whole procedure again.
Comments
Post a Comment