view widgets/CriteriaDialog.h @ 115:1ae07a8c28a0

(none)
author benoitrigolleau
date Thu, 20 Sep 2007 09:16:41 +0000
parents c107866fd387
children
line wrap: on
line source
 #ifndef CRITERIA_DIALOG_H
 #define CRITERIA_DIALOG_H

#include <QDialog>
#include <QCheckBox>
#include <QDialogButtonBox>
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>

 class CriteriaDialog : public QDialog
 {
     Q_OBJECT

 public:
     CriteriaDialog(QWidget *parent = 0);
	 void setLocation(int x, int y);
	 void setOpacity(qreal value);
	 void addCriteria(QString name);
	 QVector<QString> result();

 private:
     QLabel *m_labelTitle;
     QDialogButtonBox *m_buttonBox;
	 QPushButton *m_buttonOK;
	 QPushButton *m_buttonCancel;
	 QVBoxLayout *m_layoutForCheckBoxs;
 };

 #endif