TStyleDialog Class Reference

#include <TStyleDialog.h>

Inheritance diagram for TStyleDialog:

TGTransientFrame TGTransientFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame List of all members.

Public Member Functions

 TStyleDialog (TStyleManager *sm, TStyle *cur, Int_t mode, TVirtualPad *currentPad=0)
virtual ~TStyleDialog ()
void DoCloseWindow ()
void DoCancel ()
void DoOK ()
void DoUpdate ()
 TStyleDialog (TStyleManager *sm, TStyle *cur, Int_t mode, TVirtualPad *currentPad=0)
virtual ~TStyleDialog ()
void DoCloseWindow ()
void DoCancel ()
void DoOK ()
void DoUpdate ()

Private Attributes

TStyleManagerfStyleManager
TGTextEntryfName
TGLabelfNameLabel
TGTextEntryfTitle
TGLabelfTitleLabel
TGLabelfWarnLabel
TGTextButtonfOK
TGTextButtonfCancel
TStylefCurStyle
Int_t fMode
TVirtualPadfCurPad
TListfTrashListFrame
TListfTrashListLayout
TStyleManagerfStyleManager
TGTextEntryfName
TGLabelfNameLabel
TGTextEntryfTitle
TGLabelfTitleLabel
TGLabelfWarnLabel
TGTextButtonfOK
TGTextButtonfCancel
TStylefCurStyle
TVirtualPadfCurPad
TListfTrashListFrame
TListfTrashListLayout

Detailed Description

Definition at line 38 of file TStyleDialog.h.


Constructor & Destructor Documentation

TStyleDialog::TStyleDialog ( TStyleManager sm,
TStyle cur,
Int_t  mode,
TVirtualPad currentPad = 0 
)

Definition at line 47 of file TStyleDialog.cxx.

References TList::Add(), TGCompositeFrame::AddFrame(), TGWidget::Associate(), TGTransientFrame::CenterOnParent(), TQObject::Connect(), TString::Data(), DoUpdate(), fCancel, fCurPad, fCurStyle, fMode, fName, fNameLabel, fOK, TString::Form(), fStyleManager, fTitle, fTitleLabel, fTrashListFrame, fTrashListLayout, fWarnLabel, gClient, TVirtualPad::GetCanvas(), TGClient::GetColorByName(), TGCompositeFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultWidth(), TPad::GetName(), TNamed::GetName(), TGTextEntry::GetText(), TNamed::GetTitle(), h, h1, h2, kFALSE, kLHintsExpandX, kLHintsNormal, kNoCleanup, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), red, TGFrame::Resize(), TGCompositeFrame::SetCleanup(), TGTextEntry::SetEnabled(), TGLabel::SetTextColor(), TGButton::SetToolTipText(), TGMainFrame::SetWindowName(), TGMainFrame::SetWMSizeHints(), w, and TGClient::WaitFor().

Referenced by G__G__Ged_306_0_1().

TStyleDialog::~TStyleDialog (  )  [virtual]

Definition at line 196 of file TStyleDialog.cxx.

References TList::After(), TQObject::Disconnect(), fCancel, TList::First(), fName, fNameLabel, fOK, fTitle, fTitleLabel, fTrashListFrame, fTrashListLayout, fWarnLabel, and TList::Remove().

TStyleDialog::TStyleDialog ( TStyleManager sm,
TStyle cur,
Int_t  mode,
TVirtualPad currentPad = 0 
)

virtual TStyleDialog::~TStyleDialog (  )  [virtual]


Member Function Documentation

void TStyleDialog::DoCloseWindow (  ) 

Definition at line 247 of file TStyleDialog.cxx.

Referenced by G__G__Ged_306_0_2().

void TStyleDialog::DoCancel (  ) 

Definition at line 236 of file TStyleDialog.cxx.

References fStyleManager, kFALSE, TGMainFrame::SendCloseMessage(), and TStyleManager::SetLastChoice().

Referenced by G__G__Ged_259_0_4(), G__G__Ged_291_0_45(), G__G__Ged_293_0_39(), and G__G__Ged_306_0_3().

void TStyleDialog::DoOK (  ) 

Definition at line 256 of file TStyleDialog.cxx.

References TSeqCollection::Add(), fCurPad, fCurStyle, fMode, fName, fStyleManager, fTitle, TVirtualPad::GetCanvas(), TROOT::GetListOfStyles(), TGTextEntry::GetText(), gROOT, gROOTMutex, gStyle, kFALSE, kTRUE, R__LOCKGUARD2, TGMainFrame::SendCloseMessage(), TStyle::SetIsReading(), TStyleManager::SetLastChoice(), TNamed::SetName(), TNamed::SetTitle(), and TCanvas::UseCurrentStyle().

