16 #ifndef QGSFEATURELIST_H
17 #define QGSFEATURELIST_H
19 #include <QStackedWidget>
24 #include "ui_qgsdualviewbase.h"
39 class GUI_EXPORT
QgsDualView :
public QStackedWidget,
private Ui::QgsDualViewBase
86 void setView( ViewMode view );
101 void setSelectedOnTop(
bool selectedOnTop );
116 int filteredFeatureCount();
137 void columnBoxInit();
139 virtual void hideEvent( QHideEvent * );
140 virtual void focusOutEvent( QFocusEvent * );
153 void saveEditChanges();
158 void reloadAttribute(
const int& attribute );
166 void displayExpressionChanged(
const QString expression );
171 void filterChanged();
179 void on_mFeatureList_currentEditSelectionChanged(
const QgsFeature& feat );
181 void previewExpressionBuilder();
183 void previewColumnChanged( QObject* previewAction );
185 void editingToggled();
187 void viewWillShowContextMenu( QMenu* menu, QModelIndex atIndex );
189 void previewExpressionChanged(
const QString expression );
198 void attributeDeleted(
int attribute );
207 void attributeAdded(
int attribute );
223 virtual void progress(
int i,
bool& cancel );
229 virtual void finished();
247 friend class TestQgsDualView;
256 QAction( name, dualView ), mDualView( dualView ), mAction( action ), mFieldIdx( fieldIdx )
269 #endif // QGSFEATURELIST_H