QSkinny
0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskBasicLinesNode.h
1
/******************************************************************************
2
* QSkinny - Copyright (C) The authors
3
* SPDX-License-Identifier: BSD-3-Clause
4
*****************************************************************************/
5
6
#ifndef QSK_BASIC_LINES_NODE_H
7
#define QSK_BASIC_LINES_NODE_H
8
9
#include "QskGlobal.h"
10
11
#include <qsgnode.h>
12
#include <qnamespace.h>
13
14
class
QColor;
15
16
class
QskBasicLinesNodePrivate;
17
18
/*
19
A node for stippled or solid lines.
20
For the moment limited to horizontal/vertical lines: TODO
21
*/
22
class
QSK_EXPORT
QskBasicLinesNode
:
public
QSGGeometryNode
23
{
24
using
Inherited = QSGGeometryNode;
25
26
public
:
27
QskBasicLinesNode
();
28
~QskBasicLinesNode
()
override
;
29
30
void
setPixelAlignment( Qt::Orientations );
31
Qt::Orientations pixelAlignment()
const
;
32
33
void
setColor(
const
QColor& );
34
QColor color()
const
;
35
36
void
setLineWidth(
float
);
37
float
lineWidth()
const
;
38
39
private
:
40
Q_DECLARE_PRIVATE(
QskBasicLinesNode
)
41
};
42
43
#endif
QskBasicLinesNode
Definition
QskBasicLinesNode.h:23
src
nodes
QskBasicLinesNode.h
Generated by
1.9.8