33#include <NDEVR/LogStream.h>
34#include <NDEVR/String.h>
35#include <NDEVR/ProgressWidget.h>
36#include <NDEVR/QCustomLabel.h>
148 QTimer* m_hide_timer;
149 QVBoxLayout* m_layout;
150 QHBoxLayout* m_widget_layout;
152 mutable QPointer<ProgressWidget> m_progress_bar;
159 bool m_pending_update =
false;
160 bool m_is_sub_session =
false;
The equivelent of std::vector but with a bit more control.
A class that allows for specific log information to be conveyed to a InfoPipe object including inform...
A listener that receives and processes log messages and progress updates from an InfoPipe.
Displays translated text.
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
A ResourceListener which will always be executed on the main UI thread and can be tied to a Qt Object...
void requestUpdateLog()
Signal emitted to request a UI update for the log display.
void allowCancel(bool) final override
No-op implementation; cancellation is not supported by the status bar.
StatusBar(QTModelManager *manager, QWidget *parent=nullptr)
Constructs a StatusBar managed by a QTModelManager.
void addMessage(uint04 id, const LogMessage &message) final override
Adds a log message to the status bar display.
void setVertical(bool)
Placeholder for setting vertical orientation.
void hideLogMessage()
Slot that hides the currently displayed log message.
QSize sizeHint() const override
Returns the preferred size hint for the status bar.
void updateUI()
Slot that triggers a UI refresh.
void requestRemoteWidgetSignal(bool use_remote)
Signal emitted to request toggling between local and remote widget display.
void setVisible(bool visible) override
Shows or hides the status bar widget.
StatusBar(QWidget *parent=nullptr)
Constructs a standalone StatusBar widget.
Buffer< QPointer< QWidget > > remoteWidgets()
Returns a buffer of widgets that can be displayed remotely.
ProgressWidget * progressBar()
Returns the progress bar widget, creating it if necessary.
bool ownsWidgets() const
Checks whether this status bar owns its child widgets.
QSize minimumSizeHint() const override
Returns the minimum size hint for the status bar.
void setProgress(uint04 idx, fltp04 progress) final override
Updates the progress bar to reflect the current progress value.
The core String class for the NDEVR API.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
The primary namespace for the NDEVR SDK.
float fltp04
Defines an alias representing a 4 byte floating-point number Bit layout is as follows: -Sign: 1 bit a...
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...