API Documentation
Loading...
Searching...
No Matches
GenericOptionsWidget Class Reference

#include <GenericOptionsWidgets.h>

Inheritance diagram for GenericOptionsWidget:
[legend]
Collaboration diagram for GenericOptionsWidget:
[legend]

Signals

void edited ()
 
void editingFinished ()
 

Public Member Functions

 GenericOptionsWidget (const GenericOption &option, QWidget *parent=nullptr)
 
 GenericOptionsWidget (QWidget *parent=nullptr)
 
void refreshWidget ()
 
void refreshFileChooser ()
 
void refreshResetToDefault ()
 
const GenericOptionoption () const
 
GenericOptionoption ()
 
void setOption (const GenericOption &option)
 

Protected Member Functions

void refreshToggleWidget ()
 
void refreshColorWidget ()
 
void refreshComboWidget ()
 
void refreshVectorWidget ()
 
void refreshLineEditWidget ()
 
void init ()
 

Protected Attributes

FileChooserDialogm_chooser_dialog = nullptr
 
QWidget * m_widget = nullptr
 
Buttonm_browse_button = nullptr
 
Buttonm_reset_button = nullptr
 
GenericOption m_option
 

Constructor & Destructor Documentation

◆ GenericOptionsWidget() [1/2]

GenericOptionsWidget ( const GenericOption & option,
QWidget * parent = nullptr )

◆ GenericOptionsWidget() [2/2]

GenericOptionsWidget ( QWidget * parent = nullptr)

Member Function Documentation

◆ edited

void edited ( )
signal

◆ editingFinished

void editingFinished ( )
signal

◆ init()

void init ( )
protected

◆ option() [1/2]

GenericOption & option ( )
inline

◆ option() [2/2]

const GenericOption & option ( ) const
inline

◆ refreshColorWidget()

void refreshColorWidget ( )
protected

◆ refreshComboWidget()

void refreshComboWidget ( )
protected

◆ refreshFileChooser()

void refreshFileChooser ( )

◆ refreshLineEditWidget()

void refreshLineEditWidget ( )
protected

◆ refreshResetToDefault()

void refreshResetToDefault ( )

◆ refreshToggleWidget()

void refreshToggleWidget ( )
protected

◆ refreshVectorWidget()

void refreshVectorWidget ( )
inlineprotected

◆ refreshWidget()

void refreshWidget ( )

◆ setOption()

void setOption ( const GenericOption & option)

Member Data Documentation

◆ m_browse_button

Button* m_browse_button = nullptr
protected

◆ m_chooser_dialog

FileChooserDialog* m_chooser_dialog = nullptr
protected

◆ m_option

GenericOption m_option
protected

◆ m_reset_button

Button* m_reset_button = nullptr
protected

◆ m_widget

QWidget* m_widget = nullptr
protected

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