52 #ifndef DIALOGMDATABASE_H
53 #define DIALOGMDATABASE_H
59 class DialogMDataBase;
62 class QTreeWidgetItem;
76 static QString
imageUrl(
const QString &number);
79 virtual void changeEvent(QEvent* event) Q_DECL_OVERRIDE;
80 virtual bool eventFilter(QObject *target, QEvent *event) Q_DECL_OVERRIDE;
132 void initGroup(QTreeWidgetItem **group, const QString &groupName, const QStringList &groupList,
133 const QStringList &measurementList = QStringList());
137 void addMeasurement(QTreeWidgetItem *group, const QString &groupName,
143 void filterGroup(QTreeWidgetItem *group, const QString &searchString);
void addMeasurement(QTreeWidgetItem *group, const QString &groupName, const QStringList &newMeasurements)
void filterGroup(QTreeWidgetItem *group, const QString &searchString)
void updateChecks(QTreeWidgetItem *item, int column)
QStringList getNewMeasurementNames() const
void initDataBase(const QStringList &measurements=QStringList())
virtual bool eventFilter(QObject *target, QEvent *event) Q_DECL_OVERRIDE
Qt::CheckState globalCheckState() const
Q_REQUIRED_RESULT QTreeWidgetItem * addMeasurementGroup(const QString &text)
void changeCheckState(QTreeWidgetItem *group, Qt::CheckState state)
MeasurementDatabaseDialog(const QStringList &measurements, QWidget *parent=nullptr)
void treeContextMenu(const QPoint &pos)
void retranslateMeasurement(QTreeWidgetItem *group, int index, const QString &name)
void retranslateGroup(QTreeWidgetItem *group, const QString &groupName, const QStringList &measurements)
QStringList newMeasurements
virtual void changeEvent(QEvent *event) Q_DECL_OVERRIDE
virtual ~MeasurementDatabaseDialog() Q_DECL_OVERRIDE
void showDescription(QTreeWidgetItem *item, int column)
void filterGroups(const QString searchString)
void initGroup(QTreeWidgetItem **group, const QString &groupName, const QStringList &groupList, const QStringList &measurementList=QStringList())
static QString imageUrl(const QString &number)