Krita Source Code Documentation
Loading...
Searching...
No Matches
KisDlgCustomTabletResolution.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2019 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef KISDLGCUSTOMTABLETRESOLUTION_H
8
#define KISDLGCUSTOMTABLETRESOLUTION_H
9
10
#include <QDialog>
11
#include "kritaui_export.h"
12
13
namespace
Ui
{
14
class
KisDlgCustomTabletResolution
;
15
}
16
17
class
KRITAUI_EXPORT
KisDlgCustomTabletResolution
:
public
QDialog
18
{
19
Q_OBJECT
20
21
public
:
22
enum
Mode
{
23
USE_WINTAB = 0,
24
USE_VIRTUAL_SCREEN
,
25
USE_CUSTOM
26
};
27
28
void
accept()
override
;
29
30
public
:
31
explicit
KisDlgCustomTabletResolution
(QWidget *parent =
nullptr
);
32
~KisDlgCustomTabletResolution
()
override
;
33
34
static
QRect calcNativeScreenRect();
35
static
Mode
getTabletMode(QRect *customRect);
36
37
static
void
applyConfiguration(
Mode
mode,
const
QRect &customRect);
38
39
private
:
40
Ui::KisDlgCustomTabletResolution *
ui
;
41
};
42
43
#endif
// KISDLGCUSTOMTABLETRESOLUTION_H
Mode
Mode
Definition
StoryboardDockerDock.cpp:48
KisDlgCustomTabletResolution
Definition
KisDlgCustomTabletResolution.h:18
KisDlgCustomTabletResolution::ui
Ui::KisDlgCustomTabletResolution * ui
Definition
KisDlgCustomTabletResolution.h:40
KisDlgCustomTabletResolution::Mode
Mode
Definition
KisDlgCustomTabletResolution.h:22
KisDlgCustomTabletResolution::USE_VIRTUAL_SCREEN
@ USE_VIRTUAL_SCREEN
Definition
KisDlgCustomTabletResolution.h:24
Ui
Definition
VideoExportOptionsDialog.h:17
libs
ui
dialogs
KisDlgCustomTabletResolution.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52