![]() |
ROOT 6.16/01 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#getOpenFileNames
To use, invoke ACLiC from the ROOT prompt:
To use it with no ACLiC, omit the trailing "++"
The QtMultiFileDialog creates TList of TObjString objects and returns its pointer.
The "QtFileDialog.C" macro provides the simplified version of the "QtMultiFileDialog.C"
Option: you can change the look and feel of the Qt file dialog by providing the optional parameter "style": The number of the available styles is defined by your local Qt installation. Try: "windows", "motif", "kde", "platinum" etc
The full list of the Qt classes available from Cint is defined by by $ROOTSYS/cint/lib/qtclasses.h
All Qt classes can be used from ACLiC though.
Definition in file QtMultiFileDialog.C.