Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
QRootMethodDialog Class Reference

Specialized dialog to enter arguments for method exection.

Definition at line 28 of file QRootMethodDialog.h.

Signals

void MenuCommandExecuted (TObject *obj, const char *method_name)
 

Public Member Functions

 QRootMethodDialog ()
 Create method dialog.
 
void addArg (const char *argname, const char *value, const char *type)
 Add argument.
 
QString getArg (int n)
 Get argument value.
 
void methodDialog (TContextMenu *menu, TObject *object, TFunction *func)
 Run method dialog.
 

Protected Attributes

QVBoxLayoutargLayout {nullptr}
 
QVector< QLineEdit * > fArgs
 

#include </github/home/ROOT-CI/src/gui/qt6canvas/src/QRootMethodDialog.h>

Inheritance diagram for QRootMethodDialog:
[legend]

Constructor & Destructor Documentation

◆ QRootMethodDialog()

QRootMethodDialog::QRootMethodDialog ( )

Create method dialog.

Definition at line 44 of file QRootMethodDialog.cpp.

Member Function Documentation

◆ addArg()

void QRootMethodDialog::addArg ( const char * argname,
const char * value,
const char * type )

Add argument.

Definition at line 74 of file QRootMethodDialog.cpp.

◆ getArg()

QString QRootMethodDialog::getArg ( int n)

Get argument value.

Definition at line 91 of file QRootMethodDialog.cpp.

◆ MenuCommandExecuted

void QRootMethodDialog::MenuCommandExecuted ( TObject * obj,
const char * method_name )
signal

◆ methodDialog()

void QRootMethodDialog::methodDialog ( TContextMenu * menu,
TObject * object,
TFunction * func )

Run method dialog.

Definition at line 101 of file QRootMethodDialog.cpp.

Member Data Documentation

◆ argLayout

QVBoxLayout* QRootMethodDialog::argLayout {nullptr}
protected

Definition at line 44 of file QRootMethodDialog.h.

◆ fArgs

QVector<QLineEdit*> QRootMethodDialog::fArgs
protected

Definition at line 46 of file QRootMethodDialog.h.

  • gui/qt6canvas/src/QRootMethodDialog.h
  • gui/qt6canvas/src/QRootMethodDialog.cpp