2012-09-24 02:28:15 +02:00
|
|
|
class QgsPenStyleComboBox : QComboBox
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgspenstylecombobox.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
2015-02-18 17:00:36 +11:00
|
|
|
QgsPenStyleComboBox( QWidget* parent /TransferThis/ = NULL );
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
Qt::PenStyle penStyle() const;
|
|
|
|
|
|
|
|
void setPenStyle( Qt::PenStyle style );
|
|
|
|
|
|
|
|
protected:
|
|
|
|
QIcon iconForPen( Qt::PenStyle style );
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
class QgsPenJoinStyleComboBox : QComboBox
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgspenstylecombobox.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
2015-02-18 17:00:36 +11:00
|
|
|
QgsPenJoinStyleComboBox( QWidget* parent /TransferThis/ = NULL );
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
Qt::PenJoinStyle penJoinStyle() const;
|
|
|
|
|
|
|
|
void setPenJoinStyle( Qt::PenJoinStyle style );
|
|
|
|
};
|
|
|
|
|
|
|
|
class QgsPenCapStyleComboBox : QComboBox
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgspenstylecombobox.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
2015-02-18 17:00:36 +11:00
|
|
|
QgsPenCapStyleComboBox( QWidget* parent /TransferThis/ = NULL );
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
Qt::PenCapStyle penCapStyle() const;
|
|
|
|
|
|
|
|
void setPenCapStyle( Qt::PenCapStyle style );
|
|
|
|
};
|