anatomist  5.1.2
3D neuroimaging data viewer
QAWindowBlock Class Reference

#include <anatomist/window/qwinblock.h>

Inheritance diagram for QAWindowBlock:
Collaboration diagram for QAWindowBlock:

Public Slots

void layInColumns ()
 
void layInRows ()
 
void layInRectangle ()
 
void setColumnsNumber ()
 
void setRowsNumber ()
 
void setRectangularRatio ()
 

Public Member Functions

 QAWindowBlock (QWidget *parent=0, const char *name=0, Qt::WindowFlags f=Qt::Window, int colsrows=2, bool inrows=false)
 colsrows is either the number of columns (if inrows is true), or the number of rows (if inrows is false). More...
 
virtual ~QAWindowBlock ()
 
void addWindowToBlock (QWidget *item)
 
void setColsOrRows (bool inrows, int colsrows)
 
void arrangeInRect (float widthHeightRatio=1.)
 

Protected Member Functions

virtual void dragEnterEvent (QDragEnterEvent *event)
 
virtual void dropEvent (QDropEvent *)
 
virtual void closeEvent (QCloseEvent *event)
 

Detailed Description

Definition at line 40 of file qwinblock.h.

Constructor & Destructor Documentation

◆ QAWindowBlock()

QAWindowBlock::QAWindowBlock ( QWidget *  parent = 0,
const char *  name = 0,
Qt::WindowFlags  f = Qt::Window,
int  colsrows = 2,
bool  inrows = false 
)

colsrows is either the number of columns (if inrows is true), or the number of rows (if inrows is false).

◆ ~QAWindowBlock()

virtual QAWindowBlock::~QAWindowBlock ( )
virtual

Member Function Documentation

◆ addWindowToBlock()

void QAWindowBlock::addWindowToBlock ( QWidget *  item)

◆ arrangeInRect()

void QAWindowBlock::arrangeInRect ( float  widthHeightRatio = 1.)

References slots.

◆ closeEvent()

virtual void QAWindowBlock::closeEvent ( QCloseEvent *  event)
protectedvirtual

◆ dragEnterEvent()

virtual void QAWindowBlock::dragEnterEvent ( QDragEnterEvent *  event)
protectedvirtual

◆ dropEvent()

virtual void QAWindowBlock::dropEvent ( QDropEvent *  )
protectedvirtual

◆ layInColumns

void QAWindowBlock::layInColumns ( )
slot

◆ layInRectangle

void QAWindowBlock::layInRectangle ( )
slot

◆ layInRows

void QAWindowBlock::layInRows ( )
slot

◆ setColsOrRows()

void QAWindowBlock::setColsOrRows ( bool  inrows,
int  colsrows 
)

◆ setColumnsNumber

void QAWindowBlock::setColumnsNumber ( )
slot

◆ setRectangularRatio

void QAWindowBlock::setRectangularRatio ( )
slot

◆ setRowsNumber

void QAWindowBlock::setRowsNumber ( )
slot

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