MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrGuiUtility.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrGuiUtility_H_
10 #define lgrGuiUtility_H_
11 
12 #include <lgrGui/lgrGui.h>
13 
14 class QAbstractButton;
15 class QAction;
16 class QBoxLayout;
17 class QGridLayout;
18 class QWidget;
19 class DtString;
20 
21 namespace MAKLogger
22 {
24  DT_DLL_LGRGUI void DtReplaceWidget( QGridLayout* layout,
27  QWidget* itemToReplace, QWidget* itemToInsert );
28 
29  DT_DLL_LGRGUI void DtReplaceWidget( QBoxLayout* layout,
30  QWidget* itemToReplace, QWidget* itemToInsert );
32 
33 
35  DT_DLL_LGRGUI void syncWidget(QWidget* widget,bool enabled);
36 
38  DT_DLL_LGRGUI void syncAction(QAction* action,bool enabled);
39 
41  DT_DLL_LGRGUI void syncActionChecked(QAction* action,bool enabled);
42 
45  DT_DLL_LGRGUI DtString& timeFromSeconds(double totalSeconds, DtString& timeString);
46 
47 }
48 
49 #endif
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 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.
#define DT_DLL_LGRGUI
Definition: lgrGui.h:19
Defines INPORT/EXPORT macros for lgrGui library.
DT_DLL_LGRGUI void DtReplaceWidget(QGridLayout *layout, QWidget *itemToReplace, QWidget *itemToInsert)
Replace one widget with another widget in the layout.

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)