You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



  • "arpan_81" is male
  • "arpan_81" started this thread

Posts: 2

Location: India

  • Send private message


Wednesday, August 25th 2004, 9:13am

need help on qtabwidget...urgent!!!

hi friends,

i'm new to qt designer and need ur help.

i want to use qtabwidget in my project. each tab will show a unique file opened in text editor just like we have in gedit.

so i want to know how this qtabwidget behaves and how it be coded if u can provide with some sort of exmaples it will be much better.

my project will have MDI interface just like gedit so it is necessary to use qworkspace class in project?

pls help me as soon as possible...i need to complete these project within 3 months...i've done nothing cause i'm not able to solve this kind of problems myself.

if there are any e-books available for qt-designer on internet pls let me know.

thanks in advance,



  • "Shashi" is male

Posts: 24

Location: India

Occupation: Software Engineer

  • Send private message


Wednesday, August 25th 2004, 9:33am

RE: need help on qtabwidget...urgent!!!

The future is Open...



  • "djanubis" is male

Posts: 1,370

Location: Moulins France

Occupation: Software ingeneering

  • Send private message


Wednesday, August 25th 2004, 9:44am

RE: need help on qtabwidget...urgent!!!

You can find a very well documented, commented and practical example directly in your Qt source tree, under the examples directory. Have a look to textedit/textedit.cpp, more specifically the fileNew() and lileOen() methods.
Never patch not working code. Rewrite it !
Never patch badly designed classes. Recreate them cleanly.
(Excerpts from Computing Bible)

Home of the Lab project




Friday, August 27th 2004, 3:24pm


Qt 3.3.3 has a very complete tutorial using QTabWidget: if you go to assistant and click on designer, the second link labelled create a main form has an example called colortool which will explain most of your questions on QTabWidget