LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2010, 12:11 PM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Multiple-window GUI app in Qt Creator


For example I want my Qt Creator app to have multiple custom dialogs. How do I manage them?

Also, what if I want to replace all the widgets in a window with new ones, how do I manage that in Qt Designer?
 
Old 08-06-2010, 09:34 AM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
*bump*
 
Old 08-10-2010, 03:55 AM   #3
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Have you installed the Qt documentation and the tutorial? The question on dialogs and previous questions that you have asked about Qt are answered within the documentation that comes with Qt.

I believe that with widgets you can change them by selecting the appropriate option from the context sensitive menu (right click on the widget)
 
Old 08-10-2010, 07:32 AM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by graemef View Post
I believe that with widgets you can change them by selecting the appropriate option from the context sensitive menu (right click on the widget)
I didn't write my question clearly enough. I meant that in Designer I want to create "Widget Group A" and "Widget Group B", with only A being in the window originally. Then, in the program, during execution, to be able to get rid of group A and replace it with Group B and vice versa.

Think tab widget but with no manual way of choosing the tabs.
 
Old 08-10-2010, 08:14 AM   #5
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Look at the addItem and removeItem methods of the QLayout.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Make your own Android apps with Google App Creator LXer Syndicated Linux News 0 07-13-2010 05:21 AM
Switch between app and GUI The_paladin Linux - Newbie 3 08-17-2006 08:20 PM
Exclude window-decor on app? tripmix Linux - Newbie 0 07-26-2006 10:54 PM
GUI database app? johnMG Linux - Software 3 04-13-2005 04:29 PM
gui database app macewan Linux - Software 13 02-24-2003 03:35 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration