PDA

View Full Version : Related to header file



merry
10th May 2007, 10:43
Hi all

I am working on Qt 4.2 + Mac Operating System.. I m totally new to this .I didnt know anything about this. So

Please tell me Why we use : setup Ui(this) in header file


cheers
Merry :)

jpn
10th May 2007, 11:05
Please, start with reading Using a Component in Your Application (http://doc.trolltech.com/4.2/designer-using-a-component.html).

patrik08
10th May 2007, 13:03
Hi all

I am working on Qt 4.2 + Mac Operating System.. I m totally new to this .I didnt know anything about this. So

Please tell me Why we use : setup Ui(this) in header file
cheers
Merry :)

Hi Tiger or Panther,

save this on desktop http://ppk.ciz.ch/qt_c++/QT_utils.zip 5.4K

open your terminal..
cd ~/Des* [enter]
cd QT_* [enter]
qmake && make
now have a look on ui dir the file **.h
inside you find a function setup Ui to construct the base widged &&
You have a tool to build qt4 class file from the class name from designer file...