<folderInfo id="cdt.managedbuild.toolchain.gnu.base.1899820145.806943159" name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.base.1889138318" name="cdt.managedbuild.toolchain.gnu.base" superClass="cdt.managedbuild.toolchain.gnu.base">
<targetPlatform archList="all" binaryParser="" id="cdt.managedbuild.target.gnu.platform.base.2059218063" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
- <builder arguments="suit-build.py" buildPath="${workspace_loc}/bop.build/suit-build/v5.1.21.local" command="python" id="cdt.managedbuild.target.gnu.builder.base.1637449156" incrementalBuildTarget="" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
+ <builder arguments="suit-build.py" buildPath="${workspace_loc}/bop.build/suit-build/v5.2.0" command="python" id="cdt.managedbuild.target.gnu.builder.base.1637449156" incrementalBuildTarget="" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
<tool id="cdt.managedbuild.tool.gnu.archiver.base.916379429" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1605378749" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
<option id="gnu.cpp.compiler.option.include.paths.1471093851" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
{
}
-/*!
- Protected virtual method called by onSettings() slot,
- can be redefined to customize the dialog box appearance.
- \param theDlg a pointer to the 2D plot settings dialog box instance
- \sa onSettings()
-*/
-void Plot2d_ViewFrame::setupSettingsDlg( Plot2d_SetupViewDlg* /*theDlg*/ )
-{
-}
-
/*!
"Settings" toolbar action slot
*/
virtual bool eventFilter( QObject*, QEvent* );
+ public:
+
protected:
virtual QWidget* createWidget( QWidget* );
virtual void deleteWidget( QWidget* );
*/
QWidget* QtxMenu::Expander::createWidget( QWidget* parent )
{
- class Button : public QToolButton
- {
- public:
- Button( QWidget* p = 0 ) : QToolButton( p ) {};
- virtual ~Button() {};
-
- protected:
- virtual void resizeEvent( QResizeEvent* e )
- {
- QToolButton::resizeEvent( e );
- /*
- QPixmap pix( size() );
- QPainter p( &pix );
- icon().paint( &p, rect() );
- p.end();
-
- if ( pix.mask().isNull() )
- {
- QBitmap bm;
- QImage img = pix.toImage();
- if ( img.hasAlphaChannel() )
- bm = QPixmap::fromImage( img.createAlphaMask() );
- else
- bm = QPixmap::fromImage( img.createHeuristicMask() );
-
- pix.setMask( bm );
- }
-
- if ( !pix.mask().isNull() )
- setMask( pix.mask() );
- */
- };
- };
QToolButton* tb = new QToolButton( parent );
QPixmap pix( expand_button_xpm );
tb->setIcon( pix );
tb->setAutoRaise( true );
tb->installEventFilter( this );
-
+ // added by AVO 2012.08.09 to hide expand button shown in menu if Expander is not added
+ tb->setVisible(false);
connect( tb, SIGNAL( clicked( bool ) ), this, SIGNAL( triggered( bool ) ) );
return tb;
if ( menuCollapsible() == on )
return;
- if ( on )
+ if ( on ) {
myExpandAction = new Expander( this );
- else
- {
+ // myExpandAction->setVisible(false);
+ } else {
if ( isMenuCollapsed() )
expandMenu();
void QtxMenu::onActionHovered( QAction* a )
{
if ( a == myExpandAction ) {
+ QtxMenu::Expander* savedExpAction = myExpandAction;
+ myExpandAction = NULL;
setActiveAction( myExpandAction );
+ myExpandAction = savedExpAction;
+
if ( expandingDelay() )
myShortTimer->start();
}