Source: /app/hbasic/hbasic/gui_db_access/report_field_designer.h


Annotated List
Files
Globals
Hierarchy
Index
/* **************************************************************************
 File: report_field_designer.h
 Desc: Dialog to create or edit report fields.
 ----------------------------------------------------------------------------
	copyright            : (C) 2001 HBasic project (Marcus Engels)
 ***************************************************************************/

/* **************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

/* ----------------------------------------------------------------------- */
/* Classlist: List of classes that will be defined in this source file.    */
/* ----------------------------------------------------------------------- */

/* ----------------------------------------------------------------------- */
/* Changelog: Description of important changes within this file.           */
/*            Please report with date, maintainer and change description.  */
/* ----------------------------------------------------------------------- */

#ifndef REPORT_FIELD_DESIGN_H
#define REPORT_FIELD_DESIGN_H

#include 
#include 

#include 

#include "../src/structs.h"
#include "../src/window_list.h"
#include "report_field_designer.h"

class QCheckBox;
class QComboBox;
class CReportDocument;
class QLineEdit;
class QListView;
class QMultiLineEdit;
class CSourceEditWidget;
class HBDbTable;
class HBReportElmt;

/**
 * @short Widget to select type of report field
 *
 * Class CReportFieldDesigner : Select type of report field.
 */

class CReportFieldDesigner : public QDialog
{
Q_OBJECT

public: 
	CReportFieldDesigner( CReportDocument *new_report_desc, HBReportElmt *rep, 
		HBDbTable *table_desc_ptr);
	~CReportFieldDesigner( void );
	CSourceEditData *edit_data;

private:
	QPushButton *btn_ok;
	QPushButton *btn_cancel;

	QLineEdit *le_field_name;
	CSourceEditWidget *edit_wgt;
	QComboBox *cb_field_icon;
	QCheckBox *cb_field_label;
	HBDbTable *table_desc_ptr;

	CReportDocument *rep_desc_ptr;
	void createDbList( void );
	void createFunList( void );

private slots:
	/* OK button clicked: close window */
	void slotOkSelected( void );
	void slotDbClicked( const QString & selected_item );
};

#endif



Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54.