view widgets/CriteriaDialog.h @ 205:00cf9a7faa4d

add menu and shortcut to show/hide both ExpandWidget (layers and filters, search/info tab)
author lbajardsilogic
date Wed, 30 Jan 2008 10:20: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