Logo Search packages:      
Sourcecode: qstardict version File versions  Download package

QStarDict::ResizablePopup Class Reference

#include <resizablepopup.h>

Inheritance diagram for QStarDict::ResizablePopup:

QStarDict::PopupWindow

List of all members.


Detailed Description

The ResizablePopup widget is a resizable top-level window without decorations.

Definition at line 36 of file resizablepopup.h.


Public Slots

void popup ()
void setDefaultSize (const QSize &defaultSize)
void setTimeoutBeforeHide (int timeoutBeforeHide)

Public Member Functions

const QSize & defaultSize () const
 ResizablePopup (QWidget *parent=0)
int timeoutBeforeHide () const

Protected Member Functions

void enterEvent (QEvent *)
bool event (QEvent *event)
void leaveEvent (QEvent *)
void mouseDoubleClickEvent (QMouseEvent *)
void mouseMoveEvent (QMouseEvent *)
void mousePressEvent (QMouseEvent *)
void mouseReleaseEvent (QMouseEvent *)
void timerEvent (QTimerEvent *)

Private Types

enum  ResizeDirection {
  None, Top, Bottom, Left,
  Right, TopLeft, TopRight, BottomLeft,
  BottomRight
}

Private Member Functions

void doResize ()
void stopResize ()

Private Attributes

QSize m_defaultSize
bool m_isMoving
bool m_isPopuped
QPoint m_oldCursorPos
ResizeDirection m_resizeDirection
int m_timeoutBeforeHide
int m_timerCloseId
int m_timerResizeId

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

Generated by  Doxygen 1.6.0   Back to index