7#include <QtWidgets/QWidget>
8#include <QtDBus/QDBusConnection>
9#include <QtCore/QRegularExpression>
14QT_FORWARD_DECLARE_CLASS(QTreeView)
15QT_FORWARD_DECLARE_CLASS(QTreeWidget)
16QT_FORWARD_DECLARE_CLASS(QStringListModel)
17QT_FORWARD_DECLARE_CLASS(QLineEdit)
18QT_FORWARD_DECLARE_CLASS(QTextBrowser)
19QT_FORWARD_DECLARE_CLASS(QDomDocument)
20QT_FORWARD_DECLARE_CLASS(QDomElement)
21QT_FORWARD_DECLARE_CLASS(QSplitter)
22QT_FORWARD_DECLARE_CLASS(QSettings)
26 QString mService, mPath, mInterface, mName;
36 void saveState(QSettings *settings)
const;
44 void showContextMenu(
const QPoint &);
45 void connectionRequested(
const BusSignature &sig);
46 void callMethod(
const BusSignature &sig);
47 void getProperty(
const BusSignature &sig);
48 void setProperty(
const BusSignature &sig);
49 void dumpMessage(
const QDBusMessage &msg);
50 void dumpError(
const QDBusError &error);
51 void refreshChildren();
53 void serviceOwnerChanged(
const QString &name,
const QString &oldOwner,
const QString &newOwner);
55 void serviceFilterReturnPressed();
56 void activate(
const QModelIndex &item);
58 void logError(
const QString &msg);
59 void anchorClicked(
const QUrl &url);
62 void serviceRegistered(
const QString &service);
63 void logMessage(
const QString &msg);
65 bool eventFilter(QObject *obj, QEvent *event)
override;
68 QString currentService;
70 QAction *refreshAction;
71 QStringListModel *servicesModel;
73 QLineEdit *serviceFilterLine;
74 QTableView *servicesView;
76 QSplitter *topSplitter;
78 QRegularExpression objectPathRegExp;
void addCustomBusTab(const QString &bus)
MainWindow(QWidget *parent=nullptr)
bool eventFilter(QObject *obj, QEvent *event) override
Filters events if this object has been installed as an event filter for the watched object.
void saveState(QSettings *settings) const
void restoreState(const QSettings *settings)
void showEvent(QShowEvent *) override
This event handler can be reimplemented in a subclass to receive widget show events which are passed ...
The QTableView class provides a default model/view implementation of a table view.
static QString sessionTabGroup()
static QString systemTabGroup()
static QString windowGeometryKey()