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

A Widget for setting up and choosing a Field used for importing and exporting data. More...

#include <FieldChooser.h>

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

Public Slots

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

Signals

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

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Detailed Description

A Widget for setting up and choosing a Field used for importing and exporting data.


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 file: