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

KDE high level widget to display and design modules. More...

#include <hk_kdemodule.h>

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

Signals

void signal_closed (QWidget *)
 

Public Member Functions

 hk_kdemodule (QWidget *parent=0, const char *name=0, WFlags fl=0)
 
void set_database (hk_database *db)
 
hk_database * database (void)
 
void loaddata (xmlNodePtr)
 
void savedata (ofstream &s)
 
void load_module (const hk_string &n)
 
void set_autoclose (bool c)
 

Protected Slots

void part_removed (void)
 
void close_module (void)
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
 
virtual void mousePressEvent (QMouseEvent *)
 
void save_module_when_changed ()
 

Protected Attributes

KAction * p_closeaction
 

Friends

class hk_kdesimplemodule
 

Detailed Description

KDE high level widget to display and design modules.

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

this is a high level widget to display and design modules. It hereby uses hk_kdesimplemodule. To use it set the database with set_database. If you want to show or edit an existing module load it with load_module.

Member Function Documentation

◆ set_autoclose()

void hk_kdemodule::set_autoclose ( bool  c)

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

◆ signal_closed

void hk_kdemodule::signal_closed ( QWidget *  )
signal

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


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