MAK Data Logger API Documentation for DIS
 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) 2012 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;
81  QLabel* myStatusLabel;
82  QDialogButtonBox* myCloseButton;
85  };
86 }
87 

Document ID: Generated on Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)