GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4Style.h>
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 |
Definition at line 118 of file TGo4Style.h.
TGo4Style::TGo4Style | ( | QWidget * | parent = 0 , |
const char * | name = 0 , |
||
Qt::WindowFlags | fl = 0 |
||
) |
Definition at line 28 of file TGo4Style.cpp.
References TGo4QSettings::getPaletteOpt(), Go4_Alpine, Go4_Aquamarine, Go4_Army, Go4_Atlantic, Go4_Aurora, Go4_Avocado, Go4_Beach, Go4_Bird, Go4_BlackBody, Go4_BlueGreenYellow, Go4_BlueRedYellow, Go4_BlueYellow, Go4_BrownCyan, Go4_Candy, Go4_Cherry, Go4_CMYK, Go4_Coffee, Go4_ColorPrintableOnGrey, Go4_Cool, Go4_Copper, Go4_Cubehelix, Go4_DarkBodyRadiator, Go4_DarkRainBow, Go4_DarkTerrain, Go4_DeepSea, Go4_Default, Go4_Fall, Go4_FruitPunch, Go4_Fuchsia, Go4_GistEarth, Go4_GreenBrownTerrain, Go4_GreenPink, Go4_GreenRedViolet, Go4_GreyScale, Go4_GreyYellow, Go4_InvertedDarkBodyRadiator, Go4_Island, Go4_Lake, Go4_LightTemperature, Go4_LightTerrain, Go4_Mint, Go4_Neon, Go4_None, Go4_Ocean, Go4_Pastel, Go4_Pearl, Go4_Pigeon, Go4_Plum, Go4_RainBow, Go4_RedBlue, Go4_Rose, Go4_Rust, Go4_SandyTerrain, Go4_Sienna, Go4_Solar, Go4_SouthWest, Go4_StarryNight, Go4_Sunset, Go4_TemperatureMap, Go4_Thermometer, Go4_Valentine, Go4_Viridis, Go4_VisibleSpectrum, Go4_WaterMelon, GO4NAMEDPAL_MAX, GO4NAMEDPAL_MIN, go4sett, TGo4MdiArea::Instance(), panelSlot(), and SetPaletteRange().
|
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().
|
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().
|
virtualslot |
Definition at line 223 of file TGo4Style.cpp.
References fbSettingPanelData, TGo4Picture::GetHisContour(), TGo4ViewPanel::GetPadOptions(), QGo4Widget::panel_Activated, QGo4Widget::panel_ActiveUpdated, QGo4Widget::panel_Modified, and QGo4Widget::panel_Updated.
Referenced by TGo4Style().
|
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().
|
virtualslot |
Definition at line 214 of file TGo4Style.cpp.
References TGo4ViewPanel::ChangeDrawOption(), fbSettingPanelData, TGo4MdiArea::GetActivePanel(), and TGo4MdiArea::Instance().
|
virtualslot |
Definition at line 171 of file TGo4Style.cpp.
References CodePalette(), DecodePalette(), and fbMenuLock.
|
virtualslot |
Definition at line 146 of file TGo4Style.cpp.
References TGo4ViewPanel::ChangeDrawOption(), TGo4MdiArea::GetActivePanel(), and TGo4MdiArea::Instance().
|
virtualslot |
Definition at line 156 of file TGo4Style.cpp.
References TGo4ViewPanel::ChangeDrawOption(), CodePalette(), fbMenuLock, TGo4MdiArea::GetActivePanel(), and TGo4MdiArea::Instance().
Referenced by SetPaletteRange().
|
virtual |
Set default palette and minimum maximum indices
Definition at line 116 of file TGo4Style.cpp.
References RefreshPaletteText(), and SetPalette().
Referenced by TGo4Style().
|
protected |
Definition at line 152 of file TGo4Style.h.
Referenced by SetNamedPalette(), and SetPalette().
|
protected |
Definition at line 154 of file TGo4Style.h.
Referenced by panelSlot(), and SetContourLevels().