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

#include <natgrps_options_dialog.hpp>

Inheritance diagram for hds::NatgrpsOptionsDialog:
hds::Dialog

Public Member Functions

 NatgrpsOptionsDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~NatgrpsOptionsDialog ()
 
void appendNg (ZqbNatGroup &ng, const QString &caption)
 
void clear ()
 
void updateData ()
 
- Public Member Functions inherited from hds::Dialog
 Dialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~Dialog ()
 
virtual void show ()
 
virtual void showModal ()
 
virtual void hide ()
 
virtual int exec ()
 
void setButtonsMask (int mask)
 
int buttonsMask () const
 
QWidget & mainWidget ()
 

Protected Member Functions

virtual void buttonClicked (const Button &button_type)
 

Protected Attributes

std::map< ZqbNatGroup
*, NatgrpOptionsWid * > 
m_widgets
 
QGridLayout * mp_grd_layout
 

Additional Inherited Members

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

Detailed Description

Dialog for zq natural groups parameters customization.

Constructor & Destructor Documentation

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

Default constructor of Qt dialog.

virtual hds::NatgrpsOptionsDialog::~NatgrpsOptionsDialog ( )
virtual

Destructor.

Member Function Documentation

void hds::NatgrpsOptionsDialog::appendNg ( ZqbNatGroup ng,
const QString &  caption 
)
Append new natural group for customization. 
Parameters
ngNatural group. Not copied, just store a pointer.
captionCaption of natural group provided.
virtual void hds::NatgrpsOptionsDialog::buttonClicked ( const Button button_type)
protectedvirtual

Called when button with provided button_type clicked.

Reimplemented from hds::Dialog.

void hds::NatgrpsOptionsDialog::clear ( )

Clear all appended natural groups.

void hds::NatgrpsOptionsDialog::updateData ( )

Update GUI data when controlled natural groups changed.

Member Data Documentation

std::map<ZqbNatGroup*, NatgrpOptionsWid*> hds::NatgrpsOptionsDialog::m_widgets
protected

< Map of natural groups customization widgets with natural groups pointers as a keys.


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