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

#include <FieldChooser.h>

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

Public Slots

void onDelete ()
 
void onAccepted ()
 
void clearButtonClicked ()
 
void stopClearSignalTimer ()
 
void channelEditedSlot ()
 
void dimensionsEditedSlot ()
 
void typeEditedSlot ()
 
void defaultValueEditedSlot ()
 
void dimensionIndexEdited ()
 

Signals

void accepted ()
 
void cleared ()
 
void edited ()
 

Public Member Functions

 FieldChooser (QWidget *parent=nullptr)
 
void setOptions (const Buffer< DesignParameter > &items)
 
bool allowInt () const
 
bool allowDecimal () const
 
bool allowColor () const
 
bool allowPolarCoordinates () const
 
bool allowCartesianCoordinates () const
 
void refreshUI ()
 
void setSelected (DesignParameter param, const TypeInfo &type)
 
DesignParameter getOption () const
 
TypeInfo getType () const
 
void setAllowDefaultValue (bool allow_default)
 
void setAllowCustom (bool allow_custom)
 
void setSpacialUnit (const ConstPointer< Unit > spacial_unit)
 
void setOrientationUnit (const ConstPointer< Unit > spacial_unit)
 
void setClearButtonText (const TranslatedString &text)
 
void setExtraContexMenu (QMenu *menu)
 

Protected Member Functions

void channelChanged ()
 
void dimensionsChanged ()
 
void typeChanged ()
 
void uncheckAll ()
 

Protected Attributes

DesignParameter m_ascii_choosen
 
TypeInfo m_type
 
Ui::FieldChooserUI * ui
 
bool is_valid
 
bool m_allow_custom
 
Buffer< DesignParameterm_options
 
ConstPointer< Unitm_spacial_unit
 
ConstPointer< Unitm_orientation_unit
 

Constructor & Destructor Documentation

◆ FieldChooser()

FieldChooser ( QWidget * parent = nullptr)

Member Function Documentation

◆ accepted

void accepted ( )
signal

◆ allowCartesianCoordinates()

bool allowCartesianCoordinates ( ) const

◆ allowColor()

bool allowColor ( ) const

◆ allowDecimal()

bool allowDecimal ( ) const

◆ allowInt()

bool allowInt ( ) const

◆ allowPolarCoordinates()

bool allowPolarCoordinates ( ) const

◆ channelChanged()

void channelChanged ( )
protected

◆ channelEditedSlot

void channelEditedSlot ( )
slot

◆ clearButtonClicked

void clearButtonClicked ( )
slot

◆ cleared

void cleared ( )
signal

◆ defaultValueEditedSlot

void defaultValueEditedSlot ( )
slot

◆ dimensionIndexEdited

void dimensionIndexEdited ( )
slot

◆ dimensionsChanged()

void dimensionsChanged ( )
protected

◆ dimensionsEditedSlot

void dimensionsEditedSlot ( )
slot

◆ edited

void edited ( )
signal

◆ getOption()

DesignParameter getOption ( ) const
inline

◆ getType()

TypeInfo getType ( ) const
inline

◆ onAccepted

void onAccepted ( )
inlineslot

◆ onDelete

void onDelete ( )
inlineslot

◆ refreshUI()

void refreshUI ( )

◆ setAllowCustom()

void setAllowCustom ( bool allow_custom)

◆ setAllowDefaultValue()

void setAllowDefaultValue ( bool allow_default)

◆ setClearButtonText()

void setClearButtonText ( const TranslatedString & text)

◆ setExtraContexMenu()

void setExtraContexMenu ( QMenu * menu)

◆ setOptions()

void setOptions ( const Buffer< DesignParameter > & items)

◆ setOrientationUnit()

void setOrientationUnit ( const ConstPointer< Unit > spacial_unit)

◆ setSelected()

void setSelected ( DesignParameter param,
const TypeInfo & type )

◆ setSpacialUnit()

void setSpacialUnit ( const ConstPointer< Unit > spacial_unit)

◆ stopClearSignalTimer

void stopClearSignalTimer ( )
inlineslot

◆ typeChanged()

void typeChanged ( )
protected

◆ typeEditedSlot

void typeEditedSlot ( )
slot

◆ uncheckAll()

void uncheckAll ( )
protected

Member Data Documentation

◆ is_valid

bool is_valid
protected

◆ m_allow_custom

bool m_allow_custom
protected

◆ m_ascii_choosen

DesignParameter m_ascii_choosen
protected

◆ m_options

Buffer<DesignParameter> m_options
protected

◆ m_orientation_unit

ConstPointer<Unit> m_orientation_unit
protected

◆ m_spacial_unit

ConstPointer<Unit> m_spacial_unit
protected

◆ m_type

TypeInfo m_type
protected

◆ ui

Ui::FieldChooserUI* ui
protected

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