kplato
kptprojectdialog.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KPTPROJECTDIALOG_H
00021 #define KPTPROJECTDIALOG_H
00022
00023 #include "kptresource.h"
00024 #include "kptprojectdialogbase.h"
00025
00026
00027 #include <kdialogbase.h>
00028
00029 #include <qstring.h>
00030
00031 namespace KPlato
00032 {
00033
00034 class Project;
00035 class ProjectDialogImpl;
00036 class ResourcesPanel;
00037
00038 class ProjectDialogImpl : public ProjectDialogBase {
00039 Q_OBJECT
00040 public:
00041 ProjectDialogImpl (QWidget *parent);
00042
00043 private slots:
00044 void slotCheckAllFieldsFilled();
00045 void slotSchedulingChanged(int activated);
00046 void slotChooseLeader();
00047
00048 signals:
00049 void obligatedFieldsFilled(bool yes);
00050 void schedulingTypeChanged(int activated);
00051 };
00052
00053 class ProjectDialog : public KDialogBase {
00054 Q_OBJECT
00055 public:
00056 ProjectDialog(Project &project, QWidget *parent=0,
00057 const char *name=0);
00058
00059
00060 protected slots:
00061 void slotOk();
00062 void slotSchedulingChanged(int activated);
00063
00064 private:
00065 Project &project;
00066 ProjectDialogImpl *dia;
00067 ResourcesPanel *resourcesTab;
00068 };
00069
00070 }
00071
00072 #endif // PROJECTDIALOG_H
|