Databasehandlingdialogclasses  0.5.3
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Static Protected Member Functions | Friends | List of all members
hk_kdequerypartwidget Class Reference

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

#include <hk_kdequerypartwidget.h>

Inheritance diagram for hk_kdequerypartwidget:
Inheritance graph
[legend]
Collaboration diagram for hk_kdequerypartwidget:
Collaboration graph
[legend]

Public Slots

void designbutton_clicked (void)
 
void querybutton_clicked (void)
 
void query_changed (void)
 
void savebutton_clicked (void)
 
void saveasbutton_clicked (void)
 
void close_query (void)
 
void reload_query (void)
 
void print (void)
 
void action_useqbe (void)
 
void copy_clicked (void)
 
void copybackendsql_clicked (void)
 
void paste_clicked (void)
 
void replace_clicked (void)
 
void find_clicked (void)
 
void findnext_clicked (void)
 
void findprevious_clicked (void)
 
void cut_clicked (void)
 
void undo_clicked (void)
 
void redo_clicked (void)
 
void selectall_clicked (void)
 
void configeditor_clicked (void)
 
void storeresult_clicked (void)
 
virtual void show ()
 
virtual void showMaximized ()
 

Signals

void signal_closed (QWidget *)
 
void signal_qbetypechanged (void)
 

Public Member Functions

virtual bool set_mode (enum_mode s)
 
bool in_designmode (void) const
 
virtual void set_datasource (hk_datasource *)
 
void set_autoclose (bool c)
 
bool autoclose (void) const
 
void set_nodesignmode (bool n)
 
bool save_query (const hk_string &n="", bool ask=true)
 
bool load_query (void)
 
hk_dsgrid * grid (void)
 
virtual hk_qbe * qbe (void)
 
hk_kdeqbekdeqbe (void) const
 
virtual void reset_has_changed (void)
 
virtual void show_widget (void)
 
virtual void hide_widget (void)
 
virtual bool close_widget (void)
 

Protected Slots

void qbe_has_changed (void)
 
void exec_cancelled (void)
 

Protected Member Functions

 hk_kdequerypartwidget (hk_kdequerypart *, QWidget *w=0, const char *n=0, WFlags f=0)
 
virtual void before_source_vanishes (void)
 
virtual void closeEvent (QCloseEvent *e)
 
void keyPressEvent (QKeyEvent *e)
 
virtual void set_has_changed (enum_has_changed forcesetting=standard)
 

Static Protected Member Functions

static bool set_progress (long int, long int, const hk_string &)
 

Friends

class hk_kdequerypart
 

Detailed Description

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

Version
Revision
1.13
Author
Horst Knorr (hk_cl.nosp@m.asse.nosp@m.s@kno.nosp@m.da.o.nosp@m.rg)

hk_kdequerypartwidget 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_kdequerypartwidget also handles actionqueries correctly.

Member Function Documentation

◆ in_designmode()

bool hk_kdequerypartwidget::in_designmode ( void  ) const

returns true if the sqlwindow or the qbe window is shown. Else returns false (when the result data is shown)

◆ set_autoclose()

void hk_kdequerypartwidget::set_autoclose ( bool  c)

when the datasource vanishes (i.e. will be destroyed) and autoclose is true, the hk_kdequerypartwidget will be closed otherwise it still is on your screen.

◆ set_nodesignmode()

void hk_kdequerypartwidget::set_nodesignmode ( bool  n)

if the designwindow should not be shown set this true. Default is false.


The documentation for this class was generated from the following files: