UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
hds::ScaleOptionsDialog Class Reference

#include <scale_options_dialog.hpp>

Inheritance diagram for hds::ScaleOptionsDialog:
hds::Dialog

Signals

void scaleOptionChanged ()
 

Public Member Functions

 ScaleOptionsDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~ScaleOptionsDialog ()
 
virtual void attachScaleWidget (hds::ScaleWidget *psw)
 
virtual void detachAll ()
 
virtual void show ()
 
- Public Member Functions inherited from hds::Dialog
 Dialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~Dialog ()
 
virtual void showModal ()
 
virtual void hide ()
 
virtual int exec ()
 
void setButtonsMask (int mask)
 
int buttonsMask () const
 
QWidget & mainWidget ()
 

Protected Slots

void updateScalePlacement (int id)
 
void updateScaleFont (bool checked)
 
void updateScaleColor (bool checked)
 

Protected Member Functions

void setButtonColor (QPushButton *button, const QColor &color)
 
- Protected Member Functions inherited from hds::Dialog
virtual void buttonClicked (const hds::Dialog::Button &button_type)
 

Protected Attributes

std::set< hds::ScaleWidget * > m_scales_set
 

Additional Inherited Members

- Public Types inherited from hds::Dialog
enum  Button { OK_BUTTON = 1, APPLY_BUTTON = 2, CANCEL_BUTTON = 4 }
 

Detailed Description

Dialog for scale options customization.

Constructor & Destructor Documentation

hds::ScaleOptionsDialog::ScaleOptionsDialog ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Default constructor of Qt dialog.

virtual hds::ScaleOptionsDialog::~ScaleOptionsDialog ( )
virtual

Destructor.

Member Function Documentation

virtual void hds::ScaleOptionsDialog::attachScaleWidget ( hds::ScaleWidget psw)
virtual

Attach scale to be controlled. Just copy a pointer.

virtual void hds::ScaleOptionsDialog::detachAll ( )
virtual

Detach all attached controlled scales.

void hds::ScaleOptionsDialog::scaleOptionChanged ( )
signal

Emitted when any scale option has changed.

virtual void hds::ScaleOptionsDialog::show ( )
virtual

Show dialog.

Reimplemented from hds::Dialog.

Member Data Documentation

std::set<hds::ScaleWidget*> hds::ScaleOptionsDialog::m_scales_set
protected

Set of scales pointers to be controlled.


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