mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
46 lines
823 B
Plaintext
46 lines
823 B
Plaintext
|
class QgsPenStyleComboBox : QComboBox
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgspenstylecombobox.h>
|
||
|
%End
|
||
|
|
||
|
public:
|
||
|
QgsPenStyleComboBox( QWidget* parent = NULL );
|
||
|
|
||
|
Qt::PenStyle penStyle() const;
|
||
|
|
||
|
void setPenStyle( Qt::PenStyle style );
|
||
|
|
||
|
protected:
|
||
|
QIcon iconForPen( Qt::PenStyle style );
|
||
|
|
||
|
};
|
||
|
|
||
|
class QgsPenJoinStyleComboBox : QComboBox
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgspenstylecombobox.h>
|
||
|
%End
|
||
|
|
||
|
public:
|
||
|
QgsPenJoinStyleComboBox( QWidget* parent = NULL );
|
||
|
|
||
|
Qt::PenJoinStyle penJoinStyle() const;
|
||
|
|
||
|
void setPenJoinStyle( Qt::PenJoinStyle style );
|
||
|
};
|
||
|
|
||
|
class QgsPenCapStyleComboBox : QComboBox
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgspenstylecombobox.h>
|
||
|
%End
|
||
|
|
||
|
public:
|
||
|
QgsPenCapStyleComboBox( QWidget* parent = NULL );
|
||
|
|
||
|
Qt::PenCapStyle penCapStyle() const;
|
||
|
|
||
|
void setPenCapStyle( Qt::PenCapStyle style );
|
||
|
};
|