Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

hk_kdesimpleform Class Reference

KDE Widget to display forms. More...

#include <hk_kdesimpleform.h>

Inheritance diagram for hk_kdesimpleform:

hk_form hk_presentation List of all members.

Public Types

enum  enum_adjust {
  al, ar, at, ab,
  sminw, smaxw, sminh, smaxh,
  smaxs, smins
}

Public Slots

void set_field2create (enum_visibletype)
hk_kdeformfocus * formfocus (void) const
virtual void show_property (void)
void set_for_all (enum_bulkoperation)
void copy (void)
void paste (void)
void cut (void)
void adjust_widgets (enum_adjust)
void align_left (void)
void align_right (void)
void align_top (void)
void align_bottom (void)
void adjust_minw (void)
void adjust_maxw (void)
void adjust_minh (void)
void adjust_maxh (void)
void adjust_mins (void)
void adjust_maxs (void)
void delete_widgets (void)
void copy_widgets (void)
void paste_widgets (void)
void cut_widgets (void)
void enable_actions (void)
void grid_partinfocus (hk_kdegridpart *)
void grid_partoutfocus (hk_kdegridpart *, QFocusEvent *)
void dbdesignaction (void)
void designer_deleted (void)
void load_form (const hk_string &name="")
virtual bool show_asdialog (hk_form *parentform=NULL)
virtual int screen_width ()
virtual int screen_height ()

Signals

void mouseclick (const QPoint &)
void field_created (void)
void signal_closed (QWidget *)
void signal_focuswidget_changed (void)
void signal_has_changed (void)

Public Member Functions

 hk_kdesimpleform (QWidget *wid, const char *n=0, WFlags f=0)
virtual ~hk_kdesimpleform (void)
void set_autoclose (bool c)
virtual bool set_mode (enum_mode s)
hk_kdeproperty * propertyeditor (void)
hk_kdeformkdeform () const
hk_kdeformpartwidget * formpartwidget () const
void set_focus (QWidget *, bool control)
virtual void script_error (hk_visible *, hk_interpreter::enum_action)
KParts::PartManager * partsmanager () const
bool focus_multipleselected (void) const
virtual void reset_has_changed (void)
virtual void goto_taborder_next ()
virtual void goto_taborder_previous ()
virtual void goto_taborder_first ()
virtual void goto_taborder_last ()
virtual void set_focus (hk_visible *)
void hide ()
virtual void show_widget (void)
virtual void hide_widget (void)
virtual bool close_widget (void)
void set_create_with_label (bool)
bool create_with_label (void) const

Protected Slots

virtual void done (void)

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
virtual void focusInEvent (QFocusEvent *)
virtual void focusOutEvent (QFocusEvent *)
virtual void widget_specific_tooltip_changed (void)
virtual bool focusNextPrevChild (bool forward)
virtual void set_has_changed (enum_has_changed forcesetting=standard)
void set_kdeform (hk_kdeform *)
void set_formpartwidget (hk_kdeformpartwidget *)
void set_actions (KActionCollection *)
bool has_already_focus (QWidget *)
virtual bool widget_specific_coordinates (uint px, uint py, uint pwidth, uint pheight)
virtual hk_dsgridwidget_specific_new_grid (void)
virtual hk_dsrowselector * widget_specific_new_rowselector (void)
virtual hk_dslineedit * widget_specific_new_lineedit (void)
virtual hk_dsboolean * widget_specific_new_bool (void)
virtual hk_dsmemo * widget_specific_new_memo (void)
virtual hk_button * widget_specific_new_button (void)
virtual hk_dscombobox * widget_specific_new_combobox (void)
virtual hk_label * widget_specific_new_label (void)
virtual hk_subformwidget_specific_new_subform (void)
virtual void widget_specific_fieldresize (hk_visible *v)
virtual void widget_specific_presentationresize (void)
virtual void before_source_vanishes (void)
virtual void widget_specific_modechanges (enum_mode)
virtual void widget_specific_presentationdatasource (long)
virtual void widget_specific_after_loadform (void)
virtual void widget_specific_backgroundcolour_changed (const hk_colour &)
virtual void widget_specific_foregroundcolour_changed (const hk_colour &)
virtual hk_dsdate * widget_specific_new_date (void)
virtual hk_dsimage * widget_specific_new_image (void)
virtual hk_tabvisible * widget_specific_new_tabvisible (void)
virtual void widget_specific_enabled_changed (void)
virtual void database_has_vanished (void)
virtual void paintEvent (QPaintEvent *)
virtual void mousePressEvent (QMouseEvent *)
virtual void mouseReleaseEvent (QMouseEvent *)
virtual void mouseDoubleClickEvent (QMouseEvent *)
virtual void keyPressEvent (QKeyEvent *)
virtual void keyReleaseEvent (QKeyEvent *)
bool eventFilter (QObject *object, QEvent *event)
bool formeventFilter (QObject *object, QEvent *event)
void move_widgets (int xdiff, int ydiff)

