Loading...
Searching...
No Matches
DeviceCompleter.hpp
1#pragma once
2#include <QCompleter>
3#include <QString>
4#include <QStringList>
5
6#include <score_lib_device_export.h>
7
8class QModelIndex;
9class QObject;
10namespace Device
11{
12class NodeBasedItemModel;
13}
14namespace Device
15{
16
24class SCORE_LIB_DEVICE_EXPORT DeviceCompleter final : public QCompleter
25{
26public:
27 DeviceCompleter(Device::NodeBasedItemModel& model, QObject* parent);
28
29 QString pathFromIndex(const QModelIndex& index) const override;
30 QStringList splitPath(const QString& path) const override;
31};
32}
The DeviceCompleter class.
Definition DeviceCompleter.hpp:25
Definition NodeBasedItemModel.hpp:18
Manipulation of Devices from Qt.
Definition AddressSettings.cpp:14