3D Forest
Software for analysis of Lidar data from forest environment.
FilterFilesWidget Class Reference

#include <FilterFilesWidget.hpp>

Inherits QWidget.

Public Slots

void slotUpdate (void *sender, const QSet< Editor::Type > &target)
 
void slotAdd ()
 
void slotDelete ()
 
void slotShow ()
 
void slotHide ()
 
void slotSelectAll ()
 
void slotSelectInvert ()
 
void slotSelectNone ()
 
void slotItemSelectionChanged ()
 
void slotItemChanged (QTreeWidgetItem *item, int column)
 

Public Member Functions

 FilterFilesWidget (MainWindow *mainWindow)
 
void setFilterEnabled (bool b)
 
QSize sizeHint () const override
 

Protected Types

enum  Column {
  COLUMN_CHECKED , COLUMN_ID , COLUMN_LABEL , COLUMN_DATE_CREATED ,
  COLUMN_LAST
}
 

Protected Member Functions

void setDatasets (const Datasets &datasets, const QueryFilterSet &filter)
 
void dataChanged ()
 
void filterChanged ()
 
size_t identifier (const QTreeWidgetItem *item)
 
size_t index (const QTreeWidgetItem *item)
 
void updateTree ()
 
void block ()
 
void unblock ()
 
void addTreeItem (size_t index)
 

Protected Attributes

MainWindowmainWindow_
 
QTreeWidget * tree_
 
QToolButton * addButton_
 
QToolButton * deleteButton_
 
QToolButton * showButton_
 
QToolButton * hideButton_
 
QToolButton * selectAllButton_
 
QToolButton * selectInvertButton_
 
QToolButton * selectNoneButton_
 
Datasets datasets_
 
QueryFilterSet filter_
 
bool updatesEnabled_
 

Member Enumeration Documentation

◆ Column

enum FilterFilesWidget::Column
protected

Filter Files Column.

Enumerator
COLUMN_CHECKED 
COLUMN_ID 
COLUMN_LABEL 
COLUMN_DATE_CREATED 
COLUMN_LAST 

Constructor & Destructor Documentation

◆ FilterFilesWidget()

FilterFilesWidget::FilterFilesWidget ( MainWindow * mainWindow)

Member Function Documentation

◆ addTreeItem()

void FilterFilesWidget::addTreeItem ( size_t index)
protected

Referenced by setDatasets().

◆ block()

void FilterFilesWidget::block ( )
protected

Referenced by setDatasets(), and updateTree().

◆ dataChanged()

void FilterFilesWidget::dataChanged ( )
protected

Referenced by slotDelete().

◆ filterChanged()

void FilterFilesWidget::filterChanged ( )
protected

◆ identifier()

size_t FilterFilesWidget::identifier ( const QTreeWidgetItem * item)
protected

◆ index()

size_t FilterFilesWidget::index ( const QTreeWidgetItem * item)
protected

◆ setDatasets()

void FilterFilesWidget::setDatasets ( const Datasets & datasets,
const QueryFilterSet & filter )
protected

Referenced by slotUpdate().

◆ setFilterEnabled()

void FilterFilesWidget::setFilterEnabled ( bool b)

◆ sizeHint()

QSize FilterFilesWidget::sizeHint ( ) const
inlineoverride

◆ slotAdd

void FilterFilesWidget::slotAdd ( )
slot

Referenced by FilterFilesWidget().

◆ slotDelete

void FilterFilesWidget::slotDelete ( )
slot

Referenced by FilterFilesWidget().

◆ slotHide

void FilterFilesWidget::slotHide ( )
slot

Referenced by FilterFilesWidget().

◆ slotItemChanged

void FilterFilesWidget::slotItemChanged ( QTreeWidgetItem * item,
int column )
slot

Referenced by unblock().

◆ slotItemSelectionChanged

void FilterFilesWidget::slotItemSelectionChanged ( )
slot

◆ slotSelectAll

void FilterFilesWidget::slotSelectAll ( )
slot

Referenced by FilterFilesWidget().

◆ slotSelectInvert

void FilterFilesWidget::slotSelectInvert ( )
slot

Referenced by FilterFilesWidget().

◆ slotSelectNone

void FilterFilesWidget::slotSelectNone ( )
slot

Referenced by FilterFilesWidget(), and slotDelete().

◆ slotShow

void FilterFilesWidget::slotShow ( )
slot

Referenced by FilterFilesWidget().

◆ slotUpdate

void FilterFilesWidget::slotUpdate ( void * sender,
const QSet< Editor::Type > & target )
slot

Referenced by FilterFilesWidget().

◆ unblock()

void FilterFilesWidget::unblock ( )
protected

Referenced by setDatasets(), and updateTree().

◆ updateTree()

void FilterFilesWidget::updateTree ( )
protected

Member Data Documentation

◆ addButton_

QToolButton* FilterFilesWidget::addButton_
protected

Referenced by FilterFilesWidget().

◆ datasets_

Datasets FilterFilesWidget::datasets_
protected

◆ deleteButton_

QToolButton* FilterFilesWidget::deleteButton_
protected

◆ filter_

◆ hideButton_

QToolButton* FilterFilesWidget::hideButton_
protected

◆ mainWindow_

MainWindow* FilterFilesWidget::mainWindow_
protected

◆ selectAllButton_

QToolButton* FilterFilesWidget::selectAllButton_
protected

Referenced by FilterFilesWidget().

◆ selectInvertButton_

QToolButton* FilterFilesWidget::selectInvertButton_
protected

Referenced by FilterFilesWidget().

◆ selectNoneButton_

QToolButton* FilterFilesWidget::selectNoneButton_
protected

Referenced by FilterFilesWidget().

◆ showButton_

QToolButton* FilterFilesWidget::showButton_
protected

◆ tree_

◆ updatesEnabled_

bool FilterFilesWidget::updatesEnabled_
protected

The documentation for this class was generated from the following files: