Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

hk_kdeinterpreterdialog Class Reference

KDE high level widget to define queries and see the result. More...

#include <hk_kdeinterpreterdialog.h>

Collaboration diagram for hk_kdeinterpreterdialog:

Collaboration graph
[legend]
List of all members.

Public Types

enum  DialogCode { Rejected, Accepted }

Public Slots

void savebutton_clicked (void)
void saveasbutton_clicked (void)
void print (void)

Public Member Functions

 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)

Protected Slots

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)

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
void keyPressEvent (QKeyEvent *e)
void setResult (int r)

Detailed Description

KDE high level widget to define queries and see the result.

Version:
Revision
1.6
Author:
Horst Knorr (hk_classes@knoda.org)
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.


Member Function Documentation

void hk_kdeinterpreterdialog::reject  )  [protected, virtual, slot]
 

Hides the modal dialog and sets the result code to Rejected.

See also:
accept() done()

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.


The documentation for this class was generated from the following files:
Generated on Tue Mar 22 23:28:19 2005 for Databasehandlingdialogclasses by  doxygen 1.4.1