Index: /trunk/src/VBox/Frontends/VirtualBox/src/UIVMInfoDialog.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/UIVMInfoDialog.cpp	(revision 51304)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/UIVMInfoDialog.cpp	(revision 51305)
@@ -1,11 +1,9 @@
 /* $Id$ */
 /** @file
- *
- * VBox frontends: Qt4 GUI ("VirtualBox"):
- * UIVMInfoDialog class implementation
+ * VBox Qt GUI - UIVMInfoDialog class implementation.
  */
 
 /*
- * Copyright (C) 2006-2012 Oracle Corporation
+ * Copyright (C) 2006-2014 Oracle Corporation
  *
  * This file is part of VirtualBox Open Source Edition (OSE), as
@@ -76,6 +74,7 @@
     : QIWithRetranslateUI<QMainWindow>(0)
     , m_pPseudoParentWidget(pMachineWindow)
+    , mIsPolished (false)
+    , mWidth(0), mHeight(0), mMax(false)
     , mSession (pMachineWindow->session())
-    , mIsPolished (false)
     , mStatTimer (new QTimer (this))
 {
Index: /trunk/src/VBox/Frontends/VirtualBox/src/UIVMInfoDialog.h
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/UIVMInfoDialog.h	(revision 51304)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/UIVMInfoDialog.h	(revision 51305)
@@ -1,10 +1,8 @@
 /** @file
- *
- * VBox frontends: Qt4 GUI ("VirtualBox"):
- * UIVMInfoDialog class declaration
+ * VBox Qt GUI - UIVMInfoDialog class declaration.
  */
 
 /*
- * Copyright (C) 2006-2012 Oracle Corporation
+ * Copyright (C) 2006-2014 Oracle Corporation
  *
  * This file is part of VirtualBox Open Source Edition (OSE), as
@@ -17,6 +15,6 @@
  */
 
-#ifndef __VBoxVMInformationDlg_h__
-#define __VBoxVMInformationDlg_h__
+#ifndef ___UIVMInfoDialog_h___
+#define ___UIVMInfoDialog_h___
 
 /* Qt includes: */
@@ -24,6 +22,6 @@
 
 /* GUI includes: */
+#include "QIWithRetranslateUI.h"
 #include "UIVMInfoDialog.gen.h"
-#include "QIWithRetranslateUI.h"
 
 /* COM includes: */
@@ -31,7 +29,9 @@
 #include "CSession.h"
 
+/* Forward declarations: */
 class UIMachineWindow;
 class QTimer;
 
+/** QMainWindow based dialog providing user with VM details and statistics. */
 class UIVMInfoDialog : public QIWithRetranslateUI<QMainWindow>, public Ui::UIVMInfoDialog
 {
@@ -40,58 +40,96 @@
 public:
 
-    typedef QMap <QString, QString> DataMapType;
-    typedef QMap <QString, QStringList> LinksMapType;
-    struct CounterElementType { QString type; DataMapType list; };
+    /** Instance pointer map. */
     typedef QMap <QString, UIVMInfoDialog*> InfoDlgMap;
 
+    /** VM statistics counter data map. */
+    typedef QMap <QString, QString> DataMapType;
+    /** VM statistics counter links map. */
+    typedef QMap <QString, QStringList> LinksMapType;
+    /** VM statistics counter struct. */
+    struct CounterElementType { QString type; DataMapType list; };
+
+    /** Factory function to create information-dialog for passed @a pMachineWindow. */
     static void createInformationDlg(UIMachineWindow *pMachineWindow);
 
 protected:
 
+    /** Information dialog constructor. */
     UIVMInfoDialog(UIMachineWindow *pMachineWindow);
-   ~UIVMInfoDialog();
+    /** Information dialog destructor. */
+    ~UIVMInfoDialog();
 
+    /** Translation handler. */
     void retranslateUi();
 
+    /** Common event-handler. */
     virtual bool event (QEvent *aEvent);
+    /** Resize event-handler. */
     virtual void resizeEvent (QResizeEvent *aEvent);
+    /** Show event-handler. */
     virtual void showEvent (QShowEvent *aEvent);
 
 private slots:
 
+    /** Slot to update general VM details. */
     void updateDetails();
+    /** Slot to update runtime VM statistics. */
     void processStatistics();
+    /** Slot to handle tab-widget page change. */
     void onPageChanged (int aIndex);
 
 private:
 
+    /** Helper to parse passed VM statistics @a aText. */
     QString parseStatistics (const QString &aText);
+    /** Helper to re-acquire whole VM statistics. */
     void refreshStatistics();
 
+    /** Helper to format common VM statistics value. */
     QString formatValue (const QString &aValueName, const QString &aValue, int aMaxSize);
+    /** Helper to format VM storage-medium statistics value. */
     QString formatMedium (const QString &aCtrName, LONG aPort, LONG aDevice, const QString &aBelongsTo);
+    /** Helper to format VM network-adapter statistics value. */
     QString formatAdapter (ULONG aSlot, const QString &aBelongsTo);
 
+    /** Helper to compose user-oriented article. */
     QString composeArticle (const QString &aBelongsTo, int aSpacesCount = 0);
 
+    /** @name General variables.
+     * @{ */
+    /** Dialog instance array. */
     static InfoDlgMap  mSelfArray;
+    /** Widget to center dialog according. */
+    QWidget           *m_pPseudoParentWidget;
+    /** Whether dialog was polished. */
+    bool               mIsPolished;
+    /** @} */
 
-    /** Widget to center UIMediumManager according. */
-    QWidget           *m_pPseudoParentWidget;
+    /** @name Geometry variables.
+     * @{ */
+    /** Current dialog width. */
+    int                mWidth;
+    /** Current dialog height. */
+    int                mHeight;
+    /** Whether dialog maximized. */
+    bool               mMax;
+    /** @} */
 
+    /** @name VM details/statistics variables.
+     * @{ */
+    /** Session to acquire VM details/statistics from. */
     CSession           mSession;
-    bool               mIsPolished;
+    /** VM statistics update timer. */
     QTimer            *mStatTimer;
-
-    int                mWidth;
-    int                mHeight;
-    bool               mMax;
-
+    /** VM statistics counter names. */
     DataMapType        mNamesMap;
+    /** VM statistics counter values. */
     DataMapType        mValuesMap;
+    /** VM statistics counter units. */
     DataMapType        mUnitsMap;
+    /** VM statistics counter links. */
     LinksMapType       mLinksMap;
+    /** @} */
 };
 
-#endif // __VBoxVMInformationDlg_h__
-
+#endif /* !___UIVMInfoDialog_h___ */
