Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
QRootMethodDialog.h
Go to the documentation of this file.
1// Original code derived from QRootDialog
2// from https://go4.gsi.de project
3// Author : Denis Bertini 01.11.2000
4
5// Author: Sergey Linev, GSI 30/06/2026
6
7/*************************************************************************
8 * Copyright (C) 1995-2026, Rene Brun and Fons Rademakers. *
9 * All rights reserved. *
10 * *
11 * For the licensing terms see $ROOTSYS/LICENSE. *
12 * For the list of contributors see $ROOTSYS/README/CREDITS. *
13 *************************************************************************/
14
15
16#ifndef ROOT_QRootMethodDialog
17#define ROOT_QRootMethodDialog
18
19#include <QtCore/QVector>
20#include <QDialog>
21
22class QLineEdit;
23class QVBoxLayout;
24class TObject;
25class TFunction;
26class TContextMenu;
27
30
31 public:
33
34 void addArg(const char *argname, const char *value, const char *type);
35
36 QString getArg(int n);
37
38 void methodDialog(TContextMenu *menu, TObject *object, TFunction* func);
39
40 signals:
41 void MenuCommandExecuted(TObject *obj, const char *method_name);
42
43 protected:
45
47};
48
49#endif
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Specialized dialog to enter arguments for method exection.
QVector< QLineEdit * > fArgs
QString getArg(int n)
Get argument value.
QVBoxLayout * argLayout
void addArg(const char *argname, const char *value, const char *type)
Add argument.
void MenuCommandExecuted(TObject *obj, const char *method_name)
void methodDialog(TContextMenu *menu, TObject *object, TFunction *func)
Run method dialog.
QRootMethodDialog()
Create method dialog.
This class provides an interface to context sensitive popup menus.
Global functions class (global functions are obtained from CINT).
Definition TFunction.h:30
Mother of all ROOT objects.
Definition TObject.h:42
const Int_t n
Definition legend1.C:16