MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
preferencesPageDialog.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 #pragma once
10 #include <lgrGui/lgrGui.h>
12 
13 #include <QDialog>
14 
15 class QDialogButtonBox;
16 class QFrame;
17 class QHBoxLayout;
18 class QLabel;
19 class QTabWidget;
20 class QVBoxLayout;
21 
22 namespace MAKLogger
23 {
27  {
28  Q_OBJECT;
29  public:
30 
32  DtPreferencesPageDialog(QWidget* parent = 0);
33 
35  virtual ~DtPreferencesPageDialog();
36 
37  void setStatus(const QString& status);
38 
41  virtual void setIconsPerpendicularToTab(bool);
42  bool iconsPerpendicularToTab() const;
43 
44  protected slots:
45 
46  virtual void onCurrentChanged(int index);
47 
48  virtual void onAccept();
49  virtual void onReject();
50 
51  protected:
52 
53  virtual void showEvent( QShowEvent * event );
54  virtual void hideEvent( QHideEvent * event );
55 
57  virtual void addPageToGui(DtPage*);
58 
60  virtual void removePageFromGui(DtPage*);
61 
63  virtual void selectPageInGui(DtPage* page);
64 
66  void setupGui();
67 
69  void rotateIcon(int, int deg);
70 
71  protected:
74  virtual void keyPressEvent(QKeyEvent* e);
75 
76  protected:
77  QVBoxLayout* myMainLayout;
78  QTabWidget* myTabs;
80  QHBoxLayout* myBottomLayout;
82  QDialogButtonBox* myCloseButton;
85  };
86 }
87 
QVBoxLayout * myMainLayout
Definition: preferencesPageDialog.h:77
DtPage * myActivePage
Definition: preferencesPageDialog.h:83
QDialogButtonBox * myCloseButton
Definition: preferencesPageDialog.h:82
QLabel * myStatusLabel
Definition: preferencesPageDialog.h:81
The DtPreferencesPageCollection is an abstract class which implements the page collection interface...
Definition: preferencesPageCollection.h:22
The DtPreferencesPageDialog is a generic dialog that contains a number of DtPages that it displays in...
Definition: preferencesPageDialog.h:26
The page is a single widget component which is viewed in a page collection.
Definition: preferencesPage.h:20
bool myIconsPerpendicularToTab
Definition: preferencesPageDialog.h:84
QTabWidget * myTabs
Definition: preferencesPageDialog.h:78
#define DT_DLL_LGRGUI
Definition: lgrGui.h:19
QHBoxLayout * myBottomLayout
Definition: preferencesPageDialog.h:80
Contains DtPreferencesPageCollection class.
Defines INPORT/EXPORT macros for lgrGui library.
QFrame * myHorizontalLine
Definition: preferencesPageDialog.h:79

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)