Results 1 to 2 of 2

Thread: how to hide a program with only toolbar left?

  1. #1
    Join Date
    Aug 2010
    Posts
    24
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default how to hide a program with only toolbar left?

    the program contains a QHBoxLayout as a CentralWidget of QMainWindow,
    inside the layout is a QTableWidget.

    I want to hide all the things except for the toolbar,

    I used

    Qt Code:
    1. QMainWindow->hide();
    To copy to clipboard, switch view to plain text mode 

    but the result is weird:

    the QTableWidget inside the QMainWindow vanished,leaving the original area of QTableWidget blank(only blank,it is still there),

    what code do I need to hide this blank area?

  2. #2
    Join Date
    Aug 2010
    Posts
    24
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to hide a program with only toolbar left?

    make it up~

Similar Threads

  1. Replies: 1
    Last Post: 30th April 2010, 13:25
  2. Replies: 5
    Last Post: 19th March 2010, 05:33
  3. how to hide seperator in toolbar using Qt 2.3 NCE
    By Sandip in forum Qt Programming
    Replies: 0
    Last Post: 16th December 2008, 08:16
  4. How to hide mainwindow at program start up
    By palmer in forum Qt Programming
    Replies: 4
    Last Post: 13th September 2008, 14:35
  5. unable to hide combobox or spinbox in toolbar
    By Sandip in forum Qt Programming
    Replies: 1
    Last Post: 22nd July 2008, 11:52

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.