RootUtils
|
Functions | |
void | showMessageBox (const char *text, const char *title="", EMsgBoxIcon icon=EMsgBoxIcon::kMBIconAsterisk) |
Displays ROOT message box with OK button. More... | |
Int_t | showMessageBoxYesNo (const char *text, const char *title="", EMsgBoxIcon icon=EMsgBoxIcon::kMBIconQuestion) |
Displays ROOT message question box with "Yes" and "No" buttons. More... | |
TList * | getFilePaths (Bool_t isMultiple=kTRUE) |
File picker dialog. More... | |
Various ROOT GUI shortcuts such as message box, file picker.
TList * UiUtils::getFilePaths | ( | Bool_t | isMultiple = kTRUE | ) |
File picker dialog.
Returns list of TObjStrings containing selected file paths.
isMultiple | Boolean value controls if file selection should be multiple. |
title | Optional message to be displayed in a Message Box prior to the file picker. |
void UiUtils::showMessageBox | ( | const char * | text, |
const char * | title = "" , |
||
EMsgBoxIcon | icon = EMsgBoxIcon::kMBIconAsterisk |
||
) |
Displays ROOT message box with OK button.
text | Message box text. |
title | Optional message box text. |
icon | Optional message box icon.* |
Int_t UiUtils::showMessageBoxYesNo | ( | const char * | text, |
const char * | title = "" , |
||
EMsgBoxIcon | icon = EMsgBoxIcon::kMBIconQuestion |
||
) |
Displays ROOT message question box with "Yes" and "No" buttons.
text | Message box text. |
title | Optional message box title. |
icon | Optional message box icon.* |