Results 1 to 16 of 16

Thread: How to develop a multi-gui application "alternative for the stacked widget "

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Join Date
    Feb 2013
    Location
    Banzart
    Posts
    54
    Thanks
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to develop a multi-gui application "alternative for the stacked widget "

    Well at first i created in my project a new Qt Designer Form Class which is a widget called widget2 that created an new .ui/.cpp/.h files then i wrote this code in my mainwindow wich contain a QStackedWidget

    Qt Code:
    1. ui->stackedWidget->setCurrentIndex(0);
    2. Widget2 * newWidget2 = new Widget2;
    3. ui->stackedWidget->addWidget( newWidget2 );
    To copy to clipboard, switch view to plain text mode 
    but i doesn't do the job
    Last edited by sliverTwist; 14th March 2013 at 09:45. Reason: updated contents
    Sliver_Twist

Similar Threads

  1. Replies: 1
    Last Post: 7th April 2010, 21:46
  2. Replies: 3
    Last Post: 15th February 2010, 17:27
  3. How to develop platform independ "DLL"
    By alxwang in forum Qt Programming
    Replies: 1
    Last Post: 7th March 2009, 16:02
  4. Replies: 3
    Last Post: 8th July 2008, 19:37
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.