JG ROOT Tools libraries
version 5.0 - august 2014
|
#include <RGFillStyleSelect.hh>
Public Member Functions | |
RGFillStyleSelect (TGWindow *p, Style_t c=0, Int_t w=5, Int_t sep=4) | |
virtual | ~RGFillStyleSelect () |
virtual void | SetState (const Bool_t b=kTRUE) |
Style_t | GetStyleNumber () const |
void | SetStyleNumber (const Style_t s, const Bool_t emit=kTRUE) |
virtual void | StyleChanged (Style_t s) |
void | StyleNumberEntryChanged (const char *str) |
void | StyleSelected (Style_t s) |
ClassDef (RGFillStyleSelect, 0) | |
Protected Attributes | |
Style_t | style |
Fill style number. | |
TGNumberEntry * | w_number_entry |
Pointer to style number entry field. | |
TGedPatternSelect * | w_style_select |
Pointer to style selection widget. | |
Private Member Functions | |
GObject (RGFillStyleSelect) | |
RGFillStyleSelect (const RGFillStyleSelect &original) | |
Widget for filling style selection, from style number entry or from a style selection widget (TGedPatternSelect).
RGFillStyleSelect::RGFillStyleSelect | ( | TGWindow * | p, |
Style_t | s = 0 , |
||
Int_t | w = 5 , |
||
Int_t | sep = 4 |
||
) |
Constructor.
p | parent widget |
s | initial style number |
w | numerical field width (number of digits) |
sep | separation between numerical field and selector |
References style, w_number_entry, and w_style_select.
|
private |
Copy constructor, not implemented.
original | object to copy |
|
virtual |
Destructor.
|
private |
Macro from GCpp library that defines the following functions:
|
virtual |
Set the widget state (active/inactive)
b | state |
References w_number_entry, and w_style_select.
Referenced by RGFillAttrSelect::SetState().
|
inline |
void RGFillStyleSelect::SetStyleNumber | ( | const Style_t | s, |
const Bool_t | emit = kTRUE |
||
) |
Select a new style from its number.
s | style number |
emit | flag if signal must be emitted |
References style, StyleChanged(), w_number_entry, and w_style_select.
Referenced by RGFillAttrSelect::SetFillStyle().
|
inlinevirtual |
Signal sent when a style is selected.
s | selected style |
Referenced by SetStyleNumber(), StyleNumberEntryChanged(), and StyleSelected().
void RGFillStyleSelect::StyleNumberEntryChanged | ( | const char * | str | ) |
Slot called when style number is modified.
References style, StyleChanged(), w_number_entry, and w_style_select.
void RGFillStyleSelect::StyleSelected | ( | Style_t | s | ) |
Slot called when style selector is modified.
References style, StyleChanged(), and w_number_entry.
RGFillStyleSelect::ClassDef | ( | RGFillStyleSelect | , |
0 | |||
) |
For ROOT dictionary.