VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
includeFilesEditor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 
14 #include <QtGui/QDialog>
15 #include <QtCore/QStringList>
16 
17 #include <set>
18 #include <map>
19 
20 class QPushButton;
21 class QLabel;
22 class QHBoxLayout;
23 
24 namespace makVrv
25 {
26  class DtDe;
27 }
28 
29 namespace makVrf
30 {
31  class DtFileListWidget;
32 }
33 
35 {
36  Q_OBJECT
37 
38 public:
40  virtual ~DtIncludeFilesWidget();
41 
42  virtual void setFiles(const QStringList&);
43  virtual QStringList smsFiles() const;
44  virtual void setStartingDirectory(const QString&);
45  virtual void setPathsRelativeToApplication(bool);
46 
47 protected slots:
48  virtual void itemSelectionChanged();
49  virtual void onMoveUp();
50  virtual void onMoveDown();
51 
52 signals:
53  void filesChanged(const QStringList&);
54 
55 protected:
57 
58 public:
65  QHBoxLayout* myButtonLayout;
66 };
67 
70 {
71  Q_OBJECT
72 
73 public:
74  DtIncludeFilesEditor(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = Qt::Tool);
75  virtual ~DtIncludeFilesEditor();
76 
77  virtual QStringList smsFiles() const;
78 
79 protected slots:
80  virtual void onFilesChanged(const QStringList&);
81 
82 public:
86  QHBoxLayout* myButtonLayout;
89 
90 protected:
91  QStringList mySmsFiles;
92 };
93 
96 {
97 public:
100 
102  virtual ~DtIncludeFilesEditorCreator();
103 
105  static DtIncludeFilesEditorCreator& instance(makVrv::DtDe&);
106 
108  static void registerInstance(makVrv::DtDe&, DtIncludeFilesEditorCreator*);
109 
111  virtual DtIncludeFilesEditor* create(QWidget* parent);
112 
113 protected:
115 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)