KDE high level widget to define queries and see the result.
More...
#include <hk_kdeinterpreterdialog.h>
|
enum | DialogCode { Rejected,
Accepted
} |
|
|
void | print (void) |
|
void | undo (void) |
|
virtual void | help_clicked () |
|
|
| hk_kdeinterpreterdialog (QWidget *w=0, const char *n=0, WFlags f=0) |
|
void | set_autoclose (bool c) |
|
int | exec (int rownumber, const hk_string &warningmessage) |
|
int | result (void) |
|
hk_string | code () |
|
void | set_code (const hk_string &, bool has_changed=true) |
|
void | hide () |
|
bool | has_changed (void) |
|
void | set_caption (hk_visible *, const hk_string &action) |
|
|
virtual void | done (int) |
|
virtual void | accept () |
|
virtual void | reject () |
|
virtual void | select_all () |
|
virtual void | clear_selection () |
|
virtual void | toggle_insert () |
|
void | slot_has_changed (void) |
|
void | slot_undo_changed (void) |
|
|
virtual void | closeEvent (QCloseEvent *e) |
|
void | keyPressEvent (QKeyEvent *e) |
|
void | setResult (int r) |
|
KDE high level widget to define queries and see the result.
- Version
- Revision
- 1.10
- Author
- Horst Knorr (hk_cl.nosp@m.asse.nosp@m.s@kno.nosp@m.da.o.nosp@m.rg)
hk_kdeinterpreterdialog is a high level widget to define queries and see the result. In this mode of development it has a field to enter the SQL query and a grid which shows the resulting data if there is any. hk_kdeinterpreterdialog also handles actionqueries correctly.
◆ reject
void hk_kdeinterpreterdialog::reject |
( |
void |
| ) |
|
|
protectedvirtualslot |
Hides the modal dialog and sets the result code to Rejected
.
- See also
- accept() done()
Referenced by set_autoclose().
◆ set_autoclose()
void hk_kdeinterpreterdialog::set_autoclose |
( |
bool |
c | ) |
|
|
inline |
when the datasource vanishes (i.e. will be destroyed) and autoclose is true, the hk_kdeinterpreterdialog will be closed otherwise it still is on your screen.
References reject().
The documentation for this class was generated from the following files: