diff options
Diffstat (limited to 'kppp/newwidget.h')
-rw-r--r-- | kppp/newwidget.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kppp/newwidget.h b/kppp/newwidget.h new file mode 100644 index 00000000..52f2ec76 --- /dev/null +++ b/kppp/newwidget.h @@ -0,0 +1,19 @@ +///////////////////////////////////////////////////////////////////////////// +// +// functions generating layout-aware widgets +// +///////////////////////////////////////////////////////////////////////////// + +#ifndef __NEWWIDGET__H__ +#define __NEWWIDGET__H__ + +#include <qwidget.h> +#include <qlineedit.h> + +#define L_FIXEDW 1 +#define L_FIXEDH 2 +#define L_FIXED (L_FIXEDW | L_FIXEDH) + +QLineEdit *newLineEdit(int visiblewidth, QWidget *parent); + +#endif |