34 #ifndef ANATOMIST_WINDOW_QWINBLOCK_H
35 #define ANATOMIST_WINDOW_QWINBLOCK_H
37 #include <qmainwindow.h>
49 Qt::WindowFlags f = Qt::Window,
50 int colsrows = 2,
bool inrows =
false );
void arrangeInRect(float widthHeightRatio=1.)
void setColsOrRows(bool inrows, int colsrows)
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 fal...
void setRectangularRatio()
virtual void dropEvent(QDropEvent *)
virtual void closeEvent(QCloseEvent *event)
virtual void dragEnterEvent(QDragEnterEvent *event)
void addWindowToBlock(QWidget *item)