Referenced by G__G__Ged_259_0_6(), and G__G__Ged_306_0_4().

void TStyleDialog::DoUpdate (  ) 

Definition at line 291 of file TStyleDialog.cxx.

References fCurStyle, fMode, fName, fOK, fWarnLabel, TROOT::GetStyle(), TGTextEntry::GetText(), gROOT, kFALSE, kTRUE, TGButton::SetEnabled(), and TGLabel::SetText().

Referenced by G__G__Ged_306_0_5(), and TStyleDialog().

void TStyleDialog::DoCloseWindow (  ) 

void TStyleDialog::DoCancel (  ) 

void TStyleDialog::DoOK (  ) 

void TStyleDialog::DoUpdate (  ) 


Member Data Documentation

TStyleManager* TStyleDialog::fStyleManager [private]

Definition at line 41 of file TStyleDialog.h.

Referenced by DoCancel(), DoOK(), and TStyleDialog().

TGTextEntry* TStyleDialog::fName [private]

Reimplemented from TGWindow.

Definition at line 42 of file TStyleDialog.h.

Referenced by DoOK(), DoUpdate(), TStyleDialog(), and ~TStyleDialog().

TGLabel* TStyleDialog::fNameLabel [private]

Definition at line 43 of file TStyleDialog.h.

Referenced by TStyleDialog(), and ~TStyleDialog().

TGTextEntry* TStyleDialog::fTitle [private]

Definition at line 44 of file TStyleDialog.h.

Referenced by DoOK(), TStyleDialog(), and ~TStyleDialog().

TGLabel* TStyleDialog::fTitleLabel [private]

Definition at line 45 of file TStyleDialog.h.

Referenced by TStyleDialog(), and ~TStyleDialog().

TGLabel* TStyleDialog::fWarnLabel [private]

Definition at line 46 of file TStyleDialog.h.

Referenced by DoUpdate(), TStyleDialog(), and ~TStyleDialog().

TGTextButton* TStyleDialog::fOK [private]

Definition at line 47 of file TStyleDialog.h.

Referenced by DoUpdate(), TStyleDialog(), and ~TStyleDialog().

TGTextButton* TStyleDialog::fCancel [private]

Definition at line 48 of file TStyleDialog.h.

Referenced by TStyleDialog(), and ~TStyleDialog().

TStyle* TStyleDialog::fCurStyle [private]

Definition at line 49 of file TStyleDialog.h.

Referenced by DoOK(), DoUpdate(), and TStyleDialog().

Int_t TStyleDialog::fMode [private]

Definition at line 50 of file TStyleDialog.h.

Referenced by DoOK(), DoUpdate(), and TStyleDialog().

TVirtualPad* TStyleDialog::fCurPad [private]

Definition at line 51 of file TStyleDialog.h.

Referenced by DoOK(), and TStyleDialog().

TList* TStyleDialog::fTrashListFrame [private]

Definition at line 52 of file TStyleDialog.h.

Referenced by TStyleDialog(), and ~TStyleDialog().

TList* TStyleDialog::fTrashListLayout [private]

Definition at line 53 of file TStyleDialog.h.

Referenced by TStyleDialog(), and ~TStyleDialog().

TStyleManager* TStyleDialog::fStyleManager [private]

Definition at line 41 of file TStyleDialog.h.

TGTextEntry* TStyleDialog::fName [private]

Reimplemented from TGWindow.

Definition at line 42 of file TStyleDialog.h.

TGLabel* TStyleDialog::fNameLabel [private]

Definition at line 43 of file TStyleDialog.h.

TGTextEntry* TStyleDialog::fTitle [private]

Definition at line 44 of file TStyleDialog.h.

TGLabel* TStyleDialog::fTitleLabel [private]

Definition at line 45 of file TStyleDialog.h.

TGLabel* TStyleDialog::fWarnLabel [private]

Definition at line 46 of file TStyleDialog.h.

TGTextButton* TStyleDialog::fOK [private]

Definition at line 47 of file TStyleDialog.h.

TGTextButton* TStyleDialog::fCancel [private]

Definition at line 48 of file TStyleDialog.h.

TStyle* TStyleDialog::fCurStyle [private]

Definition at line 49 of file TStyleDialog.h.

TVirtualPad* TStyleDialog::fCurPad [private]

Definition at line 51 of file TStyleDialog.h.

TList* TStyleDialog::fTrashListFrame [private]

Definition at line 52 of file TStyleDialog.h.

TList* TStyleDialog::fTrashListLayout [private]

Definition at line 53 of file TStyleDialog.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:47:29 2011 for ROOT_528-00b_version by  doxygen 1.5.1