Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QtxMainWindow::Resizer Class Reference

Internal object used to resize dock widgets. More...

Inheritance diagram for QtxMainWindow::Resizer:
Inheritance graph

Public Member Functions

 Resizer (const QPoint &, const Qt::Orientation, QtxMainWindow *)
 Constructor. More...
 
virtual ~Resizer ()
 Destructor. More...
 
QMouseEvent * finalEvent () const
 
void setFinalEvent (QMouseEvent *)
 
void setPosition (const QPoint &)
 
virtual bool eventFilter (QObject *, QEvent *)
 Event filter. More...
 

Private Member Functions

void setFilters (bool)
 

Private Attributes

QPoint myPos
 
QMainWindowmyMain
 
QRubberBand * myRubber
 
Qt::Orientation myOrient
 
QMouseEvent * myFinEvent
 

Detailed Description

Constructor & Destructor Documentation

QtxMainWindow::Resizer::Resizer ( const QPoint &  p,
const Qt::Orientation  o,
QtxMainWindow mw 
)
Parameters
mwparent main window

References myRubber, setFilters(), and setPosition().

QtxMainWindow::Resizer::~Resizer ( )
virtual

Member Function Documentation

bool QtxMainWindow::Resizer::eventFilter ( QObject o,
QEvent e 
)
virtual
Parameters
orecevier object
eevent
QMouseEvent * QtxMainWindow::Resizer::finalEvent ( ) const
void QtxMainWindow::Resizer::setFilters ( bool  on)
private
void QtxMainWindow::Resizer::setFinalEvent ( QMouseEvent *  e)
void QtxMainWindow::Resizer::setPosition ( const QPoint &  pos)

References Horizontal.

Member Data Documentation

QMouseEvent* QtxMainWindow::Resizer::myFinEvent
private
QMainWindow* QtxMainWindow::Resizer::myMain
private
Qt::Orientation QtxMainWindow::Resizer::myOrient
private
QPoint QtxMainWindow::Resizer::myPos
private
QRubberBand* QtxMainWindow::Resizer::myRubber
private

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