berlinud
27th August 2010, 16:52
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
QMainWindow->hide();
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?
inside the layout is a QTableWidget.
I want to hide all the things except for the toolbar,
I used
QMainWindow->hide();
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?