mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
27 lines
507 B
Plaintext
27 lines
507 B
Plaintext
|
class QgsTicksScaleBarStyle: QgsScaleBarStyle
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgsticksscalebarstyle.h>
|
||
|
%End
|
||
|
public:
|
||
|
enum TickPosition
|
||
|
{
|
||
|
TicksUp,
|
||
|
TicksDown,
|
||
|
TicksMiddle
|
||
|
};
|
||
|
|
||
|
QgsTicksScaleBarStyle( const QgsComposerScaleBar* bar );
|
||
|
~QgsTicksScaleBarStyle();
|
||
|
|
||
|
QString name() const;
|
||
|
|
||
|
/*! draw method
|
||
|
@param p painter object
|
||
|
@param xOffset offset
|
||
|
*/
|
||
|
void draw( QPainter* p, double xOffset = 0 ) const;
|
||
|
|
||
|
void setTickPosition( TickPosition p );
|
||
|
};
|