CEDRIC  Revision_backup-2009-02
NewGroupDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Copyright (C) 2008 Boris Iven, Max Hermann
4  *
5  * This file is part of the "CEDRIC Event Display" application.
6  *
7  *****************************************************************************/
8 
9 #ifndef NEWGROUPDIALOG_H_
10 #define NEWGROUPDIALOG_H_
11 
12 #include <QDialog>
13 
14 class QLabel;
15 class QLineEdit;
16 class QPushButton;
17 
18 class NewGroupDialog : public QDialog
19 {
20  Q_OBJECT;
21 
22 public:
23 
24  NewGroupDialog(QWidget* parent = 0);
25  QString getText();
26 
27 private slots:
28 
29  void enableCreateButton(const QString& text);
30 
31 private:
32  QLabel* label;
33  QLineEdit* lineEdit;
34  QPushButton* createButton;
35  QPushButton* cancelButton;
36 
37 
38 };
39 
40 #endif /*NEWGROUPDIALOG_H_*/
NewGroupDialog(QWidget *parent=0)
Definition: NewGroupDialog.cpp:13
QString getText()
Definition: NewGroupDialog.cpp:57
Definition: NewGroupDialog.h:18