29 |
#ifndef PG_LINEEDIT |
#ifndef PG_LINEEDIT |
30 |
#define PG_LINEEDIT |
#define PG_LINEEDIT |
31 |
|
|
|
#ifdef SWIG |
|
|
%include "swigcommon.h" |
|
|
%module pglineedit |
|
|
%{ |
|
|
#include "pglineedit.h" |
|
|
%} |
|
|
#endif |
|
|
|
|
32 |
#include "pgthemewidget.h" |
#include "pgthemewidget.h" |
33 |
#include "pgsignals.h" |
#include "pgsignals.h" |
34 |
#include <string> |
#include <string> |
62 |
|
|
63 |
void LoadThemeStyle(const char* widgettype); |
void LoadThemeStyle(const char* widgettype); |
64 |
|
|
|
#ifndef SWIG |
|
65 |
/** */ |
/** */ |
66 |
void LoadThemeStyle(const char* widgettype, const char* objectname); |
void LoadThemeStyle(const char* widgettype, const char* objectname); |
|
#endif |
|
67 |
|
|
68 |
/** start edit */ |
/** start edit */ |
69 |
void EditBegin(); |
void EditBegin(); |
134 |
*/ |
*/ |
135 |
char GetPassHidden(void); |
char GetPassHidden(void); |
136 |
|
|
137 |
bool Action(PG_ACTION action); |
bool Action(KeyAction action); |
138 |
|
|
139 |
SignalEditBegin<> sigEditBegin; |
SignalEditBegin<> sigEditBegin; |
140 |
SignalEditEnd<> sigEditEnd; |
SignalEditEnd<> sigEditEnd; |
187 |
int my_cursorPosition; |
int my_cursorPosition; |
188 |
|
|
189 |
private: |
private: |
|
#ifndef SWIG |
|
190 |
|
|
191 |
PG_LineEdit(const PG_LineEdit&); |
PG_LineEdit(const PG_LineEdit&); |
192 |
PG_LineEdit& operator=(PG_LineEdit&); |
PG_LineEdit& operator=(PG_LineEdit&); |
|
#endif |
|
193 |
|
|
194 |
void DrawText(const PG_Rect& dst); |
void DrawText(const PG_Rect& dst); |
195 |
void DrawTextCursor(); |
void DrawTextCursor(); |