1 #ifndef SETTINGSDIALOG_H
2 #define SETTINGSDIALOG_H
4 #include "trace_api.hpp"
5 #include "apitracefilter.h"
6 #include "ui_settings.h"
11 class SettingsDialog : public QDialog, public Ui_Settings
15 SettingsDialog(QWidget *parent = 0);
18 void setFilterModel(ApiTraceFilter *filter);
20 void changeRegexp(const QString &name);
21 void regexpChanged(const QString &pattern);
24 void filtersFromModel(const ApiTraceFilter *model);
25 void filtersToModel(ApiTraceFilter *model);
27 QMap<QString, QRegExp> m_showFilters;
28 ApiTraceFilter *m_filter;