Source: /app/hbasic/hbasic/dialogs/dlg_new_struct.h


Annotated List
Files
Globals
Hierarchy
Index
/* **************************************************************************
 File: newform.h
 Desc: Window to ask the user what component should be generated.
 ----------------------------------------------------------------------------
	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.    */
/* ----------------------------------------------------------------------- */

/**
   class NewForm : widget to get component that should be created. 
*/

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

#ifndef NEWFORM_H
#define NEWFORM_H

#include 
#include 

class QVBoxLayout; 
class QHBoxLayout; 
class QGridLayout; 
class QIconView;
class QIconViewItem;
class QLabel;
class QPushButton;

/**
  NewForm : class that displays window to ask the user which new 
     component should be generated. 
*/

class NewForm : public QDialog
{ 
    Q_OBJECT

public:
    enum Form 
    {
	FTypeNone,
	FTypeProject,
	FTypeForm,
	FTypeCsSource,
	FTypePerlSource,
	FTypeTable,
	FTypeTableWizard,
	FTypeQuery,
	FTypeReport,
	FTypeIcon,
	FTypeDatabase,
	FTypeSQLStmt,
	FTypeCalcSheet
    };

    NewForm( QWidget *parent );
    Form formType() const;

private:
    QString templPath;
    
    QLabel* Label1;
    QIconView* templateView;
    QPushButton* buttonOk;
    QPushButton* buttonCancel;

protected:
    QHBoxLayout* hbox;
    QVBoxLayout* vbox;
};

#endif // NEWFORM_H


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