GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TGo4Style Class Reference

#include <TGo4Style.h>

+ Inheritance diagram for TGo4Style:

Public Slots

virtual void SetPadColor ()
 
virtual void SetPalette (int t)
 
virtual void SetNamedPalette (int i)
 
virtual void SetContourLevels (int nlvl)
 
virtual void panelSlot (TGo4ViewPanel *panel, TPad *pad, int signalid)
 

Public Member Functions

 TGo4Style (QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=0)
 
virtual void SetPaletteRange (int min, int def, int max)
 

Protected Member Functions

Go4_Palette_t CodePalette (int i)
 
int DecodePalette (Go4_Palette_t key)
 
void RefreshPaletteText (int min, int max)
 

Protected Attributes

bool fbMenuLock
 
bool fbSettingPanelData
 

Detailed Description

Definition at line 118 of file TGo4Style.h.

Constructor & Destructor Documentation

TGo4Style::TGo4Style ( QWidget *  parent = 0,
const char *  name = 0,
Qt::WindowFlags  fl = 0 
)

Member Function Documentation

Go4_Palette_t TGo4Style::CodePalette ( int  i)
protected

Transform ROOT palette index in named palette combobox index

Definition at line 195 of file TGo4Style.cpp.

References Go4_Default, Go4_None, GO4NAMEDPAL_MAX, and GO4NAMEDPAL_MIN.

Referenced by SetNamedPalette(), and SetPalette().

int TGo4Style::DecodePalette ( Go4_Palette_t  key)
protected

Transform combobox index to ROOT palette index

Definition at line 207 of file TGo4Style.cpp.

References Go4_Default, Go4_None, and GO4NAMEDPAL_MIN.

Referenced by RefreshPaletteText(), and SetNamedPalette().

void TGo4Style::panelSlot ( TGo4ViewPanel panel,
TPad *  pad,
int  signalid 
)
virtualslot
void TGo4Style::RefreshPaletteText ( int  min,
int  max 
)
protected

Change selection menu entries according to index range

Definition at line 128 of file TGo4Style.cpp.

References DecodePalette(), GO4NAMEDPAL_MAX, and GO4NAMEDPAL_MIN.

Referenced by SetPaletteRange().

void TGo4Style::SetContourLevels ( int  nlvl)
virtualslot
void TGo4Style::SetNamedPalette ( int  i)
virtualslot

Definition at line 171 of file TGo4Style.cpp.

References CodePalette(), DecodePalette(), and fbMenuLock.

void TGo4Style::SetPadColor ( )
virtualslot
void TGo4Style::SetPalette ( int  t)
virtualslot
void TGo4Style::SetPaletteRange ( int  min,
int  def,
int  max 
)
virtual

Set default palette and minimum maximum indices

Definition at line 116 of file TGo4Style.cpp.

References RefreshPaletteText(), and SetPalette().

Referenced by TGo4Style().

Member Data Documentation

bool TGo4Style::fbMenuLock
protected

Definition at line 152 of file TGo4Style.h.

Referenced by SetNamedPalette(), and SetPalette().

bool TGo4Style::fbSettingPanelData
protected

Definition at line 154 of file TGo4Style.h.

Referenced by panelSlot(), and SetContourLevels().


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