@@ -110,42 +110,6 @@ class QgsEditorWidgetFactory
110
110
*/
111
111
//virtual QHash<const char*, int> supportedWidgetTypes();
112
112
113
- /**
114
- * If the default sort order should be overwritten for this widget, you can transform the value in here.
115
- *
116
- * @param vl The vector layer.
117
- * @param fieldIdx The index of the field.
118
- * @param config The editor widget config.
119
- * @param cache The editor widget cache.
120
- * @param value The value to represent.
121
- *
122
- * @return By default the value is returned unmodified.
123
- *
124
- * @note Added in 2.16
125
- */
126
- virtual QVariant sortValue( QgsVectorLayer* vl, int fieldIdx, const QgsEditorWidgetConfig& config, const QVariant& cache, const QVariant& value ) const;
127
-
128
- /**
129
- * Return the alignment for a particular field. By default this will consider the field type but can be overwritten if mapped
130
- * values are represented.
131
- * @param vl The vector layer.
132
- * @param fieldIdx The index of the field.
133
- * @param config The editor widget config.
134
- * @return The alignment flag, normally Qt::AlignRight or Qt::AlignLeft
135
- */
136
- virtual Qt::AlignmentFlag alignmentFlag( QgsVectorLayer* vl, int fieldIdx, const QgsEditorWidgetConfig& config ) const;
137
-
138
- /**
139
- * Create a cache for a given field.
140
- *
141
- * @param vl The vector layer.
142
- * @param fieldIdx The index of the field.
143
- * @param config The editor widget config.
144
- *
145
- * @return The default implementation returns an invalid QVariant
146
- */
147
- virtual QVariant createCache( QgsVectorLayer* vl, int fieldIdx, const QgsEditorWidgetConfig& config );
148
-
149
113
/**
150
114
* Read the config from an XML file and map it to a proper {@link QgsEditorWidgetConfig}.
151
115
*
0 commit comments