VR-Forces 4.1 Class Documentation
DtAddTerrainPatchDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtAddTerrainPatchDialog.h,v $ $Revision: 1.13 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtAddTerrainPatchDialog_H_
14 #define DtAddTerrainPatchDialog_H_
15 
16 #include <vrvCoreQt/vrvCoreQt.h>
18 #include <vrvCore/DtDe.h>
19 #include <QtGui/QDialog>
20 
21 class QLineEdit;
22 class QLabel;
23 class QComboBox;
24 class QPushButton;
25 class QValidator;
26 class QCheckBox;
27 
28 namespace makVrv
29 {
30  class DtAddTerrainPatchLogic;
31 
35  : public QDialog
37  {
38 
39  Q_OBJECT;
40 
41  public:
42 
44  DtAddTerrainPatchDialog(DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::Tool);
45 
47  virtual ~DtAddTerrainPatchDialog();
48 
49  virtual void displayErrorMessage(ErrorMessage msg);
50 
52  virtual void setFileLabel(const std::string& filePath);
53 
55  virtual void setCoordSystemComboBox(TerrainCoordinateSystemEnum index);
56 
58  virtual void setCoordSystemParams( const std::string& params );
59 
61  void virtual setOkEnabled(bool flag);
62 
63  public slots:
64 
67  bool onBrowseClicked();
68 
70  virtual void onOkClicked();
71 
73  virtual void onCancelClicked();
74 
76  virtual void onCoordSysComboChanged(int index);
77 
79  virtual void onDdsFlipChanged(int checkState);
80 
81 
82 
83  // This would be nice to have in a Qt utility lib someplace. It doesn't belong in the
84  // FileExtensionManager, because it really is building a *QT* file filter.
85  //
86 
92  static QString fileFilter( DtDe& de, const std::string& dialogType,
93  const QString& allSpecifiedString, bool includeGlobal );
94 
95  protected:
96 
98  void setupGui();
99 
100  protected:
101 
115  };
116 }
117 
118 #endif
119 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)