ROOT 6.08/07 Reference Guide |
This is a small ROOT macro to use Qt 3.3 class: QFileDialog See: https://doc.qt.io/archives/3.3/qfiledialog.html#getOpenFileName
To use, invoke ACLiC from the ROOT prompt:
To use it with no ACLiC, omit the trailing "++"
The QtFileDialog returns TString object that contains the selected file name. returns its pointer. The macro QtMultiFileDialog.C provides an advanced example.
The full list of the Qt classes available from Cint is defined by begin_html by $ROOTSYS/cint/lib/qtclasses.h
All Qt classes can be used from ACLiC though.
Definition in file QtFileDialog.C.