Source: /app/hbasic/hbasic/dialogs/dlg_project_options.h
|
|
|
|
/* **************************************************************************
File: dlg_project_options.h
Desc: Window to ask the user what project type 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 CDlgProjectType : 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 PROJECT_OPTIONS_H
#define PROJECT_OPTIONS_H
#include
#include
class QLabel;
class QPushButton;
class QRadioButton;
class QButtonGroup;
class QCheckBox;
class CProject;
class QLineEdit;
class QString;
class Cproject;
/**
CDlgProjectType : class that displays window to ask the user which new
project type should be generated.
*/
class CDlgProjectOptions : public QDialog
{
Q_OBJECT
public:
CDlgProjectOptions( QWidget *parent, CProject *project_ptr );
private:
QButtonGroup *bg_common;
QButtonGroup *bg_compiler;
QButtonGroup *bg_libraries;
QButtonGroup *bg_indent;
QLineEdit *le_comp_name;
QLineEdit *le_comp_path;
QLineEdit *le_comp_options;
QLineEdit *le_prj_name;
QLineEdit *le_prj_path;
QLineEdit *le_ind_space;
QRadioButton *rb_ind_none;
QRadioButton *rb_ind_same;
QRadioButton *rb_ind_check;
QCheckBox *cb_include_qtc;
QCheckBox *cb_include_net;
QCheckBox *cb_mdi_window;
QLabel *header_label;
QPushButton* btn_ok;
CProject *my_project;
private slots:
void slotPrjNameChanged( const QString &new_text );
void slotPrjPathChanged( const QString &new_text );
void slotCompNameChanged( const QString &new_text );
void slotCompPathChanged( const QString &new_text );
void slotIndSpaceChanged( const QString &new_text );
void slotCompOptionsChanged( const QString &new_text );
void slotQtcIncludeToggled( bool new_value );
void slotNetIncludeToggled( bool new_value );
void slotIndSameToggled( bool new_value );
void slotIndCheckToggled( bool new_value );
void slotIndNoneToggled( bool new_value );
void slotMdiWindowToggled( bool new_value );
};
#endif
Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54. |