Results 1 to 3 of 3

Thread: problem in widget inheritance

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question problem in widget inheritance

    i created one object "main" with stackedwidget where there is four pages and in four pages i create three "panel" classes
    Qt Code:
    1. MainWindow ::MainWindow(QDialog *parent)
    2. {
    3. Panel *panel = new Panel();
    4. }
    To copy to clipboard, switch view to plain text mode 
    now in panel.cpp a Qpushbutton "control" ... if i click the pushbutton of panel class can i change the page of the main class stackedWidget
    i am having less C++ knowledge
    please help
    Last edited by jpn; 11th December 2008 at 16:30. Reason: missing [code] tags

Similar Threads

  1. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  2. How to Open & Close a Widget ?!!
    By Fatla in forum Qt Programming
    Replies: 6
    Last Post: 13th June 2008, 20:39
  3. Widget resizing problem
    By fwohlfert in forum Qt Programming
    Replies: 3
    Last Post: 23rd February 2006, 08:16
  4. [Qt 4.1.0] Split a widget on demand
    By Townk in forum Qt Programming
    Replies: 3
    Last Post: 17th February 2006, 14:16
  5. Replies: 7
    Last Post: 3rd February 2006, 10:20

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.