Deskflow
1.26.0.418
Keyboard and mouse sharing utility
Toggle main menu visibility
Loading...
Searching...
No Matches
ScreenSettingsDialog.h
Go to the documentation of this file.
1
/*
2
* Deskflow -- mouse and keyboard sharing utility
3
* SPDX-FileCopyrightText: (C) 2012 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 <QDialog>
11
12
class
QWidget;
13
class
QString;
14
15
class
Screen
;
16
class
ScreenList
;
17
18
namespace
Ui
{
19
class
ScreenSettingsDialog;
20
}
21
22
class
ScreenSettingsDialog
:
public
QDialog
23
{
24
Q_OBJECT
25
26
public
:
27
explicit
ScreenSettingsDialog
(QWidget *parent,
Screen
*screen =
nullptr
,
const
ScreenList
*screens =
nullptr
);
28
~ScreenSettingsDialog
()
override
;
29
30
public
Q_SLOTS:
31
void
accept
()
override
;
32
33
private
Q_SLOTS:
34
void
addAlias();
35
void
removeAlias()
const
;
36
void
checkNewAliasName(
const
QString &text);
37
void
aliasSelected();
38
39
private
:
40
std::unique_ptr<Ui::ScreenSettingsDialog> ui;
41
Screen
*m_screen;
42
};
ScreenList
Definition
ScreenList.h:12
ScreenSettingsDialog::accept
void accept() override
Definition
ScreenSettingsDialog.cpp:72
ScreenSettingsDialog::ScreenSettingsDialog
ScreenSettingsDialog(QWidget *parent, Screen *screen=nullptr, const ScreenList *screens=nullptr)
Definition
ScreenSettingsDialog.cpp:24
ScreenSettingsDialog::~ScreenSettingsDialog
~ScreenSettingsDialog() override
Screen
Definition
Screen.h:26
Ui
Definition
AboutDialog.h:13
src
lib
gui
dialogs
ScreenSettingsDialog.h
Generated by
1.18.0