Friends

class hk_kdeform
class hk_kdeformpartwidget

Detailed Description

KDE Widget to display forms.

Version:
Revision
1.54
Author:
Horst Knorr (hk_classes@knoda.org)
hk_kdesimpleform is a KDE widget to display and alter forms. Just set the database with hk_presentation::set_database. Load existing forms with hk_form::load_form. If hk_presentation::mode is set to 'view' the data will be shown. In mode 'design' you can design your widget. For interactive use it is better to use hk_kdeform because it provides toolbars.


Member Enumeration Documentation

enum hk_kdesimpleform::enum_adjust
 

Enumeration values:
al 
ar 
at 
ab 
sminw 
smaxw 
sminh 
smaxh 
smaxs 
smins 


Constructor & Destructor Documentation

hk_kdesimpleform::hk_kdesimpleform QWidget *  wid,
const char *  n = 0,
WFlags  f = 0
 

virtual hk_kdesimpleform::~hk_kdesimpleform void   )  [virtual]
 


Member Function Documentation

void hk_kdesimpleform::adjust_maxh void   )  [slot]
 

void hk_kdesimpleform::adjust_maxs void   )  [slot]
 

void hk_kdesimpleform::adjust_maxw void   )  [slot]
 

void hk_kdesimpleform::adjust_minh void   )  [slot]
 

void hk_kdesimpleform::adjust_mins void   )  [slot]
 

void hk_kdesimpleform::adjust_minw void   )  [slot]
 

void hk_kdesimpleform::adjust_widgets enum_adjust   )  [slot]
 

void hk_kdesimpleform::align_bottom void   )  [slot]
 

void hk_kdesimpleform::align_left void   )  [slot]
 

void hk_kdesimpleform::align_right void   )  [slot]
 

void hk_kdesimpleform::align_top void   )  [slot]
 

virtual void hk_kdesimpleform::before_source_vanishes void   )  [protected, virtual]
 

Reimplemented from hk_presentation.

virtual bool hk_kdesimpleform::close_widget void   )  [virtual]
 

virtual void hk_kdesimpleform::closeEvent QCloseEvent *  e  )  [protected, virtual]
 

void hk_kdesimpleform::copy void   )  [slot]
 

void hk_kdesimpleform::copy_widgets void   )  [slot]
 

bool hk_kdesimpleform::create_with_label void   )  const
 

void hk_kdesimpleform::cut void   )  [slot]
 

void hk_kdesimpleform::cut_widgets void   )  [slot]
 

virtual void hk_kdesimpleform::database_has_vanished void   )  [protected, virtual]
 

Reimplemented from hk_presentation.

void hk_kdesimpleform::dbdesignaction void   )  [slot]
 

void hk_kdesimpleform::delete_widgets void   )  [slot]
 

void hk_kdesimpleform::designer_deleted void   )  [slot]
 

virtual void hk_kdesimpleform::done void   )  [protected, virtual, slot]
 

void hk_kdesimpleform::enable_actions void   )  [slot]
 

bool hk_kdesimpleform::eventFilter QObject *  object,
QEvent *  event
[protected]
 

