You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// helper macros for layouting
|
|
|
|
|
|
|
|
#ifndef __MACROS__H__
|
|
|
|
#define __MACROS__H__
|
|
|
|
|
|
|
|
#include <tqlayout.h>
|
|
|
|
|
|
|
|
#define MIN_WIDTH(w) w->setMinimumWidth(w->tqsizeHint().width());
|
|
|
|
#define MIN_HEIGHT(w) w->setMinimumHeight(w->tqsizeHint().height());
|
|
|
|
#define MIN_SIZE(w) w->setMinimumSize(w->tqsizeHint());
|
|
|
|
#define FIXED_SIZE(w) w->setFixedSize(w->tqsizeHint());
|
|
|
|
#define FIXED_WIDTH(w) w->setFixedWidth(w->tqsizeHint().width());
|
|
|
|
#define FIXED_HEIGHT(w) w->setFixedHeight(w->tqsizeHint().height());
|
|
|
|
|
|
|
|
#endif
|