GL-overlay button.
Definition at line 22 of file TGLOverlayButton.h.
Public Types | |
| enum | ERole { kUser , kViewer , kAnnotation , kAll } |
| enum | EState { kInvisible = 1 , kDisabled = 2 , kActive = 4 , kAllVisible = kDisabled | kActive } |
Static Public Member Functions | |
| static Bool_t | AreAllSignalsBlocked () |
| Returns true if all signals are blocked. | |
| static Bool_t | BlockAllSignals (Bool_t b) |
| Block or unblock all signals. Returns the previous block status. | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static Bool_t | Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
| This method allows to make a connection from any object of the same class to a single slot. | |
| static Bool_t | Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
| Create connection between sender and receiver. | |
| static const char * | DeclFileName () |
| static Bool_t | Disconnect (const char *class_name, const char *signal, void *receiver=nullptr, const char *slot=nullptr) |
| Disconnects "class signal". | |
| static Bool_t | Disconnect (TQObject *sender, const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr) |
| Disconnects signal in object sender from slot_method in object receiver. | |
Protected Member Functions | |
| virtual void * | GetSender () |
| virtual const char * | GetSenderClassName () const |
| void | ProjectionMatrixPushIdentity () |
Static Protected Member Functions | |
| static Int_t | CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot) |
| Checking of consistency of sender/receiver methods/arguments. | |
| static TString | CompressName (const char *method_name) |
| Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature. | |
| static Bool_t | ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
| This method allows to make connection from any object of the same class to the receiver object. | |
| static Bool_t | ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
| Create connection between sender and receiver. | |
Protected Attributes | |
| Int_t | fActiveID |
| Pixel_t | fBackColor |
| TGLFont | fFont |
| Float_t | fHeight |
| Float_t | fHighAlpha |
| TList * | fListOfConnections |
| ! list of connections to this object | |
| TList * | fListOfSignals |
| ! list of signals from this object | |
| Float_t | fNormAlpha |
| Float_t | fPosX |
| Float_t | fPosY |
| ERole | fRole |
| Bool_t | fSignalsBlocked |
| ! flag used for suppression of signals | |
| EState | fState |
| TString | fText |
| Pixel_t | fTextColor |
| Float_t | fWidth |
Static Protected Attributes | |
| static Bool_t | fgAllSignalsBlocked = kFALSE |
Private Member Functions | |
| TGLOverlayButton (const TGLOverlayButton &)=delete | |
| TGLOverlayButton & | operator= (const TGLOverlayButton &)=delete |
#include <TGLOverlayButton.h>
|
inherited |
| Enumerator | |
|---|---|
| kUser | |
| kViewer | |
| kAnnotation | |
| kAll | |
Definition at line 25 of file TGLOverlay.h.
|
inherited |
| Enumerator | |
|---|---|
| kInvisible | |
| kDisabled | |
| kActive | |
| kAllVisible | |
Definition at line 27 of file TGLOverlay.h.
|
privatedelete |
| TGLOverlayButton::TGLOverlayButton | ( | TGLViewerBase * | parent, |
| const char * | text, | ||
| Float_t | posx, | ||
| Float_t | posy, | ||
| Float_t | width, | ||
| Float_t | height ) |
Constructor.
Definition at line 32 of file TGLOverlayButton.cxx.
|
inlineoverride |
Definition at line 49 of file TGLOverlayButton.h.
|
staticinherited |
Returns true if all signals are blocked.
Definition at line 1045 of file TQObject.cxx.
|
inlineinherited |
Definition at line 91 of file TQObject.h.
Block or unblock all signals. Returns the previous block status.
Definition at line 1053 of file TQObject.cxx.
Definition at line 92 of file TQObject.h.
Definition at line 199 of file TQObject.h.
|
staticprotectedinherited |
Checking of consistency of sender/receiver methods/arguments.
Returns -1 on error, otherwise number or arguments of signal function. Static method.
Definition at line 175 of file TQObject.cxx.
Definition at line 70 of file TGLOverlayButton.h.
|
virtual |
Emits "Clicked(TGLViewerBase*)" signal.
Called when user click on the GL button.
Definition at line 141 of file TGLOverlayButton.cxx.
Collect class signal lists from class cls and all its base-classes.
The recursive traversal is not performed for classes not deriving from TQClass.
Definition at line 447 of file TQObject.cxx.
Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature.
If a null or empty string is passed in, an empty string is returned.
Example:
returns the string "Draw(char*,char*,char*,int,int)".
Definition at line 94 of file TQObject.cxx.
|
staticinherited |
This method allows to make a connection from any object of the same class to a single slot.
Signal and slot string must have a form: "Draw(char*, Option_t* ,Int_t)" All blanks and "const" words will be removed,
cl != 0 - class name, it can be class with or without dictionary, e.g interpreted class. Example:
cl == 0 - corresponds to function (interpereted or global) the name of the function is defined by the slot string, parameter receiver should be 0. Example:
Warning:
If receiver class not derived from TQObject and going to be deleted, disconnect all connections to this receiver. In case of class derived from TQObject it is done automatically.
Definition at line 791 of file TQObject.cxx.
|
inherited |
Non-static method is used to connect from the signal of this object to the receiver slot.
Warning! No check on consistency of sender/receiver classes/methods.
This method makes possible to have connection/signals from interpreted class. See also RQ_OBJECT.h.
Definition at line 865 of file TQObject.cxx.
|
staticinherited |
Create connection between sender and receiver.
Signal and slot string must have a form: "Draw(char*, Option_t* ,Int_t)" All blanks and "const" words will be removed,
cl != 0 - class name, it can be class with or without dictionary, e.g interpreted class. Example:
cl == 0 - corresponds to function (interpereted or global) the name of the function is defined by the slot string, parameter receiver should be 0. Example:
Warning: If receiver is class not derived from TQObject and going to be deleted, disconnect all connections to this receiver. In case of class derived from TQObject it is done automatically.
Definition at line 699 of file TQObject.cxx.
Definition at line 194 of file TQObject.h.
|
staticprotectedinherited |
This method allows to make connection from any object of the same class to the receiver object.
Receiver class needs to have a dictionary.
Definition at line 615 of file TQObject.cxx.
|
staticprotectedinherited |
Create connection between sender and receiver.
Receiver class needs to have a dictionary.
Definition at line 559 of file TQObject.cxx.
Definition at line 70 of file TGLOverlayButton.h.
|
inlinevirtualinherited |
Reimplemented in TQConnection.
Definition at line 197 of file TQObject.h.
|
staticinherited |
Disconnects "class signal".
The class is defined by class_name. See also Connect(class_name,signal,receiver,slot).
Definition at line 1004 of file TQObject.cxx.
|
inherited |
Disconnects signal of this object from slot of receiver.
Equivalent to Disconnect(this, signal, receiver, slot)
Definition at line 1023 of file TQObject.cxx.
|
staticinherited |
Disconnects signal in object sender from slot_method in object receiver.
For objects derived from TQObject signal-slot connection is removed when either of the objects involved are destroyed.
Disconnect() is typically used in three ways, as the following examples shows:
0 may be used as a wildcard in three of the four arguments, meaning "any signal", "any receiving object" or "any slot in the receiving object", respectively.
The sender has no default and may never be 0 (you cannot disconnect signals from more than one object).
If signal is 0, it disconnects receiver and slot_method from any signal. If not, only the specified signal is disconnected.
If receiver is 0, it disconnects anything connected to signal. If not, slots in objects other than receiver are not disconnected
If slot_method is 0, it disconnects anything that is connected to receiver. If not, only slots named slot_method will be disconnected, and all other slots are left alone. The slot_method must be 0 if receiver is left out, so you cannot disconnect a specifically-named slot on all objects.
Definition at line 956 of file TQObject.cxx.
Definition at line 195 of file TQObject.h.
|
inlineinherited |
Activate signal without args.
Example: theButton->Emit("Clicked()");
Definition at line 174 of file TQObject.h.
Activate signal with single parameter.
Example:
If we call Emit with an array of the parameters, they should be converted to Longptr_t type. Example:
Definition at line 164 of file TQObject.h.
|
inlineinherited |
Emit a signal with a varying number of arguments.
Definition at line 100 of file TQObject.h.
Definition at line 59 of file TGLOverlayButton.h.
|
inherited |
Returns pointer to list of signals of this class.
Definition at line 431 of file TQObject.cxx.
|
inlineinherited |
Definition at line 89 of file TQObject.h.
|
inlineinherited |
Definition at line 88 of file TQObject.h.
|
inlineinherited |
Definition at line 53 of file TGLOverlay.h.
|
inlineprotectedvirtualinherited |
Reimplemented in TMessageHandler, TQObjSender, TSysEvtHandler, TVirtualPad, TGEventHandler, TGFrame, and TMonitor.
Definition at line 57 of file TQObject.h.
Reimplemented in TQObjSender.
Definition at line 58 of file TQObject.h.
|
inlineinherited |
Definition at line 56 of file TGLOverlay.h.
Definition at line 58 of file TGLOverlayButton.h.
Definition at line 60 of file TGLOverlayButton.h.
|
overridevirtual |
Handle overlay event.
Return TRUE if event was handled.
Reimplemented from TGLOverlayElement.
Definition at line 154 of file TGLOverlayButton.cxx.
Return true if there is any object connected to this signal.
Only checks for object signals.
Definition at line 523 of file TQObject.cxx.
|
virtualinherited |
Definition at line 473 of file TQObject.cxx.
|
inlineoverridevirtual |
Reimplemented from TQObject.
Definition at line 70 of file TGLOverlayButton.h.
|
virtualinherited |
Definition at line 500 of file TQObject.cxx.
Reimplemented in TTreeViewer.
Definition at line 201 of file TQObject.h.
|
overridevirtual |
Mouse has entered overlay area.
Reimplemented from TGLOverlayElement.
Definition at line 182 of file TGLOverlayButton.cxx.
|
overridevirtual |
Mouse has left overlay area.
Reimplemented from TGLOverlayElement.
Definition at line 191 of file TGLOverlayButton.cxx.
|
virtualinherited |
Reimplemented in TGLClipSet.
Definition at line 29 of file TGLOverlay.cxx.
|
virtualinherited |
Return number of connections for this object.
Definition at line 547 of file TQObject.cxx.
|
virtualinherited |
Return number of signals for this object.
Only checks for object signals.
Definition at line 537 of file TQObject.cxx.
|
privatedelete |
|
protectedinherited |
|
overridevirtual |
Render the overlay elements.
Implements TGLOverlayElement.
Definition at line 53 of file TGLOverlayButton.cxx.
|
inlinevirtual |
Definition at line 56 of file TGLOverlayButton.h.
Definition at line 64 of file TGLOverlayButton.h.
Definition at line 65 of file TGLOverlayButton.h.
|
inlineinherited |
Definition at line 59 of file TGLOverlay.h.
Definition at line 62 of file TGLOverlayButton.h.
|
inlineinherited |
Definition at line 54 of file TGLOverlay.h.
Definition at line 63 of file TGLOverlayButton.h.
|
inlineinherited |
Definition at line 57 of file TGLOverlay.h.
Definition at line 61 of file TGLOverlayButton.h.
Definition at line 66 of file TGLOverlayButton.h.
|
overridevirtual |
|
inline |
Definition at line 70 of file TGLOverlayButton.h.
|
protected |
Definition at line 33 of file TGLOverlayButton.h.
|
protected |
Definition at line 34 of file TGLOverlayButton.h.
|
mutableprotected |
Definition at line 44 of file TGLOverlayButton.h.
Definition at line 55 of file TQObject.h.
|
protected |
Definition at line 42 of file TGLOverlayButton.h.
|
protected |
Definition at line 37 of file TGLOverlayButton.h.
|
protectedinherited |
! list of connections to this object
Definition at line 52 of file TQObject.h.
|
protectedinherited |
! list of signals from this object
Definition at line 51 of file TQObject.h.
|
protected |
Definition at line 36 of file TGLOverlayButton.h.
|
protected |
Definition at line 39 of file TGLOverlayButton.h.
|
protected |
Definition at line 40 of file TGLOverlayButton.h.
|
protectedinherited |
Definition at line 35 of file TGLOverlay.h.
|
protectedinherited |
! flag used for suppression of signals
Definition at line 53 of file TQObject.h.
|
protectedinherited |
Definition at line 36 of file TGLOverlay.h.
|
protected |
Definition at line 32 of file TGLOverlayButton.h.
|
protected |
Definition at line 35 of file TGLOverlayButton.h.
|
protected |
Definition at line 41 of file TGLOverlayButton.h.