33#include <NDEVR/QCustomMessageBox.h>
34#include <NDEVR/QCustomStackedWidget.h>
A message box displays a primary text to alert the user to a situation, an informative text to furthe...
The core String View class for the NDEVR API.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
void setupLoading(const TranslatedString &message, const StringView &image)
Adds a loading page with a progress indicator, message, and image.
void setupYesNo(const TranslatedString &message, const StringView &image, fltp08 image_size_mult, std::function< void()> on_yes, std::function< void()> on_no)
Adds a yes/no question page with an image at a custom size.
void setupAck(const TranslatedString &message, std::function< void()> on_select)
Adds an acknowledgment page requiring the user to confirm.
void setupLoading(const TranslatedString &message)
Adds a loading page with a progress indicator and message.
QCustomMessageBox * m_message_box
The message box used for question and acknowledgment pages.
void setupYesNo(const TranslatedString &message, const StringView &image, std::function< void()> on_yes, std::function< void()> on_no)
Adds a yes/no question page with an accompanying image.
void setupAck(const TranslatedString &message, const StringView &image, std::function< void()> on_select)
Adds an acknowledgment page with an accompanying image.
void setupYesNo(const TranslatedString &message, std::function< void()> on_yes, std::function< void()> on_no)
Adds a yes/no question page to the dialog.
void setupAck(const TranslatedString &message, const StringView &image, fltp08 image_size_mult, std::function< void()> on_select)
Adds an acknowledgment page with an image at a custom size.
void requestHideSignal()
Signal emitted to request that the dialog be hidden.
ProgressWidget * m_loading_page
The progress widget used for loading pages.
TroubleshootingDialog(const TranslatedString &title, QWidget *parent=nullptr)
Constructs a troubleshooting dialog with the given title.
The primary namespace for the NDEVR SDK.
double fltp08
Defines an alias representing an 8 byte floating-point number.