/usr/include/qgis/qgsarrowsymbollayerwidget.h is in libqgis-dev 2.18.17+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | /***************************************************************************
qgsarrowsymbollayerwidget.h
---------------------
begin : February 2016
copyright : (C) 2016 by Hugo Mercier / Oslandia
email : hugo dot mercier at oslandia dot com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSARROWSYMBOLLAYERWIDGET_H
#define QGSARROWSYMBOLLAYERWIDGET_H
#include "ui_qgsarrowsymbollayerwidgetbase.h"
#include "qgssymbollayerv2widget.h"
class QgsArrowSymbolLayer;
/** \ingroup gui
* \class QgsArrowSymbolLayerWidget
*/
class GUI_EXPORT QgsArrowSymbolLayerWidget: public QgsSymbolLayerV2Widget, private Ui::QgsArrowSymbolLayerWidgetBase
{
Q_OBJECT
public:
/** Constructor
* @param layer the layer where this symbol layer is applied
* @param parent the parent widget
*/
QgsArrowSymbolLayerWidget( const QgsVectorLayer* layer, QWidget* parent = nullptr );
/** Static creation method
* @param layer the layer where this symbol layer is applied
*/
static QgsSymbolLayerV2Widget* create( const QgsVectorLayer* layer ) { return new QgsArrowSymbolLayerWidget( layer ); }
/** Set the symbol layer */
virtual void setSymbolLayer( QgsSymbolLayerV2* layer ) override;
/** Get the current symbol layer */
virtual QgsSymbolLayerV2* symbolLayer() override;
private:
QgsArrowSymbolLayer* mLayer;
private slots:
void on_mArrowWidthSpin_valueChanged( double d );
void on_mArrowWidthUnitWidget_changed();
void on_mArrowStartWidthSpin_valueChanged( double d );
void on_mArrowStartWidthUnitWidget_changed();
void on_mHeadLengthSpin_valueChanged( double d );
void on_mHeadLengthUnitWidget_changed();
void on_mHeadThicknessSpin_valueChanged( double d );
void on_mHeadThicknessUnitWidget_changed();
void on_mHeadTypeCombo_currentIndexChanged( int );
void on_mArrowTypeCombo_currentIndexChanged( int );
void on_mOffsetSpin_valueChanged( double d );
void on_mOffsetUnitWidget_changed();
void on_mCurvedArrowChck_stateChanged( int );
void on_mRepeatArrowChck_stateChanged( int );
};
#endif
|