------ Solution ---------------------------------------- ----
can not drag the first one, the other can drag each other ? Looks like it can only be a whole set
------ Solution ---------------------------------- ----------
Close button , then try the code below . .
QTabBar* pTabBar = m_pTabWidget->findChild<QTabBar*>(QLatin1String("qt_tabwidget_tabbar"));
pTabBar->tabButton(0, QTabBar::RightSide)->hide();
------ For reference only ----------------------------------- ----
but the first one is to make not drag , the current practice is to put a button on the far left, simulated .
I do not know what can be directly set
------ For reference only --------------------------- ------------
but the first one is to make not drag , the current practice is to put a button on the far left, simulated .
I do not know what can be set directly
I had to do all the time with the Tab key to simulate , so actually more flexible , very much agree with oh
------ For reference only ------------ ---------------------------
Thank you.
As you drag that problem , it will only reload mousepressevent and mousemoveevent then determine the coordinates processed .
没有评论:
发表评论