Deskflow
1.26.0.418
Keyboard and mouse sharing utility
Toggle main menu visibility
Loading...
Searching...
No Matches
HotkeyDialog.h
Go to the documentation of this file.
1
/*
2
* Deskflow -- mouse and keyboard sharing utility
3
* SPDX-FileCopyrightText: (C) 2012 - 2016 Synergy App Ltd
4
* SPDX-FileCopyrightText: (C) 2008 Volker Lanz <vl@fidra.de>
5
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6
*/
7
8
#pragma once
9
10
#include "
common/Hotkey.h
"
11
12
#include <QDialog>
13
14
class
KeySequenceWidget
;
15
16
namespace
Ui
{
17
class
HotkeyDialog;
18
}
19
20
class
HotkeyDialog
:
public
QDialog
21
{
22
Q_OBJECT
23
24
public
:
25
HotkeyDialog
(QWidget *parent,
Hotkey
&
hotkey
);
26
~HotkeyDialog
()
override
;
27
28
const
Hotkey
&
hotkey
()
const
29
{
30
return
m_Hotkey;
31
}
32
33
protected
Q_SLOTS:
34
void
accept
()
override
;
35
36
protected
:
37
const
KeySequenceWidget
*
sequenceWidget
()
const
;
38
39
Hotkey
&
hotkey
()
40
{
41
return
m_Hotkey;
42
}
43
44
private
:
45
std::unique_ptr<Ui::HotkeyDialog> ui;
46
Hotkey
&m_Hotkey;
47
};
Hotkey.h
HotkeyDialog::HotkeyDialog
HotkeyDialog(QWidget *parent, Hotkey &hotkey)
Definition
HotkeyDialog.cpp:11
HotkeyDialog::hotkey
const Hotkey & hotkey() const
Definition
HotkeyDialog.h:28
HotkeyDialog::accept
void accept() override
Definition
HotkeyDialog.cpp:23
HotkeyDialog::hotkey
Hotkey & hotkey()
Definition
HotkeyDialog.h:39
HotkeyDialog::~HotkeyDialog
~HotkeyDialog() override
HotkeyDialog::sequenceWidget
const KeySequenceWidget * sequenceWidget() const
Definition
HotkeyDialog.cpp:32
Hotkey
Definition
Hotkey.h:23
KeySequenceWidget
Definition
KeySequenceWidget.h:15
Ui
Definition
AboutDialog.h:13
src
lib
gui
dialogs
HotkeyDialog.h
Generated by
1.18.0