Deskflow 1.26.0.418
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ClientConfigDialog.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
12
13namespace Ui {
14class ClientConfigDialog;
15}
16
21class ClientConfigDialog : public QDialog
22{
23 Q_OBJECT
24
25public:
26 explicit ClientConfigDialog(QWidget *parent = nullptr);
27 ~ClientConfigDialog() override;
28
29protected:
30 void changeEvent(QEvent *e) override;
31
32private:
36 void updateControls() const;
37
42 void initConnections() const;
43
48 bool isModified() const;
49
54 bool isDefault() const;
55
60 void setButtonBoxEnabledButtons() const;
61
65 void load();
66
70 void resetToDefault();
71
75 void save();
76
77 Ui::ClientConfigDialog *ui = nullptr;
78 SettingsDialogButtonBox *m_buttonBox = nullptr;
79};
ClientConfigDialog(QWidget *parent=nullptr)
Definition ClientConfigDialog.cpp:15
void changeEvent(QEvent *e) override
Definition ClientConfigDialog.cpp:33
Definition SettingsDialogButtonBox.h:15
Definition AboutDialog.h:13