• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 11:27
CET 17:27
KST 01:27
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL22] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
Weekly Cups (Oct 26 - Nov 1): MaxPax, herO, Solar win0Weekly Cups (October 19-25): Clem triples first in 5.0.175Evil Geniuses - shutting down23ISSL (IntoTheTV x SOOP SC2 League): Premier7Weekly Cups (October 12-18): 5.0.17 era begins1
StarCraft 2
General
No more SC2 streamers on team liquid? [D] Hacker peak in sc2 ? Liquibets sc2 season 30 Evil Geniuses - shutting down Weekly Cups (Oct 26 - Nov 1): MaxPax, herO, Solar win
Tourneys
SC4ALL: II Venue Change Announcement! Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays ISSL (IntoTheTV x SOOP SC2 League): Premier Stellar Fest TWO the Moon (Dec 16-20)
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[G] How to playtest arcade maps Starcraft 2 Advance [D] the control group Simple Questions/Answers
External Content
Mutation # 550 Graveyard Shift The PondCast: SC2 News & Results Mutation # 549 Endless Sparkles Mutation # 548 Shining Bright
Brood War
General
List of top players active on ShieldBattery BGH Auto Balance -> http://bghmmr.eu/ Rollback Netcode in Brood War sOs joins Best's team, Newcatsle University SC4ALL: II Venue Change Announcement!
Tourneys
[$1250] International ShieldBattery League [Megathread] Daily Proleagues Small VOD Thread 2.0 KCM Race Survival 2026 Season 4
Strategy
50,000-Word Terran Builds Memo 2026-10-22 Cliff Jump Revisited (1 in a 1000 strategy) Simple Questions, Simple Answers
Other Games
General Games
Stratus: Battle for the sky now on steam Early acc Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread Deus Ex 3!?
Dota 2
Dota 2 Champions League Season 3 Begins April 25!
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
Trading/Investing Thread US Politics Mega-thread Dating: How's your luck? Artificial Intelligence Thread Things Aren’t Peaceful in Palestine
Fan Clubs
Fan Club Resource Thread Reynor Fan Club The Flash Fan Club
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Why I built Repalyzer (1.1.…
BlueStar
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Can Bots Beat Pros?? Starcr…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 7880 users

QT

Blogs > swat
Post a Reply
swat
Profile Blog Joined January 2008
Australia142 Posts
August 06 2009 02:49 GMT
#1
Very simple question for the time being.

Been playing around with QT for a little bit now and was wondering which method of window changing is preferred:

- StackedWidget method, when I have to change the current layout to another widget?

- Removing / destroying the current widget and creating a new widget to replace it in the layout?

From past experience I think both have cons and pros, obviously with stackedwidgets they are all created upon creation of the program even if one of the widgets is never actually used by the user. The other method could be problematic with deletion / creation.

If anyone actually has a lot of knowledge using QT, which is the standard way or preferred?

swat
Profile Blog Joined January 2008
Australia142 Posts
August 06 2009 02:52 GMT
#2
also no, this is not for any school work just personal.

If anyone is interested in QT it is a API for creating GUI's for programs. From playing around with it, it seems to have xml parsers (SAX AND DOM), sql lite and other support which I never thought it would have making it a lot more flexible then I first thought (only gui classes, events etc).
araav
Profile Blog Joined September 2004
Armenia1590 Posts
August 06 2009 06:15 GMT
#3
I am not familiar with QT, but a friend of mine is a QT expert, I'll ask him to comment on those. No promises tho
The flower that blooms in adversity is the most rare and beautiful of all.
snooker
Profile Joined August 2009
Armenia1 Post
August 06 2009 07:59 GMT
#4
Hi, Prefer using QstakedWidget, don't create extra problems for you, if there is no special reason for not using QStackedWidget.

Read here

http://www.qtcentre.org/forum/f-newbie-4/t-deleteadd-layout-or-modify-existing-layout-7524.html/?highlight=QstackedLayout

http://www.qtcentre.org/forum/f-newbie-4/t-qstackedlayout-qstackedwidget-15331.html/?highlight=QstackedLayout
Please log in or register to reply.
Live Events Refresh
IntoTheTV X SOOP
20:00
Premier - Quarterfinals
WardiTV613
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
elazer 170
BRAT_OK 78
EmSc Tv 24
MindelVK 19
StarCraft: Brood War
Britney 34331
Rain 1502
Mini 516
ggaemo 226
Dewaltoss 118
Pusan 72
Hyun 53
Movie 47
scan(afreeca) 32
Classic 30
[ Show more ]
Yoon 27
Rock 24
Aegong 17
ajuk12(nOOB) 15
sOs 13
Sacsri 12
yabsab 9
Dota 2
qojqva2919
Dendi1517
420jenkins263
League of Legends
Trikslyr11
Counter-Strike
jkaem72
Super Smash Bros
hungrybox194
Other Games
B2W.Neo881
Lowko489
DeMusliM248
Fuzer 230
PiGStarcraft229
QueenE108
Mew2King90
KnowMe89
NeuroSwarm47
Railgan23
fpsfer 1
Organizations
Other Games
EGCTV863
ComeBackTV 280
Counter-Strike
PGL108
StarCraft 2
EmSc Tv 24
EmSc2Tv 24
[ Show 16 non-featured ]
StarCraft 2
• StrangeGG 38
• poizon28 35
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Laughngamez YouTube
• Migwel
StarCraft: Brood War
• HerbMon 19
• Michael_bg 8
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis2345
Other Games
• WagamamaTV409
• Shiphtur347
Upcoming Events
IPSL
33m
WorsT vs nOmaD
Dewalt vs andersOn
AI Arena Tournament
2h 33m
IntoTheTV X SOOP
18h 33m
IPSL
1d
Azhi_Dahaki vs ggnore13
Double vs WIZARD
Replay Cast
1d 6h
Replay Cast
2 days
Sparkling Tuna Cup
2 days
WardiTV Invitational
2 days
YoungYakov vs Lambo
SHIN vs TBD
Percival vs Shameless
Solar vs TBD
PiGosaur Cup
3 days
The PondCast
4 days
[ Show More ]
KCM Race Survival
4 days
WardiTV Invitational
4 days
CranKy Ducklings
6 days
Liquipedia Results

Completed

Proleague 2026-11-05
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
BSL Season 23
IPSL Winter 2026-27
Calamity Cup Div. A Season 8
IEM Beijing 2026
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026

Upcoming

Sector 951
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Underdog Cup 2026 Div 2-3
PGL Bucharest 2027
BLAST Bounty Winter 2027
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.