Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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)
 
QWidgetwidget ()
 
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 ( QWidget parent = 0)
CAToolButtonPopup::~CAToolButtonPopup ( )
inline

Member Function Documentation

void CAToolButtonPopup::mousePressEvent ( QMouseEvent *  e)
protected
void CAToolButtonPopup::setWidget ( QWidget w)
inline

References _widget.

Referenced by CAToolButton::setPopupWidget().

Here is the caller graph for this function:

QSize CAToolButtonPopup::sizeHint ( ) const
inline

References _widget.

Referenced by CAToolButton::showButtons().

Here is the caller graph for this function:

QWidget* CAToolButtonPopup::widget ( )
inline

References _widget.

Member Data Documentation

QWidget* CAToolButtonPopup::_widget
protected

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


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