void hk_kdesimpleform::field_created void   )  [signal]
 

bool hk_kdesimpleform::focus_multipleselected void   )  const
 

virtual void hk_kdesimpleform::focusInEvent QFocusEvent *   )  [protected, virtual]
 

virtual bool hk_kdesimpleform::focusNextPrevChild bool  forward  )  [protected, virtual]
 

virtual void hk_kdesimpleform::focusOutEvent QFocusEvent *   )  [protected, virtual]
 

bool hk_kdesimpleform::formeventFilter QObject *  object,
QEvent *  event
[protected]
 

hk_kdeformfocus* hk_kdesimpleform::formfocus void   )  const [inline, slot]
 

hk_kdeformpartwidget* hk_kdesimpleform::formpartwidget  )  const
 

virtual void hk_kdesimpleform::goto_taborder_first  )  [virtual]
 

will move the the focus to the first widget (see set_taborder )

Reimplemented from hk_form.

virtual void hk_kdesimpleform::goto_taborder_last  )  [virtual]
 

will move the the focus to the last widget (see set_taborder )

Reimplemented from hk_form.

virtual void hk_kdesimpleform::goto_taborder_next  )  [virtual]
 

will move the the focus to the next widget (see set_taborder )

Reimplemented from hk_form.

virtual void hk_kdesimpleform::goto_taborder_previous  )  [virtual]
 

will move the the focus to the previous widget (see set_taborder )

Reimplemented from hk_form.

void hk_kdesimpleform::grid_partinfocus hk_kdegridpart *   )  [slot]
 

void hk_kdesimpleform::grid_partoutfocus hk_kdegridpart *  ,
QFocusEvent * 
[slot]
 

bool hk_kdesimpleform::has_already_focus QWidget *   )  [protected]
 

void hk_kdesimpleform::hide  ) 
 

virtual void hk_kdesimpleform::hide_widget void   )  [virtual]
 

hk_kdeform* hk_kdesimpleform::kdeform  )  const
 

virtual void hk_kdesimpleform::keyPressEvent QKeyEvent *   )  [protected, virtual]
 

virtual void hk_kdesimpleform::keyReleaseEvent QKeyEvent *   )  [protected, virtual]
 

void hk_kdesimpleform::load_form const hk_string name = ""  )  [slot]
 

load the form from a file

Parameters:
name the name of the file

Reimplemented from hk_form.

void hk_kdesimpleform::mouseclick const QPoint &   )  [signal]
 

virtual void hk_kdesimpleform::mouseDoubleClickEvent QMouseEvent *   )  [protected, virtual]
 

virtual void hk_kdesimpleform::mousePressEvent QMouseEvent *   )  [protected, virtual]
 

virtual void hk_kdesimpleform::mouseReleaseEvent QMouseEvent *   )  [protected, virtual]
 

void hk_kdesimpleform::move_widgets int  xdiff,
int  ydiff
[protected]
 

virtual void hk_kdesimpleform::paintEvent QPaintEvent *   )  [protected, virtual]
 

KParts::PartManager* hk_kdesimpleform::partsmanager  )  const [inline]
 

void hk_kdesimpleform::paste void   )  [slot]
 

void hk_kdesimpleform::paste_widgets void   )  [slot]
 

hk_kdeproperty* hk_kdesimpleform::propertyeditor void   ) 
 

virtual void hk_kdesimpleform::reset_has_changed void   )  [virtual]
 

virtual int hk_kdesimpleform::screen_height  )  [virtual, slot]
 

Reimplemented from hk_form.

virtual int hk_kdesimpleform::screen_width  )  [virtual, slot]
 

Reimplemented from hk_form.

virtual void hk_kdesimpleform::script_error hk_visible ,
hk_interpreter::enum_action 
[virtual]
 

Reimplemented from hk_presentation.

void hk_kdesimpleform::set_actions KActionCollection *   )  [protected]
 

void hk_kdesimpleform::set_autoclose bool  c  )  [inline]
 

if true the widget will be destroyed when the widget will be closed else just hidden

