How can i export my cpp code into .ui using Qt creator?
-
wrote on 29 Dec 2011, 06:48 last edited by
how can i export my cpp code into .ui using Qt creator...
which i want to convert to python code using pyuic .
am i doing the right thing ,or is there any alternate way? , plz suggest...
-
wrote on 29 Dec 2011, 08:54 last edited by
As i can understand you want to convert only cpp code that creates your GUI, right?
Anyway i don't think that it's possible. If your GUI not so complex it will take only few minutes to create the same GUI with designer. -
wrote on 29 Dec 2011, 08:56 last edited by
AFAIK this is not possible. From Qt overall design it is meant the other way around.
The .ui are generated by designer and transformed to cpp-code, which may be used independent of designer. -
wrote on 29 Dec 2011, 10:55 last edited by
if thats the case can any one guide me to create a file bowser (column view) using qdesigner plzzz....
-
wrote on 29 Dec 2011, 11:00 last edited by
Open ui_*.cpp file, where * = mainwindow as example.
-
wrote on 29 Dec 2011, 11:00 last edited by
bq. if thats the case can any one guide me to create a file bowser (column view) using qdesigner plzzz….
I thought you asked the same question and got the hints in another" post":http://developer.qt.nokia.com/forums/viewthread/12879/
-
wrote on 29 Dec 2011, 11:10 last edited by
[quote author="tucnak" date="1325156407"]Open ui_*.cpp file, where * = mainwindow as example.[/quote]
Do not modify any generated files.
-
wrote on 29 Dec 2011, 18:31 last edited by
[quote author="Lukas Geyer" date="1325157002"][quote author="tucnak" date="1325156407"]Open ui_*.cpp file, where * = mainwindow as example.[/quote]
Do not modify any generated files.[/quote]
It will not harm, as there are won't be ui_*.cpp files generated :-)
5/8