Gui::Dialog::DlgUnitsCalculator Class Reference

The DlgUnitsCalculator provides a unit conversion dialog. More...

#include <DlgUnitsCalculatorImp.h>

Public Member Functions

 DlgUnitsCalculator (QWidget *parent=0, Qt::WindowFlags fl=Qt::WindowFlags())
 Constructs a DlgUnitsCalculator which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More...
 
 ~DlgUnitsCalculator ()
 Destroys the object and frees any allocated resources. More...
 

Protected Slots

void copy (void)
 
void on_comboBoxScheme_activated (int)
 
void on_spinBoxDecimals_valueChanged (int)
 
void on_unitsBox_activated (int)
 
void parseError (const QString &errorText)
 
void returnPressed (void)
 
void textChanged (const QString)
 
void valueChanged (const Base::Quantity &)
 

Protected Member Functions

void accept ()
 
void reject ()
 

Detailed Description

The DlgUnitsCalculator provides a unit conversion dialog.

Author
Juergen Riegel

Constructor & Destructor Documentation

◆ DlgUnitsCalculator()

◆ ~DlgUnitsCalculator()

DlgUnitsCalculator::~DlgUnitsCalculator ( )

Destroys the object and frees any allocated resources.

Member Function Documentation

◆ accept()

◆ copy

void DlgUnitsCalculator::copy ( void  )
protectedslot

Referenced by DlgUnitsCalculator().

◆ on_comboBoxScheme_activated

void DlgUnitsCalculator::on_comboBoxScheme_activated ( int  index)
protectedslot

◆ on_spinBoxDecimals_valueChanged

void DlgUnitsCalculator::on_spinBoxDecimals_valueChanged ( int  value)
protectedslot

◆ on_unitsBox_activated

void DlgUnitsCalculator::on_unitsBox_activated ( int  index)
protectedslot

◆ parseError

void DlgUnitsCalculator::parseError ( const QString &  errorText)
protectedslot

Referenced by DlgUnitsCalculator().

◆ reject()

◆ returnPressed

void DlgUnitsCalculator::returnPressed ( void  )
protectedslot

Referenced by DlgUnitsCalculator().

◆ textChanged

void DlgUnitsCalculator::textChanged ( const  QString)
protectedslot

References valueChanged().

Referenced by DlgUnitsCalculator().

◆ valueChanged

void DlgUnitsCalculator::valueChanged ( const Base::Quantity quant)
protectedslot

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Gui/DlgUnitsCalculatorImp.h
  • Sources/FreeCAD/src/Gui/DlgUnitsCalculatorImp.cpp