VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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  , myLastUpdateTime(0)
461  {
462  }
463 
466  , myLastUpdateTime(0)
467  {
468  }
469 
470  virtual bool shouldBeHidden() const;
471  static std::string creatorName();
472 
473  protected:
476 
479  virtual void slot_tick();
480 
481  protected:
484  };
485 
487  {
488  public:
491  {
492  }
493 
496  {
497  }
498 
499  virtual bool shouldBeHidden() const;
500  static std::string creatorName();
501 
502  protected:
505  };
506 
508  {
509  public:
512  {
513  }
514 
517  {
518  }
519 
520  virtual bool shouldBeHidden() const;
521  static std::string creatorName();
522 
523  protected:
526  };
527 
529  {
530  public:
533  {
534  }
535 
538  {
539  }
540 
541  virtual bool shouldBeHidden() const;
542  static std::string creatorName();
543 
544  protected:
547  };
548 
550  {
551  public:
554  {
555  }
556 
559  {
560  }
561 
562  virtual bool shouldBeHidden() const;
563  static std::string creatorName();
564 
565  protected:
568  };
569 
571  {
572  public:
575  {
576  }
577 
580  {
581  }
582 
583  virtual bool shouldBeHidden() const;
584  static std::string creatorName();
585 
586  protected:
589  };
590 
592  {
593  public:
594 
597  {
598  }
599 
602  {
603  }
604 
605  virtual bool shouldBeHidden() const;
606  static std::string creatorName();
607 
608  protected:
611  };
612 
614  {
615  public:
618  {
619  }
620 
623  {
624  }
625 
626  virtual bool shouldBeHidden() const;
627  static std::string creatorName();
628 
629  protected:
632  };
633 
635  {
636  public:
639  , mySelectedSection(0)
640  {
641  }
642 
645  , mySelectedSection(0)
646  {
647  }
648 
649  static std::string creatorName();
650 
651  virtual bool shouldBeHidden() const;
652 
653  protected:
654  virtual QVariant value(int col, int role, const QTreeWidgetItem*,
656  virtual QWidget* widgetRepresentation(QWidget* parent, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
658  virtual void updateCombatEffectivenessIcon(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
659  virtual void updateStatusIcon(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
660 
661  virtual bool valueNeedsUpdate(int col, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
662  virtual void stateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
663  virtual void updateIcons(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
664  virtual bool eventFilter(QObject*, QEvent*);
665  virtual void adjustWidgetForColumnSpan(int colSpan);
666  virtual void adjustWidgetForRowSpan(int rowSpan);
667 
668  static QString getCombatEffectiveness(const DtRwProperties& props);
669  static QString getPersonnelStatus(const DtRwProperties& props);
670  static QString getPolStatus(const DtRwProperties& props);
671  static QString getAmmunitionStatus(const DtRwProperties& props);
672  static QString getWeaponsStatus(const DtRwProperties& props);
673 
674  protected:
677  QString myPolStatus;
680 
682  QString myPolToolTip;
685 
687 
694 
695  };
696 
698 
700  {
701  public:
702 
705  {
706  }
707 
709 
710  static std::string creatorName();
711 
712  protected:
713  virtual void stateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
714  };
715 
743  }
744 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)