You are not logged in.

Dear visitor, welcome to QtForum.org. 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.

1

Monday, June 24th 2013, 6:27am

Suggestions for plenty of screens.

Hi,

I need a suggestion from u guys. I am designing a GUI in which the outer layout is designed using QT Designer. Now I am into the coding part and I want to have a frame at the center which is constantly changing as per the button clicks and gets populated with different data. There are around 12 buttons and other 6 for the normal functioning like menu up,down etc. What would you guys suggest me to go with?

A QFrame,Scroll area,Stacked widget,MdiArea or something else.

Thank You :)

_Blueman

Intermediate

  • "_Blueman" is male

Posts: 196

Location: Poland

  • Send private message

2

Monday, June 24th 2013, 8:13am

QStackedWidget or QStackedLayout should do the work ;)

3

Monday, June 24th 2013, 9:25am

Kool will use the same..Thanks...

4

Tuesday, June 25th 2013, 7:05am

Can you tell me which way of doing is better. Making different frames through coding and displaying and hiding them using QSignalMapper or drag and drop technique and just enabling and disabling them?

_Blueman

Intermediate

  • "_Blueman" is male

Posts: 196

Location: Poland

  • Send private message

5

Tuesday, June 25th 2013, 7:26am

it depends on many things, so test it out :)

This post has been edited 1 times, last edit by "_Blueman" (Jun 25th 2013, 7:44pm)


6

Tuesday, June 25th 2013, 7:52am

Can you suggest me some link where I can read about it. I am not really able to finalize about it. If I do it dynamically the main problem is it might get distorted while trying to move from one pc to another.
Also another problem is I am not able to get the layout arrange in layout using horizontal splitter. Is there any other way I can make the screen fit to size?

Thanks a lot :) :)

8

Friday, July 5th 2013, 12:13pm

i need help. Making different frames through coding and displaying and hiding them using QSignalMapper or drag and drop technique and just enabling and disabling them???
tell me your opinion..

_Blueman

Intermediate

  • "_Blueman" is male

Posts: 196

Location: Poland

  • Send private message

9

Friday, July 5th 2013, 8:12pm

If you have many widgets, which are displayed in the same place, use mentioned QStackedWidget or QStackedLayout

if they are next to each other, it depend on functionality