Krita Source Code Documentation
Loading...
Searching...
No Matches
KoLineStyleSelector.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
* SPDX-FileCopyrightText: 2007 Jan Hambrecht <jaham@gmx.net>
3
*
4
* SPDX-License-Identifier: LGPL-2.0-or-later
5
*/
6
7
#ifndef _KOLINESTYLESELECTOR_H_
8
#define _KOLINESTYLESELECTOR_H_
9
10
#include "kritawidgets_export.h"
11
#include <QComboBox>
12
16
class
KRITAWIDGETS_EXPORT
KoLineStyleSelector
:
public
QComboBox
17
{
18
Q_OBJECT
19
public
:
20
explicit
KoLineStyleSelector
(QWidget *parent = 0);
21
~KoLineStyleSelector
()
override
;
22
31
bool
addCustomStyle(
const
QVector<qreal>
&style);
32
42
void
setLineStyle(Qt::PenStyle style,
const
QVector<qreal>
&dashes =
QVector<qreal>
());
43
45
Qt::PenStyle lineStyle()
const
;
47
QVector<qreal>
lineDashes()
const
;
48
49
protected
:
50
void
paintEvent(QPaintEvent *pe)
override
;
51
52
private
:
53
class
Private
;
54
Private
*
const
d
;
55
};
56
57
#endif
// _KOLINESTYLESELECTOR_H_
KoLineStyleSelector
Definition
KoLineStyleSelector.cpp:15
KoLineStyleSelector::d
Private *const d
Definition
KoLineStyleSelector.h:54
QList
Definition
KisQStringListFwd.h:16
Private
Definition
SvgTransformParser.cpp:20
libs
widgets
KoLineStyleSelector.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52