Canorus 0.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CAToolButtonPopup Class Reference

Container for tool button popup widgets. More...

#include <toolbuttonpopup.h>

Inheritance diagram for CAToolButtonPopup:
Inheritance graph
[legend]

Public Member Functions

 CAToolButtonPopup (QWidget *parent=0)
 
 ~CAToolButtonPopup ()
 
void setWidget (QWidget *w)
 
QWidget * widget ()
 
QSize sizeHint () const
 

Protected Member Functions

void mousePressEvent (QMouseEvent *e)
 

Protected Attributes

QWidget * _widget
 

Detailed Description

Container for tool button popup widgets.

Copyright (c) 2007, Itay Perl, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See COPYING for details.

Copyright (c) 2007, Itay Perl, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See COPYING for details.

This container sets the correct popup behavior for tool button floating widgets.

Constructor & Destructor Documentation

◆ CAToolButtonPopup()

CAToolButtonPopup::CAToolButtonPopup ( QWidget *  parent = 0)

◆ ~CAToolButtonPopup()

CAToolButtonPopup::~CAToolButtonPopup ( )
inline

Member Function Documentation

◆ mousePressEvent()

void CAToolButtonPopup::mousePressEvent ( QMouseEvent *  e)
protected

◆ setWidget()

void CAToolButtonPopup::setWidget ( QWidget *  w)
inline

References _widget.

Referenced by CAToolButton::setPopupWidget().

Here is the caller graph for this function:

◆ sizeHint()

QSize CAToolButtonPopup::sizeHint ( ) const
inline

References _widget.

Referenced by CAToolButton::showButtons().

Here is the caller graph for this function:

◆ widget()

QWidget * CAToolButtonPopup::widget ( )
inline

References _widget.

Member Data Documentation

◆ _widget

QWidget* CAToolButtonPopup::_widget
protected

Referenced by setWidget(), sizeHint(), and widget().


The documentation for this class was generated from the following files: