return QtxAction::removeFrom( wid );
}
+/*!
+ Sets menu text of action
+ \param txt - new menu text
+*/
void QtxDockAction::setMenuText( const QString& txt )
{
if ( menuText() == txt )
delete objs;
}
+/*!
+ \return true if main window is parent of object
+ \param mw - main window
+ \param win - object
+*/
bool QtxDockAction::dockMainWindow( QMainWindow* mw, QObject* win ) const
{
if ( !mw || !win )
}
}
+/*!
+ Updates menu of action
+*/
void QtxDockAction::updateMenus()
{
for ( MenuMap::Iterator it = myMenu.begin(); it != myMenu.end(); ++it )