#include <TStyleDialog.h>
Inheritance diagram for TStyleDialog:
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 | |
TStyleManager * | fStyleManager |
TGTextEntry * | fName |
TGLabel * | fNameLabel |
TGTextEntry * | fTitle |
TGLabel * | fTitleLabel |
TGLabel * | fWarnLabel |
TGTextButton * | fOK |
TGTextButton * | fCancel |
TStyle * | fCurStyle |
Int_t | fMode |
TVirtualPad * | fCurPad |
TList * | fTrashListFrame |
TList * | fTrashListLayout |
TStyleManager * | fStyleManager |
TGTextEntry * | fName |
TGLabel * | fNameLabel |
TGTextEntry * | fTitle |
TGLabel * | fTitleLabel |
TGLabel * | fWarnLabel |
TGTextButton * | fOK |
TGTextButton * | fCancel |
TStyle * | fCurStyle |
TVirtualPad * | fCurPad |
TList * | fTrashListFrame |
TList * | fTrashListLayout |
Definition at line 38 of file TStyleDialog.h.
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] |
void TStyleDialog::DoCloseWindow | ( | ) |
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 | ( | ) |
TStyleManager* TStyleDialog::fStyleManager [private] |
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] |
TGTextEntry* TStyleDialog::fTitle [private] |
Definition at line 44 of file TStyleDialog.h.
Referenced by DoOK(), TStyleDialog(), and ~TStyleDialog().
TGLabel* TStyleDialog::fTitleLabel [private] |
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] |
TStyle* TStyleDialog::fCurStyle [private] |
Int_t TStyleDialog::fMode [private] |
TVirtualPad* TStyleDialog::fCurPad [private] |
TList* TStyleDialog::fTrashListFrame [private] |
TList* TStyleDialog::fTrashListLayout [private] |
TStyleManager* TStyleDialog::fStyleManager [private] |
Definition at line 41 of file TStyleDialog.h.
TGTextEntry* TStyleDialog::fName [private] |
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.