3 #include <Device/Node/DeviceNode.hpp>
5 #include <Explorer/Explorer/ListeningManager.hpp>
7 #include <score/command/Dispatchers/CommandDispatcher.hpp>
8 #include <score/model/tree/TreePath.hpp>
16 class QContextMenuEvent;
17 class QProgressIndicator;
26 struct GUIApplicationContext;
30 class ProtocolFactoryList;
36 class ExplorerSearchLineEdit;
37 class AddressItemModel;
38 class ListeningHandler;
39 class DeviceEditDialog;
40 class DeviceExplorerFilterProxyModel;
41 class DeviceExplorerModel;
42 class DeviceExplorerView;
58 void setEditable(
bool);
60 QModelIndex sourceIndex(QModelIndex)
const;
61 QModelIndex proxyIndex(QModelIndex)
const;
67 QSize sizeHint()
const override;
76 void addAddress(InsertMode insertType);
88 void updateAddressView();
90 bool editable()
const noexcept;
96 void populateColumnCBox();
98 void contextMenuEvent(QContextMenuEvent* event)
override;
104 QPointer<DeviceEditDialog> m_deviceDialog{};
106 QTableView* m_addressView{};
108 QAction* m_disconnect{};
109 QAction* m_reconnect{};
111 QAction* m_editAction{};
112 QAction* m_refreshAction{};
113 QAction* m_refreshValueAction{};
114 QAction* m_addDeviceAction{};
115 QAction* m_addSiblingAction{};
116 QAction* m_addChildAction{};
117 QAction* m_exportDeviceAction{};
119 QAction* m_removeNodeAction{};
120 QAction* m_learnAction{};
121 QAction* m_findUsageAction{};
123 QComboBox* m_columnCBox{};
126 std::unique_ptr<CommandDispatcher<>> m_cmdDispatcher;
128 QProgressIndicator* m_refreshIndicator{};
129 QStackedLayout* m_lay{};
131 QToolButton* m_openMenu{};
133 std::unique_ptr<ListeningManager> m_listeningManager;
134 QMetaObject::Connection m_modelCon;
136 QMetaObject::Connection m_addressCon;
139 void findAddresses(QStringList strlst)
140 E_SIGNAL(SCORE_PLUGIN_DEVICEEXPLORER_EXPORT, findAddresses, strlst)
144 InsertMode insert, QModelIndex index,
Device::Node* parent,
148 SCORE_PLUGIN_DEVICEEXPLORER_EXPORT
Definition: ProtocolList.hpp:10
Displays an address.
Definition: AddressItemModel.hpp:34
Definition: DeviceExplorerFilterProxyModel.hpp:13
Definition: DeviceExplorerModel.hpp:67
Definition: DeviceExplorerView.hpp:18
Definition: DeviceExplorerWidget.cpp:114
Definition: ListeningManager.hpp:15
Manipulation of Devices from Qt.
Definition: AddressSettings.cpp:14
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: AddressSettings.hpp:49
Specializes ApplicationContext with the QMainWindow.
Definition: GUIApplicationContext.hpp:15