m_tabACN_Gen = new ACNGenTab( this );
m_tabWidget->addTab( m_tabACN_Gen, tr(GENERAL_TAB.toAscii().data()) );
m_tabACN_Ports = new ACNPortsTab( this );
m_tabWidget->addTab( m_tabACN_Ports, tr(PORTS_TAB.toAscii().data()) );
m_tabACN_AIP = new ACNAIPTab( m_pNode, m_pMainWin, this );
m_tabWidget->addTab( m_tabACN_AIP, tr("AIP") );
m_tabACN_Gen = new ACNGenTab( this );
m_tabWidget->addTab( m_tabACN_Gen, tr(GENERAL_TAB.toAscii().data()) );
m_tabACN_Ports = new ACNPortsTab( this );
m_tabWidget->addTab( m_tabACN_Ports, tr(PORTS_TAB.toAscii().data()) );
m_tabACN_AIP = new ACNAIPTab( m_pNode, m_pMainWin, this );
m_tabWidget->addTab( m_tabACN_AIP, tr("AIP") );
To copy to clipboard, switch view to plain text mode
I just noticed this. You create the m_TabACN* forms with this as parent ( meaning the dialog ). But the parent should be m_tabWidget, otherwise the dialog wil lsend all kinds of events to the forms. You should really modify this.
You can also try updatesEnabled( false ) on the forms after you create them . This wil make them not receive resize or paint events. You enable the updates just before making them visible.
Bookmarks