itom  4.1.0
BasePopupWidgetPrivate Class Reference
Inheritance diagram for BasePopupWidgetPrivate:
PopupWidgetPrivate

Public Member Functions

 BasePopupWidgetPrivate (BasePopupWidget &object)
 
virtual void init ()
 
bool isOpening () const
 
bool isClosing () const
 
bool wasClosing () const
 
bool fitBaseWidgetSize () const
 
Qt::Alignment pixmapAlignment () const
 
void setupPopupPixmapWidget ()
 
QWidgetList focusWidgets (bool onlyVisible=false) const
 
virtual QWidget * mouseOver ()
 
bool isAncestorOf (const QWidget *ancestor, const QWidget *child) const
 
QRect closedGeometry () const
 Return the closed geometry for the popup based on the current geometry.
 
QRect closedGeometry (QRect openGeom) const
 Return the closed geometry for a given open geometry.
 
QRect desiredOpenGeometry () const
 
QRect desiredOpenGeometry (QRect baseGeometry) const
 
QRect baseGeometry () const
 
QPoint mapToGlobal (const QPoint &baseWidgetPoint) const
 
QPropertyAnimation * currentAnimation () const
 
void hideAll ()
 

Protected Attributes

BasePopupWidget *const q_ptr
 
QPointer< QWidget > BaseWidget
 
double EffectAlpha
 
BasePopupWidget::AnimationEffect Effect
 
int EffectDuration
 
QPropertyAnimation * AlphaAnimation
 
bool ForcedTranslucent
 
QPropertyAnimation * ScrollAnimation
 
QLabel * PopupPixmapWidget
 
Qt::Alignment Alignment
 
Qt::Orientations Orientations
 
BasePopupWidget::VerticalDirection VerticalDirection
 
Qt::LayoutDirection HorizontalDirection
 

Private Member Functions

 Q_DECLARE_PUBLIC (BasePopupWidget)
 

Member Function Documentation

QRect BasePopupWidgetPrivate::desiredOpenGeometry ( ) const

Return the desired geometry, maybe it won't happen if the size is too small for the popup.

bool BasePopupWidgetPrivate::wasClosing ( ) const

Return true if the animation was closing (direction == backward). It doesn't indicate if the action is still running or finished. Can only be called in a slot as it uses sender().


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