39 enum EStyleDialogWid {
103 }
else if (
fMode == 2) {
128 TString newTitle(
"Imported from canvas ");
144 gClient->GetColorByName(
"#FF0000", red);
188 Connect(
"CloseWindow()",
"TStyleDialog",
this,
"DoCloseWindow()");
189 fName->
Connect(
"TextChanged(const char *)",
"TStyleDialog",
this,
"DoUpdate()");
190 fOK->
Connect(
"Clicked()",
"TStyleDialog",
this,
"DoOK()");
191 fCancel->
Connect(
"Clicked()",
"TStyleDialog",
this,
"DoCancel()");
273 gROOT->GetListOfStyles()->Add(tmpStyle);
virtual const char * GetTitle() const
Returns title of object.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
void DoOK()
Slot called when the OK button is clicked.
virtual void CenterOnParent(Bool_t croot=kTRUE, EPlacement pos=kCenter)
Position transient frame centered relative to the parent frame.
void SetWindowName(const char *name=0)
Set window name. This is typically done via the window manager.
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
R__EXTERN TStyle * gStyle
virtual void SetName(const char *name)
Change (i.e.
TStyleDialog(TStyleManager *sm, TStyle *cur, Int_t mode, TVirtualPad *currentPad=0)
Constructor.
R__EXTERN TVirtualMutex * gROOTMutex
const char * Data() const
void DoCancel()
Slot called when the Cancel button is clicked.
virtual TObject * After(const TObject *obj) const
Returns the object after object obj.
virtual void SetText(TGString *newText)
Set new text in label.
void SetWMSizeHints(UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc)
Give the window manager minimum and maximum size hints.
UChar_t mod R__LOCKGUARD2(gSrvAuthenticateMutex)
const char * GetText() const
TVirtualPad is an abstract base class for the Pad and Canvas classes.
const char * GetName() const
Returns name of object.
TStyle objects may be created to define special styles.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
TStyleManager * fStyleManager
virtual void SendCloseMessage()
Send close message to self.
void SetLastChoice(Bool_t choice)
virtual UInt_t GetDefaultWidth() const
void SetIsReading(Bool_t reading=kTRUE)
Sets the fIsReading member to reading (default=kTRUE) fIsReading (used via gStyle->IsReading()) can b...
virtual TObject * Remove(TObject *obj)
Remove object from the list.
virtual UInt_t GetDefaultHeight() const
virtual ~TStyleDialog()
Destructor.
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.
virtual const char * GetName() const
Returns name of object.
void DoUpdate()
Slot called every time the name is changed.
void SetEnabled(Bool_t flag=kTRUE)
ClassImp(TStyleDialog) enum EStyleDialogWid
virtual void SetCleanup(Int_t mode=kLocalCleanup)
Turn on automatic cleanup of child frames in dtor.
Bool_t Disconnect(const char *signal=0, void *receiver=0, const char *slot=0)
Disconnects signal of this object from slot of receiver.
void DoCloseWindow()
Slot called when the window is closed via the window manager.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
Mother of all ROOT objects.
void UseCurrentStyle()
Force a copy of current style for all objects in canvas.
virtual TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
virtual void Add(TObject *obj)
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
virtual TCanvas * GetCanvas() const =0