ROOT
6.06/09
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 | myclose () |
void | newDoc () |
New incoming functionality documentation. More... | |
void | load () |
IO Loading: More... | |
void | load (const char *fileName) |
IO Loading function: More... | |
void | save () |
Saving results function: More... | |
void | saveAs () |
saving pictures, in different supported formats More... | |
void | print () |
print results in a specified format More... | |
void | about () |
online help about Qt&Root Main Application More... | |
void | aboutQt () |
online help about this Qt based Application More... | |
void | execute () |
Main slot action upon ROOT classes. More... | |
void | clear_histo () |
Main slot to reinitialize the objects. More... | |
void | closeQtRoot () |
Protected Member Functions | |
void | closeEvent (QCloseEvent *ce) |
Private Attributes | |
QString | filename |
QPrinter * | printer |
TQRootCanvas * | aCanvas |
TQRootCanvas * | aCanvas2 |
TH1F * | histo |
TF1 * | sqroot |
TFormula * | form1 |
TPad * | pad1 |
TPad * | pad2 |
QTabWidget * | tab |
QWidget * | central |
ApplicationWindow::ApplicationWindow | ( | ) |
Definition at line 116 of file qtroot.cpp.
Referenced by newDoc().
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.
Referenced by ApplicationWindow().
|
protectedslot |
online help about this Qt based Application
Definition at line 401 of file qtroot.cpp.
Referenced by ApplicationWindow().
|
protectedslot |
Main slot to reinitialize the objects.
Definition at line 292 of file qtroot.cpp.
Referenced by ApplicationWindow().
|
protected |
Definition at line 359 of file qtroot.cpp.
|
inlineprotectedslot |
|
protectedslot |
Main slot action upon ROOT classes.
Definition at line 303 of file qtroot.cpp.
Referenced by ApplicationWindow().
|
protectedslot |
IO Loading:
Definition at line 334 of file qtroot.cpp.
Referenced by ApplicationWindow().
|
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.
Referenced by ApplicationWindow().
|
protectedslot |
print results in a specified format
Definition at line 355 of file qtroot.cpp.
Referenced by ApplicationWindow().
|
protectedslot |
Saving results function:
@ etc...
Definition at line 347 of file qtroot.cpp.
Referenced by ApplicationWindow(), and closeEvent().
|
protectedslot |
saving pictures, in different supported formats
Definition at line 351 of file qtroot.cpp.
Referenced by ApplicationWindow().
|
private |
Definition at line 158 of file qtroot.h.
Referenced by ApplicationWindow(), execute(), and ~ApplicationWindow().
|
private |
Definition at line 158 of file qtroot.h.
Referenced by ApplicationWindow().
|
private |
Definition at line 161 of file qtroot.h.
Referenced by ApplicationWindow().
|
private |
Definition at line 159 of file qtroot.h.
Referenced by ApplicationWindow(), clear_histo(), execute(), and ~ApplicationWindow().
|
private |
Definition at line 162 of file qtroot.h.
Referenced by ApplicationWindow(), and execute().
|
private |
Definition at line 162 of file qtroot.h.
Referenced by ApplicationWindow().
|
private |
Definition at line 157 of file qtroot.h.
Referenced by ApplicationWindow(), and ~ApplicationWindow().
|
private |
Definition at line 160 of file qtroot.h.
Referenced by ApplicationWindow().
|
private |
Definition at line 163 of file qtroot.h.
Referenced by ApplicationWindow().