view widgets/CriteriaDialog.h @ 145:e63e8272dcb0

the video size is updated automatically
author benoitrigolleau
date Tue, 13 Nov 2007 17:23:53 +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