mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
46 lines
868 B
Plaintext
46 lines
868 B
Plaintext
class QgsPenStyleComboBox : QComboBox
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgspenstylecombobox.h>
|
|
%End
|
|
|
|
public:
|
|
QgsPenStyleComboBox( QWidget* parent /TransferThis/ = 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 /TransferThis/ = NULL );
|
|
|
|
Qt::PenJoinStyle penJoinStyle() const;
|
|
|
|
void setPenJoinStyle( Qt::PenJoinStyle style );
|
|
};
|
|
|
|
class QgsPenCapStyleComboBox : QComboBox
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgspenstylecombobox.h>
|
|
%End
|
|
|
|
public:
|
|
QgsPenCapStyleComboBox( QWidget* parent /TransferThis/ = NULL );
|
|
|
|
Qt::PenCapStyle penCapStyle() const;
|
|
|
|
void setPenCapStyle( Qt::PenCapStyle style );
|
|
};
|