ROOT 6.08/07 Reference Guide |
Main Qt&Root Application Window:
Simple Example how to use a QMainWindow class embedding a ROOT Canvas attached as its Central Widget.
Simple example using QMainWindow together with an QRootCanvas
Services: Simple example
Public Member Functions | |
ApplicationWindow () | |
~ApplicationWindow () | |
Protected Slots | |
void | about () |
online help about Qt&Root Main Application More... | |
void | aboutQt () |
online help about this Qt based Application More... | |
void | clear_histo () |
Main slot to reinitialize the objects. More... | |
void | closeQtRoot () |
void | execute () |
Main slot action upon ROOT classes. More... | |
void | load () |
IO Loading: More... | |
void | load (const char *fileName) |
IO Loading function: More... | |
void | myclose () |
void | newDoc () |
New incoming functionality documentation. More... | |
void | print () |
print results in a specified format More... | |
void | save () |
Saving results function: More... | |
void | saveAs () |
saving pictures, in different supported formats More... | |
Protected Member Functions | |
void | closeEvent (QCloseEvent *ce) |
Private Attributes | |
TQRootCanvas * | aCanvas |
TQRootCanvas * | aCanvas2 |
QWidget * | central |
QString | filename |
TFormula * | form1 |
TH1F * | histo |
TPad * | pad1 |
TPad * | pad2 |
QPrinter * | printer |
TF1 * | sqroot |
QTabWidget * | tab |
ApplicationWindow::ApplicationWindow | ( | ) |
Definition at line 116 of file qtroot.cpp.
ApplicationWindow::~ApplicationWindow | ( | ) |
Definition at line 284 of file qtroot.cpp.
|
protectedslot |
online help about Qt&Root Main Application
Definition at line 394 of file qtroot.cpp.
|
protectedslot |
online help about this Qt based Application
Definition at line 401 of file qtroot.cpp.
|
protectedslot |
Main slot to reinitialize the objects.
Definition at line 292 of file qtroot.cpp.
|
protected |
Definition at line 359 of file qtroot.cpp.
|
inlineprotectedslot |
|
protectedslot |
|
protectedslot |
IO Loading:
Definition at line 334 of file qtroot.cpp.
|
protectedslot |
IO Loading function:
Definition at line 343 of file qtroot.cpp.
|
protectedslot |
New incoming functionality documentation.
Definition at line 328 of file qtroot.cpp.
|
protectedslot |
print results in a specified format
Definition at line 355 of file qtroot.cpp.
|
protectedslot |
Saving results function:
@ etc...
Definition at line 347 of file qtroot.cpp.
|
protectedslot |
saving pictures, in different supported formats
Definition at line 351 of file qtroot.cpp.
|
private |
|
private |