Mercurial > hg > easaier-soundaccess
view widgets/CriteriaDialog.h @ 268:ee047fc1a552
if no title is present in the results list, it is replace by "unknown"
when a new TIMELINE INFORMATION layer is loaded the sample rate is set up to the main model (WaveFileModel) sample rate.
author | lbajardsilogic |
---|---|
date | Wed, 25 Jun 2008 09:47:11 +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