Deskflow 1.22.0.197
Keyboard and mouse sharing utility
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 Symless 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
12class QWidget;
13class QString;
14
15class Screen;
16class ScreenList;
17
18namespace Ui {
19class ScreenSettingsDialog;
20}
21
22class ScreenSettingsDialog : public QDialog
23{
24 Q_OBJECT
25
26public:
27 ScreenSettingsDialog(QWidget *parent, Screen *pScreen = nullptr, const ScreenList *pScreens = nullptr);
29
30public Q_SLOTS:
31 void accept() override;
32
33private Q_SLOTS:
34 void on_m_pButtonAddAlias_clicked();
35 void on_m_pButtonRemoveAlias_clicked();
36 void on_m_pLineEditAlias_textChanged(const QString &text);
37 void on_m_pListAliases_itemSelectionChanged();
38
39private:
40 std::unique_ptr<Ui::ScreenSettingsDialog> ui;
41 Screen *m_pScreen;
42};
Definition ScreenList.h:12
void accept() override
Definition ScreenSettingsDialog.cpp:69
~ScreenSettingsDialog() override
ScreenSettingsDialog(QWidget *parent, Screen *pScreen=nullptr, const ScreenList *pScreens=nullptr)
Definition ScreenSettingsDialog.cpp:26
Definition Screen.h:26
Definition AboutDialog.h:13