Deskflow 1.26.0.353
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
HelpDialog.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2026 Deskflow Developers
4 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
5 */
6
7#pragma once
8
9#include <QDialog>
10#include <QPushButton>
11#include <QTextBrowser>
12#include <QUrl>
13
14class HelpDialog : public QDialog
15{
16 Q_OBJECT
17
18public:
19 explicit HelpDialog(QWidget *parent = nullptr, const QUrl &source = {});
20 ~HelpDialog() override = default;
21
22protected:
23 void changeEvent(QEvent *e) override;
24
25private:
26 void updateText();
27 void historyChanged();
28 void linkClicked(const QUrl &url);
29 QUrl m_initialSource;
30 QPushButton *m_btnBack = nullptr;
31 QPushButton *m_btnHome = nullptr;
32 QTextBrowser *m_browser = nullptr;
33 QPushButton *m_btnClose = nullptr;
34};
HelpDialog(QWidget *parent=nullptr, const QUrl &source={})
Definition HelpDialog.cpp:17
~HelpDialog() override=default
void changeEvent(QEvent *e) override
Definition HelpDialog.cpp:66