/usr/include/qgis/qgsvectorgradientcolorrampv2dialog.h is in libqgis-dev 1.7.4+1.7.5~20120320-1.1+b1.
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 | #ifndef QGSVECTORGRADIENTCOLORRAMPV2DIALOG_H
#define QGSVECTORGRADIENTCOLORRAMPV2DIALOG_H
#include <QDialog>
#include "ui_qgsvectorgradientcolorrampv2dialogbase.h"
class QgsVectorGradientColorRampV2;
class GUI_EXPORT QgsVectorGradientColorRampV2Dialog : public QDialog, private Ui::QgsVectorGradientColorRampV2DialogBase
{
Q_OBJECT
public:
QgsVectorGradientColorRampV2Dialog( QgsVectorGradientColorRampV2* ramp, QWidget* parent = NULL );
public slots:
void setColor1();
void setColor2();
void toggledStops( bool on );
void addStop();
void removeStop();
void stopDoubleClicked( QTreeWidgetItem* item, int column );
protected:
void updatePreview();
void setStopColor( QTreeWidgetItem* item, QColor color );
QgsVectorGradientColorRampV2* mRamp;
static const int StopColorRole = Qt::UserRole + 1;
static const int StopOffsetRole = Qt::UserRole + 2;
};
#endif
|