hi
there is a strange problem.
dock->tab_5->hide();
dose not work.
there is 5 tabs in the proposed dock
regards
navid
hi
there is a strange problem.
dock->tab_5->hide();
dose not work.
there is 5 tabs in the proposed dock
regards
navid
it is Qt4.6.3 on WinXP-SP3
hey
anybody ?
Can you please specify the classes you are using? Can you add some code examples?
#include "buildingwidgets.h"
Qt Code:
{ Q_OBJECT public: ~BuildingWidgets(); }To copy to clipboard, switch view to plain text mode
Qt Code:
{ dock->setupUi(this); dock->tab_admin->hide(); }To copy to clipboard, switch view to plain text mode
I didn't send the details
there is all of the "include, signals, slots,..."
but only two commands of dock->tab_admin->hide(); or dock->tab_admin->setVisible(false); do not work!!
Well, you're a bit mean with the posts, aren't you?
What exactly does the code do wrong? From what I see I can't figure out what's wrong. Does the widget "tab_admin" hide? Probably yes, but the dock widget not, is that true? Provide more information, please. What's in ui_buildingWidgets.h?
I said that it is strange
I want to hide Tab tab_admin (between several available tabs), but it is visible!!
find enclosed 'ui_buildingWidgets.h'
try removing your tabified dock widget using..
QMainWindow::removeDockWidget ( QDockWidget * dockwidget ) & you may restore using QMainWindow::restoreDockWidget ( QDockWidget * dockwidget )
Bookmarks