void hk_kdesimpleform::set_create_with_label bool   ) 
 

void hk_kdesimpleform::set_field2create enum_visibletype   )  [slot]
 

virtual void hk_kdesimpleform::set_focus hk_visible  )  [virtual]
 

will set the focus to the visible object

Reimplemented from hk_form.

void hk_kdesimpleform::set_focus QWidget *  ,
bool  control
 

void hk_kdesimpleform::set_for_all enum_bulkoperation   )  [slot]
 

void hk_kdesimpleform::set_formpartwidget hk_kdeformpartwidget *   )  [protected]
 

virtual void hk_kdesimpleform::set_has_changed enum_has_changed  forcesetting = standard  )  [protected, virtual]
 

void hk_kdesimpleform::set_kdeform hk_kdeform  )  [protected]
 

virtual bool hk_kdesimpleform::set_mode enum_mode  s  )  [virtual]
 

Reimplemented from hk_form.

virtual bool hk_kdesimpleform::show_asdialog hk_form parentform = NULL  )  [virtual, slot]
 

Reimplemented from hk_form.

virtual void hk_kdesimpleform::show_property void   )  [virtual, slot]
 

virtual void hk_kdesimpleform::show_widget void   )  [virtual]
 

void hk_kdesimpleform::signal_closed QWidget *   )  [signal]
 

void hk_kdesimpleform::signal_focuswidget_changed void   )  [signal]
 

void hk_kdesimpleform::signal_has_changed void   )  [signal]
 

virtual void hk_kdesimpleform::widget_specific_after_loadform void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual void hk_kdesimpleform::widget_specific_backgroundcolour_changed const hk_colour  )  [protected, virtual]
 

virtual bool hk_kdesimpleform::widget_specific_coordinates uint  px,
uint  py,
uint  pwidth,
uint  pheight
[protected, virtual]
 

virtual void hk_kdesimpleform::widget_specific_enabled_changed void   )  [protected, virtual]
 

virtual void hk_kdesimpleform::widget_specific_fieldresize hk_visible v  )  [protected, virtual]
 

Reimplemented from hk_form.

virtual void hk_kdesimpleform::widget_specific_foregroundcolour_changed const hk_colour  )  [protected, virtual]
 

virtual void hk_kdesimpleform::widget_specific_modechanges enum_mode   )  [protected, virtual]
 

virtual hk_dsboolean* hk_kdesimpleform::widget_specific_new_bool void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual hk_button* hk_kdesimpleform::widget_specific_new_button void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual hk_dscombobox* hk_kdesimpleform::widget_specific_new_combobox void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual hk_dsdate* hk_kdesimpleform::widget_specific_new_date void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual hk_dsgrid* hk_kdesimpleform::widget_specific_new_grid void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual hk_dsimage* hk_kdesimpleform::widget_specific_new_image void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual hk_label* hk_kdesimpleform::widget_specific_new_label void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual hk_dslineedit* hk_kdesimpleform::widget_specific_new_lineedit void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual hk_dsmemo* hk_kdesimpleform::widget_specific_new_memo void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual hk_dsrowselector* hk_kdesimpleform::widget_specific_new_rowselector void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual hk_subform* hk_kdesimpleform::widget_specific_new_subform void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual hk_tabvisible* hk_kdesimpleform::widget_specific_new_tabvisible void   )  [protected, virtual]
 

Reimplemented from hk_form.

virtual void hk_kdesimpleform::widget_specific_presentationdatasource long   )  [protected, virtual]
 

virtual void hk_kdesimpleform::widget_specific_presentationresize void   )  [protected, virtual]
 

Reimplemented from hk_presentation.

virtual void hk_kdesimpleform::widget_specific_tooltip_changed void   )  [protected, virtual]
 


Friends And Related Function Documentation

friend class hk_kdeform [friend]
 

friend class hk_kdeformpartwidget [friend]
 


The documentation for this class was generated from the following file:
Generated on Thu Mar 9 18:40:42 2006 for hk_classes by  doxygen 1.4.1