QGIS API Documentation
3.43.0-Master (3ee7834ace6)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Symbols
3
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
Loading...
Searching...
No Matches
src
gui
layout
qgslayouttablebackgroundcolorsdialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgslayouttablebackgroundcolorsdialog.h
3
----------------------------------------
4
begin : November 2017
5
copyright : (C) 2017 by Nyall Dawson
6
email : nyall dot dawson at gmail dot com
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSLAYOUTTABLEBACKGROUNDCOLORSDIALOG_H
19
#define QGSLAYOUTTABLEBACKGROUNDCOLORSDIALOG_H
20
21
// We don't want to expose this in the public API
22
#define SIP_NO_FILE
23
24
#include <QDialog>
25
#include "qgis_gui.h"
26
#include "ui_qgslayouttablebackgroundstyles.h"
27
#include "
qgslayouttable.h
"
28
29
class
QCheckBox;
30
class
QgsColorButton
;
31
38
class
GUI_EXPORT
QgsLayoutTableBackgroundColorsDialog
:
public
QDialog,
private
Ui::QgsLayoutTableBackgroundDialog
39
{
40
Q_OBJECT
41
public
:
48
QgsLayoutTableBackgroundColorsDialog
(
QgsLayoutTable
*table, QWidget *parent =
nullptr
, Qt::WindowFlags flags = Qt::WindowFlags() );
49
50
private
slots:
51
52
void
apply();
53
54
void
buttonBox_accepted();
55
void
buttonBox_rejected();
56
void
showHelp();
57
58
private
:
59
QgsLayoutTable
*mTable =
nullptr
;
60
QMap<QgsLayoutTable::CellStyleGroup, QCheckBox *> mCheckBoxMap;
61
QMap<QgsLayoutTable::CellStyleGroup, QgsColorButton *> mColorButtonMap;
62
63
65
void
setGuiElementValues();
66
};
38
class
GUI_EXPORT
QgsLayoutTableBackgroundColorsDialog
:
public
QDialog,
private
Ui::QgsLayoutTableBackgroundDialog {
…
};
67
68
#endif
// QGSLAYOUTTABLEBACKGROUNDCOLORSDIALOG_H
QgsColorButton
A cross platform button subclass for selecting colors.
Definition
qgscolorbutton.h:35
QgsLayoutTableBackgroundColorsDialog
A dialog for customization of the cell background colors for a QgsLayoutTable.
Definition
qgslayouttablebackgroundcolorsdialog.h:39
QgsLayoutTable
A class to display a table in the print layout, and allow the table to span over multiple frames.
Definition
qgslayouttable.h:107
qgslayouttable.h
Generated on Mon Mar 24 2025 21:55:38 for QGIS API Documentation by
1.9.8