August 6, 2012

Peppy Peppy
Hobby Entomologist
389 posts

Dialogs - Windows 7 Look&Feel

 

Hi guys, I have one small question: How to make dialogs Windows 7 Look & Feel. I mean, add back/forward buttons up there and by side add title, etc. ?

3 replies

August 6, 2012

Sam Sam
Area 51 Engineer
628 posts

Hi,

I think you need to create and customize your own widgets to get the look and feel of forward/back buttons (win 7), By default the forms look and feel is the same of the platform you are running on. You can check here [qt-project.org] for more information regarding creating your own widget with custom styles.

August 6, 2012

JKSH JKSH
Dinosaur Breeder
722 posts

Qt uses the platform’s native look and feel. Just have to build and run your program in Windows 7, and it will automatically have the Win7 look and feel.

Peppy wrote:
I mean, add back/forward buttons up there and by side add title, etc. ?

There are many kinds of dialogs. Which kind do you want? Qt provides many built-in ones: See the “Inherited by” list in http://qt-project.org/doc/qt-4.8/qdialog.html . For example the QWizard [qt-project.org] has back/forward buttons on top in Windows 7

August 7, 2012

Peppy Peppy
Hobby Entomologist
389 posts

Yep, I have thought that Aero style…

 
  ‹‹ Cell contains disappears after adding delegate in QTableview      Visibility and Position ››

You must log in to post a reply. Not a member yet? Register here!