Gui::LocationUi< Ui > Class Template Reference

This template class does basically the same as LocationDialogUi unless that it doesn inherit from a widget but only from the UI_-generated class. More...

#include <InputVector.h>

Public Member Functions

bool directionActivated (LocationDialog *dlg, int index)
 
Base::Vector3d getDirection () const
 
Base::Vector3d getPosition () const
 
 LocationUi (QDialog *dlg)
 
void retranslate (QDialog *dlg)
 
void setDirection (const Base::Vector3d &dir)
 
void setPosition (const Base::Vector3d &v)
 
 ~LocationUi ()
 

Detailed Description

template<class Ui>
class Gui::LocationUi< Ui >

This template class does basically the same as LocationDialogUi unless that it doesn inherit from a widget but only from the UI_-generated class.

Thus, this class can be used as composition in dialog-based classes without including the ui_-generated header file. The Ui_-class can simply be forward declared, then.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ LocationUi()

template<class Ui >
Gui::LocationUi< Ui >::LocationUi ( QDialog dlg)

◆ ~LocationUi()

template<class Ui >
Gui::LocationUi< Ui >::~LocationUi ( )

Member Function Documentation

◆ directionActivated()

◆ getDirection()

template<class Ui >
Base::Vector3d Gui::LocationUi< Ui >::getDirection ( ) const

◆ getPosition()

template<class Ui >
Base::Vector3d Gui::LocationUi< Ui >::getPosition ( ) const

◆ retranslate()

◆ setDirection()

◆ setPosition()

template<class Ui >
void Gui::LocationUi< Ui >::setPosition ( const Base::Vector3d v)

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