Quantum GIS API Documentation
1.7.4
|
#include <qgsattributeeditor.h>
Public Slots | |
void | selectFileName () |
void | selectDate () |
Public Member Functions | |
QgsAttributeEditor (QObject *parent) | |
Static Public Member Functions | |
static QWidget * | createAttributeEditor (QWidget *parent, QWidget *editor, QgsVectorLayer *vl, int idx, const QVariant &value) |
static bool | retrieveValue (QWidget *widget, QgsVectorLayer *vl, int idx, QVariant &value) |
static bool | setValue (QWidget *widget, QgsVectorLayer *vl, int idx, const QVariant &value) |
Static Private Member Functions | |
static QComboBox * | comboBox (QWidget *editor, QWidget *parent) |
Definition at line 29 of file qgsattributeeditor.h.
QgsAttributeEditor::QgsAttributeEditor | ( | QObject * | parent | ) | [inline] |
Definition at line 34 of file qgsattributeeditor.h.
Referenced by createAttributeEditor().
QComboBox * QgsAttributeEditor::comboBox | ( | QWidget * | editor, |
QWidget * | parent | ||
) | [static, private] |
Definition at line 102 of file qgsattributeeditor.cpp.
Referenced by createAttributeEditor().
QWidget * QgsAttributeEditor::createAttributeEditor | ( | QWidget * | parent, |
QWidget * | editor, | ||
QgsVectorLayer * | vl, | ||
int | idx, | ||
const QVariant & | value | ||
) | [static] |
Definition at line 113 of file qgsattributeeditor.cpp.
References QgsVectorLayer::Calendar, QgsCategorizedSymbolRendererV2::categories(), QgsVectorLayer::CheckBox, QgsVectorLayer::Classification, comboBox(), QgsVectorLayer::dataProvider(), QgsVectorLayer::DialRange, QgsVectorLayer::EditRange, QgsVectorLayer::editType(), QgsVectorLayer::Enumeration, QgsVectorDataProvider::enumValues(), QgsVectorLayer::FileName, QgsVectorLayer::Hidden, QgsVectorLayer::Immutable, QgsVectorLayer::LineEdit, MathUtils::max(), MathUtils::min(), QgsVectorLayer::RangeData::mMax, QgsVectorLayer::RangeData::mMin, QgsVectorLayer::RangeData::mStep, QgsVectorLayer::pendingFields(), QgsAttributeEditor(), QgsVectorLayer::range(), QgsVectorLayer::renderer(), QgsVectorLayer::rendererV2(), selectDate(), selectFileName(), setValue(), QgsVectorLayer::SliderRange, QgsUniqueValueRenderer::symbols(), QgsVectorLayer::TextEdit, QgsField::type(), QgsVectorLayer::UniqueValues, QgsVectorDataProvider::uniqueValues(), QgsVectorLayer::UniqueValuesEditable, QgsVectorLayer::ValueMap, and QgsVectorLayer::valueMap().
Referenced by QgsFormAnnotationItem::createDesignerWidget().
bool QgsAttributeEditor::retrieveValue | ( | QWidget * | widget, |
QgsVectorLayer * | vl, | ||
int | idx, | ||
QVariant & | value | ||
) | [static] |
Definition at line 436 of file qgsattributeeditor.cpp.
References QgsVectorLayer::checkedState(), QgsVectorLayer::Classification, QgsVectorLayer::editType(), QgsVectorLayer::pendingFields(), QgsField::type(), QgsVectorLayer::UniqueValues, and QgsVectorLayer::ValueMap.
void QgsAttributeEditor::selectDate | ( | ) | [slot] |
Definition at line 66 of file qgsattributeeditor.cpp.
Referenced by createAttributeEditor().
void QgsAttributeEditor::selectFileName | ( | ) | [slot] |
Definition at line 44 of file qgsattributeeditor.cpp.
Referenced by createAttributeEditor().
bool QgsAttributeEditor::setValue | ( | QWidget * | widget, |
QgsVectorLayer * | vl, | ||
int | idx, | ||
const QVariant & | value | ||
) | [static] |
Definition at line 608 of file qgsattributeeditor.cpp.
References QgsVectorLayer::Calendar, QgsVectorLayer::CheckBox, QgsVectorLayer::checkedState(), QgsVectorLayer::Classification, QgsVectorLayer::DialRange, QgsVectorLayer::EditRange, QgsVectorLayer::editType(), QgsVectorLayer::Enumeration, QgsVectorLayer::FileName, QgsVectorLayer::Immutable, QgsVectorLayer::LineEdit, QgsVectorLayer::pendingFields(), QgsVectorLayer::SliderRange, QgsField::type(), QgsVectorLayer::UniqueValues, QgsVectorLayer::UniqueValuesEditable, and QgsVectorLayer::ValueMap.
Referenced by createAttributeEditor().