Source: /app/hbasic/hbasic/libdesc/component_editor.h
|
|
|
|
#ifndef COMP_EDITOR_H
#define COMP_EDITOR_H
#include
class QLineEdit;
class QPushButton;
class QString;
class QCheckBox;
class QRadioButton;
class QButtonGroup;
class CComponentDesc;
class QLineEdit;
class QListView;
class QListViewItem;
class QComboBox;
class QGroupBox;
class ComponentEditor : public QDialog
{
Q_OBJECT
public:
ComponentEditor( char *new_lib_name, CComponentDesc *new_comp_entry );
QLineEdit *le_component_name;
QLineEdit *le_component_desc;
QLineEdit *le_component_exit;
QPushButton *btn_sel_exit;
QLineEdit *le_qt_component;
QLineEdit *le_default_event;
QLineEdit *le_default_property;
QLineEdit *le_default_method;
QPushButton *btn_sel_icon;
QPushButton *btn_del_icon;
QString *icon_file;
short component_flags;
long icon_length;
void *icon_data;
void setFlags( void );
void showIcon( void );
QLineEdit *le_parameter;
QLineEdit *le_method_call;
QPushButton *btn_sel_call;
private:
QPushButton *btn_ok;
QPushButton *btn_add;
QPushButton *btn_del;
QString library_name;
QGroupBox *gb_parameter;
/* List of parameters for method call */
QListView *lv_parameter;
QListViewItem *selected_par;
/* Name of parameter */
QLineEdit *le_par_name;
/* Docid for component description */
QLineEdit *le_docid;
void insertTypeEntries( QComboBox *cb_ptr );
short getTypeId( QString type_name );
void setParameter( void );
CComponentDesc *comp_entry;
QPushButton *btn_cancel;
QCheckBox *cb_dbserv;
QCheckBox *cb_dbitem;
QPushButton *icon_widget;
QButtonGroup *bg_component_type;
QButtonGroup *bg_db_access;
QButtonGroup *bg_comp_icon;
QButtonGroup *bg_default_values;
QRadioButton *rb_qtwidget;
QRadioButton *rb_qtobject;
private slots:
void slotOk( void );
void slotSelIcon( void );
void slotDelIcon( void );
void slotSelInit( void );
void slotSelExit( void );
void slotSelCall( void );
void slotDelPar( void );
void slotAddPar( void );
void slotParnameChanged( const QString &new_text );
void slotSymbolChanged( const QString &new_text );
void slotParClicked( QListViewItem *selected_item );
};
#endif
Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54. |