VR-Forces 4.5 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:
283 
286  {
287  }
288 
291  {
292  }
293 
294  static std::string creatorName();
295 
296  protected:
299  };
300 
302  {
303  public:
306  , myManager(0)
307  {
308  }
309 
311 
312  virtual void setLogic(DtInformationDialogPageLogic* l);
313 
314  protected:
316  virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&) = 0;
317 
318  protected:
320  };
321 
323  {
324  public:
325 
328  {
329  }
330 
333  {
334  }
335 
336  static std::string creatorName();
337 
338  protected:
339  virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&);
341  };
342 
344  {
345  public:
348  {
349  }
350 
352 
353  static std::string creatorName();
354 
355  protected:
358  };
359 
361  {
362  public:
365  , myHealthLevel(0)
366  {
367  }
368 
371  , myHealthLevel(0)
372  {
373  }
374 
375  static std::string creatorName();
376  virtual bool shouldBeHidden() const;
377 
378  virtual bool needsPageLogicForWidgetRepresentation() const;
379 
380  virtual QWidget* widgetRepresentation(QWidget* parent, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
381 
382  protected:
385  virtual void stateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
386 
387  public:
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  static std::string creatorName();
426  virtual bool shouldBeHidden() const;
427 
428  protected:
431  };
432 
434  {
435  public:
438  {
439  }
440 
443  {
444  }
445 
446  virtual bool shouldBeHidden() const;
447 
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  {
566  }
567 
570  {
571  }
572 
573  virtual bool shouldBeHidden() const;
574  static std::string creatorName();
575 
576  protected:
579  };
580 
582  {
583  public:
586  , mySelectedSection(0)
587  {
588  }
589 
592  , mySelectedSection(0)
593  {
594  }
595 
596  static std::string creatorName();
597 
598  virtual bool shouldBeHidden() const;
599 
600  protected:
601  virtual QVariant value(int col, int role, const QTreeWidgetItem*,
603  virtual QWidget* widgetRepresentation(QWidget* parent, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
605  virtual void updateCombatEffectivenessIcon(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
606  virtual void updateStatusIcon(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
607 
608  virtual bool valueNeedsUpdate(int col, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
609  virtual void stateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
610  virtual void updateIcons(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
611  virtual bool eventFilter(QObject*, QEvent*);
612  virtual void adjustWidgetForColumnSpan(int colSpan);
613  virtual void adjustWidgetForRowSpan(int rowSpan);
614 
615  static QString getCombatEffectiveness(const DtRwProperties& props);
616  static QString getPersonnelStatus(const DtRwProperties& props);
617  static QString getPolStatus(const DtRwProperties& props);
618  static QString getAmmunitionStatus(const DtRwProperties& props);
619  static QString getWeaponsStatus(const DtRwProperties& props);
620 
621  protected:
624  QString myPolStatus;
627 
629  QString myPolToolTip;
632 
634 
641 
642  };
643 
645 
647  {
648  public:
649 
652  {
653  }
654 
656 
657  static std::string creatorName();
658 
659  protected:
660  virtual void stateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
661  };
662 
688  }
689 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)