3D Forest
Software for analysis of Lidar data from forest environment.
ExplorerWidgetInterface Class Referenceabstract

#include <ExplorerWidgetInterface.hpp>

Inherits QWidget.

Inherited by ExplorerClassificationsWidget, ExplorerClippingWidget, ExplorerDescriptorWidget, ExplorerElevationWidget, ExplorerFilesWidget, and ExplorerLayersWidget.

Public Member Functions

 ExplorerWidgetInterface (MainWindow *mainWindow, const QIcon &icon, const QString &text)
 
virtual ~ExplorerWidgetInterface ()=default
 
const QIcon & icon ()
 
const QString & text ()
 
virtual bool hasColorSource () const =0
 
virtual SettingsView::ColorSource colorSource () const =0
 
virtual bool hasFilter () const =0
 
virtual bool isFilterEnabled () const
 
virtual void setFilterEnabled (bool b)
 

Protected Attributes

MainWindowmainWindow_
 
QIcon icon_
 
QString text_
 
QLabel * titleIcon_
 
QLabel * titleText_
 
QVBoxLayout * mainLayout_
 

Private Attributes

bool filterEnabled_
 

Constructor & Destructor Documentation

◆ ExplorerWidgetInterface()

ExplorerWidgetInterface::ExplorerWidgetInterface ( MainWindow mainWindow,
const QIcon &  icon,
const QString &  text 
)

◆ ~ExplorerWidgetInterface()

virtual ExplorerWidgetInterface::~ExplorerWidgetInterface ( )
virtualdefault

Member Function Documentation

◆ colorSource()

◆ hasColorSource()

virtual bool ExplorerWidgetInterface::hasColorSource ( ) const
pure virtual

◆ hasFilter()

virtual bool ExplorerWidgetInterface::hasFilter ( ) const
pure virtual

◆ icon()

const QIcon & ExplorerWidgetInterface::icon ( )
inline

◆ isFilterEnabled()

virtual bool ExplorerWidgetInterface::isFilterEnabled ( ) const
inlinevirtual

◆ setFilterEnabled()

virtual void ExplorerWidgetInterface::setFilterEnabled ( bool  b)
inlinevirtual

◆ text()

const QString & ExplorerWidgetInterface::text ( )
inline

Member Data Documentation

◆ filterEnabled_

bool ExplorerWidgetInterface::filterEnabled_
private

◆ icon_

QIcon ExplorerWidgetInterface::icon_
protected

Referenced by ExplorerWidgetInterface(), and icon().

◆ mainLayout_

◆ mainWindow_

◆ text_

QString ExplorerWidgetInterface::text_
protected

Referenced by ExplorerWidgetInterface(), and text().

◆ titleIcon_

QLabel* ExplorerWidgetInterface::titleIcon_
protected

Referenced by ExplorerWidgetInterface().

◆ titleText_

QLabel* ExplorerWidgetInterface::titleText_
protected

Referenced by ExplorerWidgetInterface().


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