MAK Data Logger API Documentation for HLA
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.h"
12 #include <QtGui/QDialog>
13 
14 class QDialogButtonBox;
15 class QFrame;
16 class QHBoxLayout;
17 class QLabel;
18 class QTabWidget;
19 class QVBoxLayout;
20 
21 namespace MAKLogger
22 {
26  {
27  Q_OBJECT;
28  public:
29 
31  DtPreferencesPageDialog(QWidget* parent = 0);
32 
34  virtual ~DtPreferencesPageDialog();
35 
36  void setStatus(const QString& status);
37 
40  virtual void setIconsPerpendicularToTab(bool);
41  bool iconsPerpendicularToTab() const;
42 
43  protected slots:
44 
45  virtual void onCurrentChanged(int index);
46 
47  virtual void onAccept();
48  virtual void onReject();
49 
50  protected:
51 
52  virtual void showEvent( QShowEvent * event );
53  virtual void hideEvent( QHideEvent * event );
54 
56  virtual void addPageToGui(DtPage*);
57 
59  virtual void removePageFromGui(DtPage*);
60 
62  virtual void selectPageInGui(DtPage* page);
63 
65  void setupGui();
66 
68  void rotateIcon(int, int deg);
69 
70  protected:
73  virtual void keyPressEvent(QKeyEvent* e);
74 
75  protected:
76  QVBoxLayout* myMainLayout;
77  QTabWidget* myTabs;
79  QHBoxLayout* myBottomLayout;
81  QDialogButtonBox* myCloseButton;
84  };
85 }
86 

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)