16 #ifndef QGSFEATURELIST_H
17 #define QGSFEATURELIST_H
19 #include <QStackedWidget>
21 #include "ui_qgsdualviewbase.h"
42 class GUI_EXPORT
QgsDualView :
public QStackedWidget,
private Ui::QgsDualViewBase
90 void setView( ViewMode view );
105 void setSelectedOnTop(
bool selectedOnTop );
120 int filteredFeatureCount();
145 void columnBoxInit();
147 virtual void hideEvent( QHideEvent * );
148 virtual void focusOutEvent( QFocusEvent * );
164 bool saveEditChanges();
169 void reloadAttribute(
const int& attribute );
177 void displayExpressionChanged(
const QString expression );
182 void filterChanged();
190 void on_mFeatureList_currentEditSelectionChanged(
const QgsFeature& feat );
192 void previewExpressionBuilder();
194 void previewColumnChanged( QObject* previewAction );
196 void editingToggled();
198 void viewWillShowContextMenu( QMenu* menu, QModelIndex atIndex );
200 void previewExpressionChanged(
const QString expression );
209 void attributeDeleted(
int attribute );
218 void attributeAdded(
int attribute );
234 virtual void progress(
int i,
bool& cancel );
240 virtual void finished();
259 friend class TestQgsDualView;
268 QAction( name, dualView ), mDualView( dualView ), mAction( action ), mFieldIdx( fieldIdx )
287 QAction( name, dualView ), mDualView( dualView ), mAction( action ), mFieldIdx( fieldIdx )
299 #endif // QGSFEATURELIST_H