Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Slots | Signals | Public Member Functions | Protected Attributes | List of all members
TYToolButton Class Reference

Permet de gerer la couleur des ToolButtons. More...

#include <TYToolButton.h>

Inheritance diagram for TYToolButton:
Inheritance graph
[legend]
Collaboration diagram for TYToolButton:
Collaboration graph
[legend]

Public Slots

virtual void updateColor ()
 
virtual void selectColor ()
 

Signals

void colorAccepted (QColor c)
 
void colorRejected ()
 

Public Member Functions

 TYToolButton (QWidget *parent=0, const char *name=0)
 
virtual ~TYToolButton ()
 
QColor getColor ()
 
void setColor (QColor color)
 

Protected Attributes

QColor _color
 Couleur du bouton. More...
 

Detailed Description

Permet de gerer la couleur des ToolButtons.

Definition at line 36 of file TYToolButton.h.

Constructor & Destructor Documentation

◆ TYToolButton()

TYToolButton::TYToolButton ( QWidget *  parent = 0,
const char *  name = 0 
)

Constructeur par defaut.

Definition at line 30 of file TYToolButton.cpp.

Here is the call graph for this function:

◆ ~TYToolButton()

TYToolButton::~TYToolButton ( )
virtual

Destructeur.

Definition at line 39 of file TYToolButton.cpp.

Member Function Documentation

◆ colorAccepted

void TYToolButton::colorAccepted ( QColor  c)
signal
Here is the caller graph for this function:

◆ colorRejected

void TYToolButton::colorRejected ( )
signal
Here is the caller graph for this function:

◆ getColor()

QColor TYToolButton::getColor ( )
inline

Set/Get de la couleur.

Definition at line 53 of file TYToolButton.h.

Here is the caller graph for this function:

◆ selectColor

void TYToolButton::selectColor ( )
virtualslot

Selection de la couleur dans une boite de dialogue.

Definition at line 41 of file TYToolButton.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setColor()

void TYToolButton::setColor ( QColor  color)
inline

Set/Get de la couleur.

Definition at line 60 of file TYToolButton.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateColor

void TYToolButton::updateColor ( )
virtualslot

Mise a jour de la couleur du bouton.

Definition at line 58 of file TYToolButton.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ _color

QColor TYToolButton::_color
protected

Couleur du bouton.

Definition at line 83 of file TYToolButton.h.


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