VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
aggregateInformationPageItems.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
16 #include <vrfutil/rwProperties.h>
17 
18 class QComboBox;
19 class DtRwProperties;
20 
21 namespace makVrf
22 {
23  class DtVrfStateViewCollectionManager;
24 
25  namespace makVrfGuiObjectInformationQt
26  {
27  class DtInformationDialogPageLogic;
28  class DtLevelBar;
29 
31  {
32  public:
35  {
36  }
37 
40  {
41  }
42 
43  virtual QVariant value(int col, int role, const QTreeWidgetItem*,
45  virtual bool valueNeedsUpdate(int col, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
46 
47  virtual bool mouseReleaseEvent();
48 
51 
52  protected:
53  QString myCurrentValue;
54  };
55 
57  {
58  public:
61  {
62  }
63 
66  {
67  }
68 
69  static std::string creatorName();
70 
71  protected:
74  };
75 
77  {
78  public:
81  {
82  }
83 
86  {
87  }
88 
89  static std::string creatorName();
90 
91  protected:
94  };
95 
97  {
98  public:
99 
102  {
103  }
104 
107  {
108  }
109 
110  static std::string creatorName();
111 
112  protected:
115  };
116 
118  {
119  public:
122  {
123  }
124 
127  {
128  }
129 
130  virtual bool shouldBeHidden() const;
131 
132  static std::string creatorName();
133 
134  protected:
137  };
138 
140  {
141  public:
144  {
145  }
146 
149  {
150  }
151 
152  static std::string creatorName();
153 
154  protected:
157  };
158 
160  {
161  public:
164  {
165  }
166 
169  {
170  }
171 
172  static std::string creatorName();
173 
174  protected:
177  };
178 
180  {
181  public:
184  {
185  }
186 
189  {
190  }
191 
192  static std::string creatorName();
193 
194  protected:
197  };
198 
200  {
201  public:
204  {
205  }
206 
209  {
210  }
211 
212  static std::string creatorName();
213 
214  protected:
217  };
218 
220  {
221  public:
224  {
225  }
226 
229  {
230  }
231 
232  static std::string creatorName();
233 
234  protected:
237  };
238 
240  {
241  public:
244  {
245  }
246 
249  {
250  }
251 
252  static std::string creatorName();
253 
254  protected:
257  };
258 
260  {
261  public:
262 
265  {
266  }
267 
270  {
271  }
272 
273  static std::string creatorName();
274 
275  protected:
278  };
279 
281  {
282  public:
285  , myManager(0)
286  {
287  }
288 
290 
291  virtual void setLogic(DtInformationDialogPageLogic* l);
292 
293  protected:
295  virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&) = 0;
296 
297  protected:
299  };
300 
302  {
303  public:
304 
307  {
308  }
309 
312  {
313  }
314 
315  static std::string creatorName();
316 
317  protected:
318  virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&);
320  };
321 
323  {
324  public:
327  {
328  }
329 
331 
332  static std::string creatorName();
333 
334  protected:
337  };
338 
340  {
341  public:
344  , myHealthLevel(0)
345  {
346  }
347 
350  , myHealthLevel(0)
351  {
352  }
353 
354  static std::string creatorName();
355  virtual bool shouldBeHidden() const;
356 
357  virtual bool needsPageLogicForWidgetRepresentation() const;
358 
359  virtual QWidget* widgetRepresentation(QWidget* parent, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
360 
361  protected:
364  virtual void stateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
365 
366  public:
368  };
369 
371  {
372  public:
375  {
376  }
377 
380  {
381  }
382 
383  static std::string creatorName();
384  virtual bool shouldBeHidden() const;
385 
386  protected:
389  };
390 
392  {
393  public:
396  {
397  }
398 
401  {
402  }
403 
404  static std::string creatorName();
405  virtual bool shouldBeHidden() const;
406 
407  protected:
410  };
411 
413  {
414  public:
417  {
418  }
419 
422  {
423  }
424 
425  virtual bool shouldBeHidden() const;
426 
427  static std::string creatorName();
428 
429  protected:
432  };
433 
435  {
436  public:
439  {
440  }
441 
444  {
445  }
446 
447  virtual bool shouldBeHidden() const;
448  static std::string creatorName();
449 
450  protected:
453  };
454 
456  {
457  public:
460  {
461  }
462 
465  {
466  }
467 
468  virtual bool shouldBeHidden() const;
469  static std::string creatorName();
470 
471  protected:
474  };
475 
477  {
478  public:
481  {
482  }
483 
486  {
487  }
488 
489  virtual bool shouldBeHidden() const;
490  static std::string creatorName();
491 
492  protected:
495  };
496 
498  {
499  public:
502  {
503  }
504 
507  {
508  }
509 
510  virtual bool shouldBeHidden() const;
511  static std::string creatorName();
512 
513  protected:
516  };
517 
519  {
520  public:
523  {
524  }
525 
528  {
529  }
530 
531  virtual bool shouldBeHidden() const;
532  static std::string creatorName();
533 
534  protected:
537  };
538 
540  {
541  public:
544  {
545  }
546 
549  {
550  }
551 
552  virtual bool shouldBeHidden() const;
553  static std::string creatorName();
554 
555  protected:
558  };
559 
561  {
562  public:
565  , mySelectedSection(0)
566  {
567  }
568 
571  , mySelectedSection(0)
572  {
573  }
574 
575  static std::string creatorName();
576 
577  virtual bool shouldBeHidden() const;
578 
579  protected:
580  virtual QVariant value(int col, int role, const QTreeWidgetItem*,
582  virtual QWidget* widgetRepresentation(QWidget* parent, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
584  virtual void updateCombatEffectivenessIcon(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
585  virtual void updateStatusIcon(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
586 
587  virtual bool valueNeedsUpdate(int col, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
588  virtual void stateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
589  virtual void updateIcons(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
590  virtual bool eventFilter(QObject*, QEvent*);
591  virtual void adjustWidgetForColumnSpan(int colSpan);
592  virtual void adjustWidgetForRowSpan(int rowSpan);
593 
594  static QString getCombatEffectiveness(const DtRwProperties& props);
595  static QString getPersonnelStatus(const DtRwProperties& props);
596  static QString getPolStatus(const DtRwProperties& props);
597  static QString getAmmunitionStatus(const DtRwProperties& props);
598  static QString getWeaponsStatus(const DtRwProperties& props);
599 
600  protected:
603  QString myPolStatus;
606 
608  QString myPolToolTip;
611 
613 
620 
621  };
622 
624 
626  {
627  public:
628 
631  {
632  }
633 
635 
636  static std::string creatorName();
637 
638  protected:
639  virtual void stateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
640  };
641 
666  }
667 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)