Main Page | Class Hierarchy | Class List | Directories | File List | Class 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]
List of all members.

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 print (void)
void action_useqbe (void)
void copy_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)
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)
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_kdeqbe * kdeqbe (void) const
virtual void reset_has_changed (void)

Protected Slots

void qbe_has_changed (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)

Friends

class hk_kdequerypart

Detailed Description

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

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

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)

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.

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:
Generated on Tue Mar 22 23:28:19 2005 for Databasehandlingdialogclasses by  doxygen 1.4.1