1 | ///////////////////////////////////////////////////////////////////////////// |
---|---|
2 | // |
3 | // functions generating layout-aware widgets |
4 | // |
5 | ///////////////////////////////////////////////////////////////////////////// |
6 | |
7 | #ifndef __NEWWIDGET__H__ |
8 | #define __NEWWIDGET__H__ |
9 | |
10 | #include <qwidget.h> |
11 | #include <qlineedit.h> |
12 | |
13 | #define L_FIXEDW 1 |
14 | #define L_FIXEDH 2 |
15 | #define L_FIXED (L_FIXEDW | L_FIXEDH) |
16 | |
17 | QLineEdit *newLineEdit(int visiblewidth, QWidget *parent); |
18 | |
19 | #endif |
20 |