9 #ifndef lgrGuiUtility_H_
10 #define lgrGuiUtility_H_
DT_DLL_LGRGUI DtString & timeFromSeconds(double totalSeconds, DtString &timeString)
Convert the time in seconds into a string of format h:mm:ss.ss Use the supplied string four output an...
DT_DLL_LGRGUI QString DtLgrTimelineTimeString(double seconds)
Format seconds the way the Time Line labels its ticks (hh:mm:ss.hh).
DT_DLL_LGRGUI void syncAction(QAction *action, bool enabled)
Make a widget enabled (if necessary) minimize state changes.
DT_DLL_LGRGUI void syncWidget(QWidget *widget, bool enabled)
Make a widget enabled (if necessary) minimize state changes.
DT_DLL_LGRGUI void syncActionChecked(QAction *action, bool enabled)
Make a widget enabled (if necessary) minimize state changes.
DT_DLL_LGRGUI QColor DtThemeColor(const QString &tokenName, const QColor &fallback)
MAK ONE theme color tokens for custom-painted code.
#define DT_DLL_LGRGUI
Definition: lgrGui.h:19
Defines INPORT/EXPORT macros for lgrGui library.
DT_DLL_LGRGUI void DtLoadThemeTokens(const QString &tokensFilePath)
MAK ONE theme color tokens for custom-painted code.
DT_DLL_LGRGUI void DtReplaceWidget(QGridLayout *layout, QWidget *itemToReplace, QWidget *itemToInsert)
Replace one widget with another widget in the layout.