blob: 8b96469fcd9ce1055ec3181cf175292ba449aaf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// helper macros for tqlayouting
#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
|