VirtualBox

Changeset 101011 in vbox


Ignore:
Timestamp:
Sep 4, 2023 6:09:24 PM (15 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10513: Re-inhering properties/settings editors from common UIEditor interface; That will make it easier to work on editor hierarchy for the dialog which has editor tree, like properties/settings dialogs.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
103 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r100989 r101011  
    901901        src/settings/editors/UIDisplayScreenFeaturesEditor.h \
    902902        src/settings/editors/UIDragAndDropEditor.h \
     903        src/settings/editors/UIEditor.h \
    903904        src/settings/editors/UIExecutionCapEditor.h \
    904905        src/settings/editors/UIFontScaleEditor.h \
     
    14871488        src/settings/editors/UIDisplayScreenFeaturesEditor.cpp \
    14881489        src/settings/editors/UIDragAndDropEditor.cpp \
     1490        src/settings/editors/UIEditor.cpp \
    14891491        src/settings/editors/UIExecutionCapEditor.cpp \
    14901492        src/settings/editors/UIFontScaleEditor.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAccelerationFeaturesEditor.cpp

    r98103 r101011  
    3737
    3838UIAccelerationFeaturesEditor::UIAccelerationFeaturesEditor(QWidget *pParent /* = 0 */)
    39     : QIWithRetranslateUI<QWidget>(pParent)
     39    : UIEditor(pParent)
    4040    , m_fEnableNestedPaging(false)
    4141    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAccelerationFeaturesEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* Forward declarations: */
     
    4040class QLabel;
    4141
    42 /** QWidget subclass used as acceleration features editor. */
    43 class SHARED_LIBRARY_STUFF UIAccelerationFeaturesEditor : public QIWithRetranslateUI<QWidget>
     42/** UIEditor sub-class used as acceleration features editor. */
     43class SHARED_LIBRARY_STUFF UIAccelerationFeaturesEditor : public UIEditor
    4444{
    4545    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioControllerEditor.cpp

    r98103 r101011  
    4242
    4343UIAudioControllerEditor::UIAudioControllerEditor(QWidget *pParent /* = 0 */)
    44     : QIWithRetranslateUI<QWidget>(pParent)
     44    : UIEditor(pParent)
    4545    , m_enmValue(KAudioControllerType_Max)
    4646    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioControllerEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    4743class QLabel;
    4844
    49 /** QWidget subclass used as an audio controller editor. */
    50 class SHARED_LIBRARY_STUFF UIAudioControllerEditor : public QIWithRetranslateUI<QWidget>
     45/** UIEditor sub-class used as an audio controller editor. */
     46class SHARED_LIBRARY_STUFF UIAudioControllerEditor : public UIEditor
    5147{
    5248    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioFeaturesEditor.cpp

    r98103 r101011  
    3636
    3737UIAudioFeaturesEditor::UIAudioFeaturesEditor(QWidget *pParent /* = 0 */)
    38     : QIWithRetranslateUI<QWidget>(pParent)
     38    : UIEditor(pParent)
    3939    , m_fEnableOutput(false)
    4040    , m_fEnableInput(false)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioFeaturesEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* Forward declarations: */
     
    4040class QLabel;
    4141
    42 /** QWidget subclass used as audio features editor. */
    43 class SHARED_LIBRARY_STUFF UIAudioFeaturesEditor : public QIWithRetranslateUI<QWidget>
     42/** UIEditor sub-class used as audio features editor. */
     43class SHARED_LIBRARY_STUFF UIAudioFeaturesEditor : public UIEditor
    4444{
    4545    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioHostDriverEditor.cpp

    r98103 r101011  
    4242
    4343UIAudioHostDriverEditor::UIAudioHostDriverEditor(QWidget *pParent /* = 0 */)
    44     : QIWithRetranslateUI<QWidget>(pParent)
     44    : UIEditor(pParent)
    4545    , m_enmValue(KAudioDriverType_Max)
    4646    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioHostDriverEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    4743class QLabel;
    4844
    49 /** QWidget subclass used as an audio host driver editor. */
    50 class SHARED_LIBRARY_STUFF UIAudioHostDriverEditor : public QIWithRetranslateUI<QWidget>
     45/** UIEditor sub-class used as an audio host driver editor. */
     46class SHARED_LIBRARY_STUFF UIAudioHostDriverEditor : public UIEditor
    5147{
    5248    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioSettingsEditor.cpp

    r98103 r101011  
    3939
    4040UIAudioSettingsEditor::UIAudioSettingsEditor(QWidget *pParent /* = 0 */)
    41     : QIWithRetranslateUI<QWidget>(pParent)
     41    : UIEditor(pParent)
    4242    , m_fFeatureEnabled(false)
    4343    , m_pCheckboxFeature(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioSettingsEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036#include "UIPortForwardingTable.h"
    4137
     
    4945class UIAudioHostDriverEditor;
    5046
    51 /** QWidget subclass used as a audio settings editor. */
    52 class SHARED_LIBRARY_STUFF UIAudioSettingsEditor : public QIWithRetranslateUI<QWidget>
     47/** UIEditor sub-class used as a audio settings editor. */
     48class SHARED_LIBRARY_STUFF UIAudioSettingsEditor : public UIEditor
    5349{
    5450    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAutoCaptureKeyboardEditor.cpp

    r98103 r101011  
    3636
    3737UIAutoCaptureKeyboardEditor::UIAutoCaptureKeyboardEditor(QWidget *pParent /* = 0 */)
    38     : QIWithRetranslateUI<QWidget>(pParent)
     38    : UIEditor(pParent)
    3939    , m_fValue(false)
    4040    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAutoCaptureKeyboardEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* Forward declarations: */
     
    3939class QLabel;
    4040
    41 /** QWidget subclass used as an auto capture keyboard editor. */
    42 class SHARED_LIBRARY_STUFF UIAutoCaptureKeyboardEditor : public QIWithRetranslateUI<QWidget>
     41/** UIEditor sub-class used as an auto capture keyboard editor. */
     42class SHARED_LIBRARY_STUFF UIAutoCaptureKeyboardEditor : public UIEditor
    4343{
    4444    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIBaseMemoryEditor.cpp

    r98103 r101011  
    249249
    250250UIBaseMemoryEditor::UIBaseMemoryEditor(QWidget *pParent /* = 0 */)
    251     : QIWithRetranslateUI<QWidget>(pParent)
     251    : UIEditor(pParent)
    252252    , m_iValue(0)
    253253    , m_pLayout(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIBaseMemoryEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* Forward declarations: */
     
    4541class UIBaseMemorySlider;
    4642
    47 /** QWidget subclass used as a base memory editor. */
    48 class SHARED_LIBRARY_STUFF UIBaseMemoryEditor : public QIWithRetranslateUI<QWidget>
     43/** UIEditor sub-class used as a base memory editor. */
     44class SHARED_LIBRARY_STUFF UIBaseMemoryEditor : public UIEditor
    4945{
    5046    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIBootOrderEditor.cpp

    r98103 r101011  
    444444
    445445UIBootOrderEditor::UIBootOrderEditor(QWidget *pParent /* = 0 */)
    446     : QIWithRetranslateUI<QWidget>(pParent)
     446    : UIEditor(pParent)
    447447    , m_pLayout(0)
    448448    , m_pLabel(0)
     
    481481    /* Skip events sent to unrelated objects: */
    482482    if (m_pTable && pObject != m_pTable)
    483         return QIWithRetranslateUI<QWidget>::eventFilter(pObject, pEvent);
     483        return UIEditor::eventFilter(pObject, pEvent);
    484484
    485485    /* Handle only required event types: */
     
    499499
    500500    /* Call to base-class: */
    501     return QIWithRetranslateUI<QWidget>::eventFilter(pObject, pEvent);
     501    return UIEditor::eventFilter(pObject, pEvent);
    502502}
    503503
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIBootOrderEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
    36 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    3736
    3837/* COM includes: */
     
    9392
    9493
    95 /** QWidget subclass used as boot order editor. */
    96 class SHARED_LIBRARY_STUFF UIBootOrderEditor : public QIWithRetranslateUI<QWidget>
     94/** UIEditor sub-class used as boot order editor. */
     95class SHARED_LIBRARY_STUFF UIBootOrderEditor : public UIEditor
    9796{
    9897    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIChipsetEditor.cpp

    r98103 r101011  
    4242
    4343UIChipsetEditor::UIChipsetEditor(QWidget *pParent /* = 0 */)
    44     : QIWithRetranslateUI<QWidget>(pParent)
     44    : UIEditor(pParent)
    4545    , m_enmValue(KChipsetType_Max)
    4646    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIChipsetEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    4743class QLabel;
    4844
    49 /** QWidget subclass used as a chipset editor. */
    50 class SHARED_LIBRARY_STUFF UIChipsetEditor : public QIWithRetranslateUI<QWidget>
     45/** UIEditor sub-class used as a chipset editor. */
     46class SHARED_LIBRARY_STUFF UIChipsetEditor : public UIEditor
    5147{
    5248    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIColorThemeEditor.cpp

    r98103 r101011  
    3838
    3939UIColorThemeEditor::UIColorThemeEditor(QWidget *pParent /* = 0 */)
    40     : QIWithRetranslateUI<QWidget>(pParent)
     40    : UIEditor(pParent)
    4141    , m_enmValue(UIColorThemeType_Auto)
    4242    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIColorThemeEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3936#include "UIExtraDataDefs.h"
    40 #include "UILibraryDefs.h"
    4137
    4238/* Forward declarations: */
     
    4440class QLabel;
    4541
    46 /** QWidget subclass used as a color theme editor. */
    47 class SHARED_LIBRARY_STUFF UIColorThemeEditor : public QIWithRetranslateUI<QWidget>
     42/** UIEditor sub-class used as a color theme editor. */
     43class SHARED_LIBRARY_STUFF UIColorThemeEditor : public UIEditor
    4844{
    4945    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDefaultMachineFolderEditor.cpp

    r98103 r101011  
    3737
    3838UIDefaultMachineFolderEditor::UIDefaultMachineFolderEditor(QWidget *pParent /* = 0 */)
    39     : QIWithRetranslateUI<QWidget>(pParent)
     39    : UIEditor(pParent)
    4040    , m_strValue(QString())
    4141    , m_pLayout(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDefaultMachineFolderEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* Forward declarations: */
     
    4440class UIFilePathSelector;
    4541
    46 /** QWidget subclass used as a default machine folder editor. */
    47 class SHARED_LIBRARY_STUFF UIDefaultMachineFolderEditor : public QIWithRetranslateUI<QWidget>
     42/** UIEditor sub-class used as a default machine folder editor. */
     43class SHARED_LIBRARY_STUFF UIDefaultMachineFolderEditor : public UIEditor
    4844{
    4945    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDescriptionEditor.cpp

    r98103 r101011  
    3535
    3636UIDescriptionEditor::UIDescriptionEditor(QWidget *pParent /* = 0 */)
    37     : QIWithRetranslateUI<QWidget>(pParent)
     37    : UIEditor(pParent)
    3838    , m_pTextEdit(0)
    3939{
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDescriptionEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* Forward declarations: */
    3838class QTextEdit;
    3939
    40 /** QWidget subclass used as machine description editor. */
    41 class SHARED_LIBRARY_STUFF UIDescriptionEditor : public QIWithRetranslateUI<QWidget>
     40/** UIEditor sub-class used as machine description editor. */
     41class SHARED_LIBRARY_STUFF UIDescriptionEditor : public UIEditor
    4242{
    4343    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDiskEncryptionSettingsEditor.cpp

    r98103 r101011  
    3939
    4040UIDiskEncryptionSettingsEditor::UIDiskEncryptionSettingsEditor(QWidget *pParent /* = 0 */)
    41     : QIWithRetranslateUI<QWidget>(pParent)
     41    : UIEditor(pParent)
    4242    , m_fFeatureEnabled(false)
    4343    , m_enmCipherType(UIDiskEncryptionCipherType_Max)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDiskEncryptionSettingsEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* COM includes: */
     
    4343class QLabel;
    4444class QLineEdit;
    45 class QWidget;
    4645
    47 /** QWidget subclass used as a disk encryption settings editor. */
    48 class SHARED_LIBRARY_STUFF UIDiskEncryptionSettingsEditor : public QIWithRetranslateUI<QWidget>
     46/** UIEditor sub-class used as a disk encryption settings editor. */
     47class SHARED_LIBRARY_STUFF UIDiskEncryptionSettingsEditor : public UIEditor
    4948{
    5049    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDisplayFeaturesEditor.cpp

    r100064 r101011  
    3939
    4040UIDisplayFeaturesEditor::UIDisplayFeaturesEditor(QWidget *pParent /* = 0 */)
    41     : QIWithRetranslateUI<QWidget>(pParent)
     41    : UIEditor(pParent)
    4242    , m_fActivateOnMouseHover(false)
    4343    , m_fDisableHostScreenSaver(false)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDisplayFeaturesEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* Forward declarations: */
     
    4040class QLabel;
    4141
    42 /** QWidget subclass used as display features editor. */
    43 class SHARED_LIBRARY_STUFF UIDisplayFeaturesEditor : public QIWithRetranslateUI<QWidget>
     42/** UIEditor sub-class used as display features editor. */
     43class SHARED_LIBRARY_STUFF UIDisplayFeaturesEditor : public UIEditor
    4444{
    4545    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDisplayScreenFeaturesEditor.cpp

    r98103 r101011  
    3636
    3737UIDisplayScreenFeaturesEditor::UIDisplayScreenFeaturesEditor(QWidget *pParent /* = 0 */)
    38     : QIWithRetranslateUI<QWidget>(pParent)
     38    : UIEditor(pParent)
    3939    , m_fEnable3DAcceleration(false)
    4040    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDisplayScreenFeaturesEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* Forward declarations: */
     
    4040class QLabel;
    4141
    42 /** QWidget subclass used as machine display screen features editor. */
    43 class SHARED_LIBRARY_STUFF UIDisplayScreenFeaturesEditor : public QIWithRetranslateUI<QWidget>
     42/** UIEditor sub-class used as machine display screen features editor. */
     43class SHARED_LIBRARY_STUFF UIDisplayScreenFeaturesEditor : public UIEditor
    4444{
    4545    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDragAndDropEditor.cpp

    r98103 r101011  
    4242
    4343UIDragAndDropEditor::UIDragAndDropEditor(QWidget *pParent /* = 0 */)
    44     : QIWithRetranslateUI<QWidget>(pParent)
     44    : UIEditor(pParent)
    4545    , m_enmValue(KDnDMode_Max)
    4646    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDragAndDropEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    4743class QLabel;
    4844
    49 /** QWidget subclass used as a drag&drop editor. */
    50 class SHARED_LIBRARY_STUFF UIDragAndDropEditor : public QIWithRetranslateUI<QWidget>
     45/** UIEditor sub-class used as a drag&drop editor. */
     46class SHARED_LIBRARY_STUFF UIDragAndDropEditor : public UIEditor
    5147{
    5248    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIEditor.cpp

    r101004 r101011  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIDescriptionEditor class implementation.
     3 * VBox Qt GUI - UIEditor class implementation.
    44 */
    55
     
    2626 */
    2727
    28 /* Qt includes: */
    29 #include <QTextEdit>
    30 #include <QVBoxLayout>
    31 
    3228/* GUI includes: */
    33 #include "UIDescriptionEditor.h"
     29#include "UIEditor.h"
    3430
    3531
    36 UIDescriptionEditor::UIDescriptionEditor(QWidget *pParent /* = 0 */)
     32UIEditor::UIEditor(QWidget *pParent /* = 0 */)
    3733    : QIWithRetranslateUI<QWidget>(pParent)
    38     , m_pTextEdit(0)
    3934{
    40     prepare();
    4135}
    42 
    43 void UIDescriptionEditor::setValue(const QString &strValue)
    44 {
    45     /* Update cached value and
    46      * text-edit if value has changed: */
    47     if (m_strValue != strValue)
    48     {
    49         m_strValue = strValue;
    50         if (m_pTextEdit)
    51             m_pTextEdit->setPlainText(strValue);
    52     }
    53 }
    54 
    55 QString UIDescriptionEditor::value() const
    56 {
    57     return m_pTextEdit ? m_pTextEdit->toPlainText() : m_strValue;
    58 }
    59 
    60 void UIDescriptionEditor::retranslateUi()
    61 {
    62     if (m_pTextEdit)
    63         m_pTextEdit->setToolTip(tr("Holds the description of the virtual machine. The description field is useful "
    64                                    "for commenting on configuration details of the installed guest OS."));
    65 }
    66 
    67 void UIDescriptionEditor::prepare()
    68 {
    69     /* Prepare main layout: */
    70     QVBoxLayout *pLayout = new QVBoxLayout(this);
    71     if (pLayout)
    72     {
    73         pLayout->setContentsMargins(0, 0, 0, 0);
    74 
    75         /* Prepare text-edit: */
    76         m_pTextEdit = new QTextEdit(this);
    77         if (m_pTextEdit)
    78         {
    79             setFocusProxy(m_pTextEdit);
    80             m_pTextEdit->setAcceptRichText(false);
    81 #ifdef VBOX_WS_MAC
    82             m_pTextEdit->setMinimumHeight(150);
    83 #endif
    84 
    85             pLayout->addWidget(m_pTextEdit);
    86         }
    87     }
    88 
    89     /* Apply language settings: */
    90     retranslateUi();
    91 }
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIEditor.h

    r101004 r101011  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIDescriptionEditor class declaration.
     3 * VBox Qt GUI - UIEditor class declaration.
    44 */
    55
     
    2626 */
    2727
    28 #ifndef FEQT_INCLUDED_SRC_settings_editors_UIDescriptionEditor_h
    29 #define FEQT_INCLUDED_SRC_settings_editors_UIDescriptionEditor_h
     28#ifndef FEQT_INCLUDED_SRC_settings_editors_UIEditor_h
     29#define FEQT_INCLUDED_SRC_settings_editors_UIEditor_h
    3030#ifndef RT_WITHOUT_PRAGMA_ONCE
    3131# pragma once
     
    3535#include "QIWithRetranslateUI.h"
    3636
    37 /* Forward declarations: */
    38 class QTextEdit;
    39 
    40 /** QWidget subclass used as machine description editor. */
    41 class SHARED_LIBRARY_STUFF UIDescriptionEditor : public QIWithRetranslateUI<QWidget>
     37/** QWidget sub-class used as editor interface. */
     38class SHARED_LIBRARY_STUFF UIEditor : public QIWithRetranslateUI<QWidget>
    4239{
    4340    Q_OBJECT;
     
    4643
    4744    /** Constructs editor passing @a pParent to the base-class. */
    48     UIDescriptionEditor(QWidget *pParent = 0);
    49 
    50     /** Defines editor @a strValue. */
    51     void setValue(const QString &strValue);
    52     /** Returns editor value. */
    53     QString value() const;
     45    UIEditor(QWidget *pParent = 0);
    5446
    5547protected:
    5648
    57     /** Handles translation event. */
    58     virtual void retranslateUi() RT_OVERRIDE;
    59 
    60 private:
    61 
    62     /** Prepares all. */
    63     void prepare();
    64 
    65     /** Holds the value to be set. */
    66     QString  m_strValue;
    67 
    68     /** Holds the check-box instance. */
    69     QTextEdit *m_pTextEdit;
     49    /** Holds the list of sub-editors. */
     50    QList<UIEditor*> m_editors;
    7051};
    7152
    72 #endif /* !FEQT_INCLUDED_SRC_settings_editors_UIDescriptionEditor_h */
     53#endif /* !FEQT_INCLUDED_SRC_settings_editors_UIEditor_h */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIExecutionCapEditor.cpp

    r98103 r101011  
    3939
    4040UIExecutionCapEditor::UIExecutionCapEditor(QWidget *pParent /* = 0 */)
    41     : QIWithRetranslateUI<QWidget>(pParent)
     41    : UIEditor(pParent)
    4242    , m_uMinExecCap(1)
    4343    , m_uMedExecCap(40)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIExecutionCapEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3936
    4037/* Forward declarations: */
     
    4441class QIAdvancedSlider;
    4542
    46 /** QWidget subclass used as a execution cap editor. */
    47 class SHARED_LIBRARY_STUFF UIExecutionCapEditor : public QIWithRetranslateUI<QWidget>
     43/** UIEditor sub-class used as a execution cap editor. */
     44class SHARED_LIBRARY_STUFF UIExecutionCapEditor : public UIEditor
    4845{
    4946    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIFontScaleEditor.cpp

    r98103 r101011  
    6161
    6262UIFontScaleEditor::UIFontScaleEditor(QWidget *pParent)
    63     : QIWithRetranslateUI<QWidget>(pParent)
     63    : UIEditor(pParent)
    6464    , m_pLayout(0)
    6565    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIFontScaleEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
    36 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    3736
    3837/* Forward declarations: */
    3938class QGridLayout;
    4039class QLabel;
    41 class QSpinBox;
    42 class QWidget;
    4340class QIAdvancedSlider;
    4441class UIFontScaleFactorSpinBox;
    4542
    46 /** QWidget reimplementation providing GUI with monitor scale factor editing functionality.
     43/** UIEditor sub-class providing GUI with monitor scale factor editing functionality.
    4744  * It includes a combo box to select a monitor, a slider, and a spinbox to display/modify values.
    4845  * The first item in the combo box is used to change the scale factor of all monitors. */
    49 class SHARED_LIBRARY_STUFF UIFontScaleEditor : public QIWithRetranslateUI<QWidget>
     46class SHARED_LIBRARY_STUFF UIFontScaleEditor : public UIEditor
    5047{
    5148    Q_OBJECT;
     
    9390    void setSpinBoxValue(int iValue);
    9491
    95 
    9692    /** @name Member widgets.
    9793      * @{ */
    98         QGridLayout      *m_pLayout;
    99         QLabel           *m_pLabel;
    100         QIAdvancedSlider *m_pScaleSlider;
    101         UIFontScaleFactorSpinBox         *m_pScaleSpinBox;
    102         QLabel           *m_pMinScaleLabel;
    103         QLabel           *m_pMaxScaleLabel;
     94        QGridLayout              *m_pLayout;
     95        QLabel                   *m_pLabel;
     96        QIAdvancedSlider         *m_pScaleSlider;
     97        UIFontScaleFactorSpinBox *m_pScaleSpinBox;
     98        QLabel                   *m_pMinScaleLabel;
     99        QLabel                   *m_pMaxScaleLabel;
    104100    /** @} */
     101
    105102    /** Hold the factor by which we divided spinbox's @a range to set slider's range to make slider mouse move stop on ticks. */
    106103    const int m_iSliderRangeDivisor;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIGraphicsControllerEditor.cpp

    r98103 r101011  
    4242
    4343UIGraphicsControllerEditor::UIGraphicsControllerEditor(QWidget *pParent /* = 0 */)
    44     : QIWithRetranslateUI<QWidget>(pParent)
     44    : UIEditor(pParent)
    4545    , m_enmValue(KGraphicsControllerType_Max)
    4646    , m_pLayout(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIGraphicsControllerEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    4743class QLabel;
    4844
    49 /** QWidget subclass used as a graphics controller editor. */
    50 class SHARED_LIBRARY_STUFF UIGraphicsControllerEditor : public QIWithRetranslateUI<QWidget>
     45/** UIEditor sub-class used as a graphics controller editor. */
     46class SHARED_LIBRARY_STUFF UIGraphicsControllerEditor : public UIEditor
    5147{
    5248    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UILanguageSettingsEditor.cpp

    r98103 r101011  
    211211
    212212UILanguageSettingsEditor::UILanguageSettingsEditor(QWidget *pParent /* = 0 */)
    213     : QIWithRetranslateUI<QWidget>(pParent)
     213    : UIEditor(pParent)
    214214    , m_fPolished(false)
    215215    , m_pLabelSeparator(0)
     
    268268{
    269269    /* Call to base-class: */
    270     QIWithRetranslateUI<QWidget>::showEvent(pEvent);
     270    UIEditor::showEvent(pEvent);
    271271
    272272    /* Polish if necessary: */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UILanguageSettingsEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* Forward declartions: */
     
    4141class QITreeWidget;
    4242
    43 /** QWidget subclass used as a language settings editor. */
    44 class SHARED_LIBRARY_STUFF UILanguageSettingsEditor : public QIWithRetranslateUI<QWidget>
     43/** UIEditor sub-class used as a language settings editor. */
     44class SHARED_LIBRARY_STUFF UILanguageSettingsEditor : public UIEditor
    4545{
    4646    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMaximumGuestScreenSizeEditor.cpp

    r100899 r101011  
    6767
    6868UIMaximumGuestScreenSizeEditor::UIMaximumGuestScreenSizeEditor(QWidget *pParent /* = 0 */)
    69     : QIWithRetranslateUI<QWidget>(pParent)
     69    : UIEditor(pParent)
    7070    , m_pLayout(0)
    7171    , m_pLabelPolicy(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMaximumGuestScreenSizeEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3936#include "UIExtraDataDefs.h"
    40 #include "UILibraryDefs.h"
    4137
    4238/* Forward declarations: */
     
    6965
    7066
    71 /** QWidget subclass used as a maximum guest screen size editor. */
    72 class SHARED_LIBRARY_STUFF UIMaximumGuestScreenSizeEditor : public QIWithRetranslateUI<QWidget>
     67/** UIEditor sub-class used as a maximum guest screen size editor. */
     68class SHARED_LIBRARY_STUFF UIMaximumGuestScreenSizeEditor : public UIEditor
    7369{
    7470    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMiniToolbarSettingsEditor.cpp

    r98103 r101011  
    3636
    3737UIMiniToolbarSettingsEditor::UIMiniToolbarSettingsEditor(QWidget *pParent /* = 0 */)
    38     : QIWithRetranslateUI<QWidget>(pParent)
     38    : UIEditor(pParent)
    3939    , m_fShowMiniToolbar(false)
    4040    , m_fMiniToolbarAtTop(false)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMiniToolbarSettingsEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* Forward declarations: */
     
    4040class QLabel;
    4141
    42 /** QWidget subclass used as mini-toolbar editor. */
    43 class SHARED_LIBRARY_STUFF UIMiniToolbarSettingsEditor : public QIWithRetranslateUI<QWidget>
     42/** UIEditor sub-class used as mini-toolbar editor. */
     43class SHARED_LIBRARY_STUFF UIMiniToolbarSettingsEditor : public UIEditor
    4444{
    4545    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMonitorCountEditor.cpp

    r98103 r101011  
    4343
    4444UIMonitorCountEditor::UIMonitorCountEditor(QWidget *pParent /* = 0 */)
    45     : QIWithRetranslateUI<QWidget>(pParent)
     45    : UIEditor(pParent)
    4646    , m_iValue(1)
    4747    , m_pLayout(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMonitorCountEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* Forward declarations: */
     
    4541class QIAdvancedSlider;
    4642
    47 /** QWidget subclass used as a monitor count editor. */
    48 class SHARED_LIBRARY_STUFF UIMonitorCountEditor : public QIWithRetranslateUI<QWidget>
     43/** UIEditor sub-class used as a monitor count editor. */
     44class SHARED_LIBRARY_STUFF UIMonitorCountEditor : public UIEditor
    4945{
    5046    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMotherboardFeaturesEditor.cpp

    r98103 r101011  
    3939
    4040UIMotherboardFeaturesEditor::UIMotherboardFeaturesEditor(QWidget *pParent /* = 0 */)
    41     : QIWithRetranslateUI<QWidget>(pParent)
     41    : UIEditor(pParent)
    4242    , m_fEnableIoApic(false)
    4343    , m_fEnableUtcTime(false)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMotherboardFeaturesEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* Forward declarations: */
     
    4141class QPushButton;
    4242
    43 /** QWidget subclass used as motherboard features editor. */
    44 class SHARED_LIBRARY_STUFF UIMotherboardFeaturesEditor : public QIWithRetranslateUI<QWidget>
     43/** UIEditor sub-class used as motherboard features editor. */
     44class SHARED_LIBRARY_STUFF UIMotherboardFeaturesEditor : public UIEditor
    4545{
    4646    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp

    r100241 r101011  
    5656                                             bool fChooseEdition /* = false */,
    5757                                             bool fChooseType /* = true */)
    58     : QIWithRetranslateUI<QWidget>(pParent)
     58    : UIEditor(pParent)
    5959    , m_fChooseName(fChooseName)
    6060    , m_fChoosePath(fChoosePath)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    5248class UIMarkableLineEdit;
    5349
    54 /** QWidget subclass providing complex editor for basic VM parameters. */
    55 class SHARED_LIBRARY_STUFF UINameAndSystemEditor : public QIWithRetranslateUI<QWidget>
     50/** UIEditor sub-class providing complex editor for basic VM parameters. */
     51class SHARED_LIBRARY_STUFF UINameAndSystemEditor : public UIEditor
    5652{
    5753    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINetworkAttachmentEditor.cpp

    r98103 r101011  
    5454
    5555UINetworkAttachmentEditor::UINetworkAttachmentEditor(QWidget *pParent /* = 0 */)
    56     : QIWithRetranslateUI<QWidget>(pParent)
     56    : UIEditor(pParent)
    5757    , m_enmRestrictedNetworkAttachmentTypes(UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork_Invalid)
    5858    , m_enmType(KNetworkAttachmentType_Max)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINetworkAttachmentEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3936#include "UIExtraDataDefs.h"
    40 #include "UILibraryDefs.h"
    4137
    4238/* COM includes: */
     
    4844class QLabel;
    4945
    50 /** QWidget subclass used as a network attachment editor. */
    51 class SHARED_LIBRARY_STUFF UINetworkAttachmentEditor : public QIWithRetranslateUI<QWidget>
     46/** UIEditor sub-class used as a network attachment editor. */
     47class SHARED_LIBRARY_STUFF UINetworkAttachmentEditor : public UIEditor
    5248{
    5349    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINetworkFeaturesEditor.cpp

    r98103 r101011  
    4949
    5050UINetworkFeaturesEditor::UINetworkFeaturesEditor(QWidget *pParent /* = 0 */)
    51     : QIWithRetranslateUI<QWidget>(pParent)
     51    : UIEditor(pParent)
    5252    , m_fAdvancedButtonExpanded(false)
    5353    , m_enmAdapterType(KNetworkAdapterType_Null)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINetworkFeaturesEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636#include "UIMachineSettingsPortForwardingDlg.h"
    3737
     
    4949class QIToolButton;
    5050
    51 /** QWidget subclass used as a network features editor. */
    52 class SHARED_LIBRARY_STUFF UINetworkFeaturesEditor : public QIWithRetranslateUI<QWidget>
     51/** UIEditor sub-class used as a network features editor. */
     52class SHARED_LIBRARY_STUFF UINetworkFeaturesEditor : public UIEditor
    5353{
    5454    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINetworkSettingsEditor.cpp

    r98103 r101011  
    3838
    3939UINetworkSettingsEditor::UINetworkSettingsEditor(QWidget *pParent /* = 0 */)
    40     : QIWithRetranslateUI<QWidget>(pParent)
     40    : UIEditor(pParent)
    4141    , m_fFeatureEnabled(false)
    4242    , m_pCheckboxFeature(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINetworkSettingsEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036#include "UIPortForwardingTable.h"
    4137
     
    4844class UINetworkFeaturesEditor;
    4945
    50 /** QWidget subclass used as a network settings editor. */
    51 class SHARED_LIBRARY_STUFF UINetworkSettingsEditor : public QIWithRetranslateUI<QWidget>
     46/** UIEditor sub-class used as a network settings editor. */
     47class SHARED_LIBRARY_STUFF UINetworkSettingsEditor : public UIEditor
    5248{
    5349    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIParavirtProviderEditor.cpp

    r98103 r101011  
    4242
    4343UIParavirtProviderEditor::UIParavirtProviderEditor(QWidget *pParent /* = 0 */)
    44     : QIWithRetranslateUI<QWidget>(pParent)
     44    : UIEditor(pParent)
    4545    , m_enmValue(KParavirtProvider_Max)
    4646    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIParavirtProviderEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    4743class QLabel;
    4844
    49 /** QWidget subclass used as an paravirtualization provider editor. */
    50 class SHARED_LIBRARY_STUFF UIParavirtProviderEditor : public QIWithRetranslateUI<QWidget>
     45/** UIEditor sub-class used as an paravirtualization provider editor. */
     46class SHARED_LIBRARY_STUFF UIParavirtProviderEditor : public UIEditor
    5147{
    5248    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIPointingHIDEditor.cpp

    r98103 r101011  
    4242
    4343UIPointingHIDEditor::UIPointingHIDEditor(QWidget *pParent /* = 0 */)
    44     : QIWithRetranslateUI<QWidget>(pParent)
     44    : UIEditor(pParent)
    4545    , m_enmValue(KPointingHIDType_Max)
    4646    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIPointingHIDEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    4743class QLabel;
    4844
    49 /** QWidget subclass used as a pointing HID editor. */
    50 class SHARED_LIBRARY_STUFF UIPointingHIDEditor : public QIWithRetranslateUI<QWidget>
     45/** UIEditor sub-class used as a pointing HID editor. */
     46class SHARED_LIBRARY_STUFF UIPointingHIDEditor : public UIEditor
    5147{
    5248    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIProcessorFeaturesEditor.cpp

    r98103 r101011  
    3636
    3737UIProcessorFeaturesEditor::UIProcessorFeaturesEditor(QWidget *pParent /* = 0 */)
    38     : QIWithRetranslateUI<QWidget>(pParent)
     38    : UIEditor(pParent)
    3939    , m_fEnablePae(false)
    4040    , m_fEnableNestedVirtualization(false)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIProcessorFeaturesEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* Forward declarations: */
     
    4040class QLabel;
    4141
    42 /** QWidget subclass used as processor features editor. */
    43 class SHARED_LIBRARY_STUFF UIProcessorFeaturesEditor : public QIWithRetranslateUI<QWidget>
     42/** UIEditor sub-class used as processor features editor. */
     43class SHARED_LIBRARY_STUFF UIProcessorFeaturesEditor : public UIEditor
    4444{
    4545    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIProxyFeaturesEditor.cpp

    r98103 r101011  
    3939
    4040UIProxyFeaturesEditor::UIProxyFeaturesEditor(QWidget *pParent /* = 0 */)
    41     : QIWithRetranslateUI<QWidget>(pParent)
     41    : UIEditor(pParent)
    4242    , m_enmProxyMode(KProxyMode_Max)
    4343    , m_pButtonGroup(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIProxyFeaturesEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* COM includes: */
     
    4444class QILineEdit;
    4545
    46 /** QWidget subclass used as global proxy features editor. */
    47 class SHARED_LIBRARY_STUFF UIProxyFeaturesEditor : public QIWithRetranslateUI<QWidget>
     46/** UIEditor sub-class used as global proxy features editor. */
     47class SHARED_LIBRARY_STUFF UIProxyFeaturesEditor : public UIEditor
    4848{
    4949    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIRecordingSettingsEditor.cpp

    r98103 r101011  
    5151
    5252UIRecordingSettingsEditor::UIRecordingSettingsEditor(QWidget *pParent /* = 0 */)
    53     : QIWithRetranslateUI<QWidget>(pParent)
     53    : UIEditor(pParent)
    5454    , m_fFeatureEnabled(false)
    5555    , m_fOptionsAvailable(false)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIRecordingSettingsEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636#include "UISettingsDefs.h"
    3737
    3838/* COM includes: */
    3939#include "COMEnums.h"
    40 
    41 /* Other VBox includes: */
    42 #include <VBox/com/com.h>
    4340
    4441/* Forward declarations: */
     
    5249class UIFilmContainer;
    5350
    54 /** QWidget subclass used as a recording settings editor. */
    55 class SHARED_LIBRARY_STUFF UIRecordingSettingsEditor : public QIWithRetranslateUI<QWidget>
     51/** UIEditor sub-class used as a recording settings editor. */
     52class SHARED_LIBRARY_STUFF UIRecordingSettingsEditor : public UIEditor
    5653{
    5754    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIScaleFactorEditor.cpp

    r98103 r101011  
    4444
    4545UIScaleFactorEditor::UIScaleFactorEditor(QWidget *pParent)
    46     : QIWithRetranslateUI<QWidget>(pParent)
     46    : UIEditor(pParent)
    4747    , m_pLayout(0)
    4848    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIScaleFactorEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
    36 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    3736
    3837/* Forward declarations: */
     
    4140class QLabel;
    4241class QSpinBox;
    43 class QWidget;
    4442class QIAdvancedSlider;
    4543
    46 /** QWidget reimplementation providing GUI with monitor scale factor editing functionality.
     44/** UIEditor sub-class providing GUI with monitor scale factor editing functionality.
    4745  * It includes a combo box to select a monitor, a slider, and a spinbox to display/modify values.
    4846  * The first item in the combo box is used to change the scale factor of all monitors. */
    49 class SHARED_LIBRARY_STUFF UIScaleFactorEditor : public QIWithRetranslateUI<QWidget>
     47class SHARED_LIBRARY_STUFF UIScaleFactorEditor : public UIEditor
    5048{
    5149    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UISharedClipboardEditor.cpp

    r98103 r101011  
    4242
    4343UISharedClipboardEditor::UISharedClipboardEditor(QWidget *pParent /* = 0 */)
    44     : QIWithRetranslateUI<QWidget>(pParent)
     44    : UIEditor(pParent)
    4545    , m_enmValue(KClipboardMode_Max)
    4646    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UISharedClipboardEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    4743class QLabel;
    4844
    49 /** QWidget subclass used as a shared clipboard editor. */
    50 class SHARED_LIBRARY_STUFF UISharedClipboardEditor : public QIWithRetranslateUI<QWidget>
     45/** UIEditor sub-class used as a shared clipboard editor. */
     46class SHARED_LIBRARY_STUFF UISharedClipboardEditor : public UIEditor
    5147{
    5248    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UISharedFoldersEditor.cpp

    r98103 r101011  
    277277
    278278UISharedFoldersEditor::UISharedFoldersEditor(QWidget *pParent /* = 0 */)
    279     : QIWithRetranslateUI<QWidget>(pParent)
     279    : UIEditor(pParent)
    280280    , m_pLabelSeparator(0)
    281281    , m_pLayoutTree(0)
     
    394394{
    395395    /* Call to base-class: */
    396     QIWithRetranslateUI<QWidget>::showEvent(pEvent);
     396    UIEditor::showEvent(pEvent);
    397397
    398398    /* Connect header-resize signal just before widget is shown
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UISharedFoldersEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636#include "UIExtraDataDefs.h"
    3737
     
    9090};
    9191
    92 /** QWidget subclass used as a shared folders editor. */
    93 class SHARED_LIBRARY_STUFF UISharedFoldersEditor : public QIWithRetranslateUI<QWidget>
     92/** UIEditor sub-class used as a shared folders editor. */
     93class SHARED_LIBRARY_STUFF UISharedFoldersEditor : public UIEditor
    9494{
    9595    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIShortcutConfigurationEditor.cpp

    r100346 r101011  
    820820
    821821UIShortcutConfigurationEditor::UIShortcutConfigurationEditor(QWidget *pParent /* = 0 */)
    822     : QIWithRetranslateUI<QWidget>(pParent)
     822    : UIEditor(pParent)
    823823    , m_pModelManager(0)
    824824    , m_pModelRuntime(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIShortcutConfigurationEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* Forward declartions: */
     
    152152typedef QList<UIShortcutConfigurationItem> UIShortcutConfigurationList;
    153153
    154 /** QWidget subclass used as a shortcut configuration editor. */
    155 class SHARED_LIBRARY_STUFF UIShortcutConfigurationEditor : public QIWithRetranslateUI<QWidget>
     154/** UIEditor sub-class used as a shortcut configuration editor. */
     155class SHARED_LIBRARY_STUFF UIShortcutConfigurationEditor : public UIEditor
    156156{
    157157    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UISnapshotFolderEditor.cpp

    r98103 r101011  
    3737
    3838UISnapshotFolderEditor::UISnapshotFolderEditor(QWidget *pParent /* = 0 */)
    39     : QIWithRetranslateUI<QWidget>(pParent)
     39    : UIEditor(pParent)
    4040    , m_pLabel(0)
    4141    , m_pSelector(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UISnapshotFolderEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* Forward declarations: */
     
    4440class UIFilePathSelector;
    4541
    46 /** QWidget subclass used as a snapshot folder editor. */
    47 class SHARED_LIBRARY_STUFF UISnapshotFolderEditor : public QIWithRetranslateUI<QWidget>
     42/** UIEditor sub-class used as a snapshot folder editor. */
     43class SHARED_LIBRARY_STUFF UISnapshotFolderEditor : public UIEditor
    4844{
    4945    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIStorageSettingsEditor.cpp

    r100344 r101011  
    28252825
    28262826UIStorageSettingsEditor::UIStorageSettingsEditor(QWidget *pParent /* = 0 */)
    2827     : QIWithRetranslateUI<QWidget>(pParent)
     2827    : UIEditor(pParent)
    28282828    , m_fLoadingInProgress(0)
    28292829    , m_enmConfigurationAccessLevel(ConfigurationAccessLevel_Null)
     
    32133213
    32143214    /* Call to base-class: */
    3215     QIWithRetranslateUI<QWidget>::showEvent(pEvent);
     3215    UIEditor::showEvent(pEvent);
    32163216}
    32173217
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIStorageSettingsEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636#include "UIMediumDefs.h"
    3737#include "UISettingsDefs.h"
     
    164164};
    165165
    166 /** QWidget subclass used as acceleration features editor. */
    167 class SHARED_LIBRARY_STUFF UIStorageSettingsEditor : public QIWithRetranslateUI<QWidget>
     166/** UIEditor sub-class used as acceleration features editor. */
     167class SHARED_LIBRARY_STUFF UIStorageSettingsEditor : public UIEditor
    168168{
    169169    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UITpmEditor.cpp

    r98103 r101011  
    4242
    4343UITpmEditor::UITpmEditor(QWidget *pParent /* = 0 */)
    44     : QIWithRetranslateUI<QWidget>(pParent)
     44    : UIEditor(pParent)
    4545    , m_enmValue(KTpmType_Max)
    4646    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UITpmEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    4743class QLabel;
    4844
    49 /** QWidget subclass used as a TPM editor. */
    50 class SHARED_LIBRARY_STUFF UITpmEditor : public QIWithRetranslateUI<QWidget>
     45/** UIEditor sub-class used as a TPM editor. */
     46class SHARED_LIBRARY_STUFF UITpmEditor : public UIEditor
    5147{
    5248    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBControllerEditor.cpp

    r98103 r101011  
    4040
    4141UIUSBControllerEditor::UIUSBControllerEditor(QWidget *pParent /* = 0 */)
    42     : QIWithRetranslateUI<QWidget>(pParent)
     42    : UIEditor(pParent)
    4343    , m_enmValue(KUSBControllerType_Max)
    4444    , m_pRadioButtonUSB1(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBControllerEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    4541class QRadioButton;
    4642
    47 /** QWidget subclass used as a USB controller editor. */
    48 class SHARED_LIBRARY_STUFF UIUSBControllerEditor : public QIWithRetranslateUI<QWidget>
     43/** UIEditor sub-class used as a USB controller editor. */
     44class SHARED_LIBRARY_STUFF UIUSBControllerEditor : public UIEditor
    4945{
    5046    Q_OBJECT;
     
    8884
    8985    /** Holds the USB1 radio-button instance. */
    90     QRadioButton     *m_pRadioButtonUSB1;
     86    QRadioButton *m_pRadioButtonUSB1;
    9187    /** Holds the USB2 radio-button instance. */
    92     QRadioButton     *m_pRadioButtonUSB2;
     88    QRadioButton *m_pRadioButtonUSB2;
    9389    /** Holds the USB3 radio-button instance. */
    94     QRadioButton     *m_pRadioButtonUSB3;
     90    QRadioButton *m_pRadioButtonUSB3;
    9591};
    9692
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBFiltersEditor.cpp

    r99062 r101011  
    213213
    214214UIUSBFiltersEditor::UIUSBFiltersEditor(QWidget *pParent /* = 0 */)
    215     : QIWithRetranslateUI<QWidget>(pParent)
     215    : UIEditor(pParent)
    216216    , m_pLabelSeparator(0)
    217217    , m_pLayoutTree(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBFiltersEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636#include "UIExtraDataDefs.h"
    3737
     
    9797};
    9898
    99 /** QWidget subclass used as a USB filters editor. */
    100 class SHARED_LIBRARY_STUFF UIUSBFiltersEditor : public QIWithRetranslateUI<QWidget>
     99/** UIEditor sub-class used as a USB filters editor. */
     100class SHARED_LIBRARY_STUFF UIUSBFiltersEditor : public UIEditor
    101101{
    102102    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBSettingsEditor.cpp

    r98103 r101011  
    3737
    3838UIUSBSettingsEditor::UIUSBSettingsEditor(QWidget *pParent /* = 0 */)
    39     : QIWithRetranslateUI<QWidget>(pParent)
     39    : UIEditor(pParent)
    4040    , m_fFeatureEnabled(false)
    4141    , m_pCheckboxFeature(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBSettingsEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036#include "UIUSBFiltersEditor.h"
    4137
     
    4743class UIUSBControllerEditor;
    4844
    49 /** QWidget subclass used as a USB settings editor. */
    50 class SHARED_LIBRARY_STUFF UIUSBSettingsEditor : public QIWithRetranslateUI<QWidget>
     45/** UIEditor sub-class used as a USB settings editor. */
     46class SHARED_LIBRARY_STUFF UIUSBSettingsEditor : public UIEditor
    5147{
    5248    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUpdateSettingsEditor.cpp

    r98103 r101011  
    3939
    4040UIUpdateSettingsEditor::UIUpdateSettingsEditor(QWidget *pParent /* = 0 */)
    41     : QIWithRetranslateUI<QWidget>(pParent)
     41    : UIEditor(pParent)
    4242    , m_pCheckBox(0)
    4343    , m_pWidgetUpdateSettings(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUpdateSettingsEditor.h

    r98103 r101011  
    3636
    3737/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
     38#include "UIEditor.h"
    3939#include "UIUpdateDefs.h"
    4040
     
    4646class QLabel;
    4747
    48 /** QWidget subclass used as a update settings editor. */
    49 class SHARED_LIBRARY_STUFF UIUpdateSettingsEditor : public QIWithRetranslateUI<QWidget>
     48/** UIEditor sub-class used as a update settings editor. */
     49class SHARED_LIBRARY_STUFF UIUpdateSettingsEditor : public UIEditor
    5050{
    5151    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVRDEAuthLibraryEditor.cpp

    r98103 r101011  
    3737
    3838UIVRDEAuthLibraryEditor::UIVRDEAuthLibraryEditor(QWidget *pParent /* = 0 */)
    39     : QIWithRetranslateUI<QWidget>(pParent)
     39    : UIEditor(pParent)
    4040    , m_strValue(QString())
    4141    , m_pLabel(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVRDEAuthLibraryEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* Forward declarations: */
     
    4440class UIFilePathSelector;
    4541
    46 /** QWidget subclass used as a VRDE auth library editor. */
    47 class SHARED_LIBRARY_STUFF UIVRDEAuthLibraryEditor : public QIWithRetranslateUI<QWidget>
     42/** UIEditor sub-class used as a VRDE auth library editor. */
     43class SHARED_LIBRARY_STUFF UIVRDEAuthLibraryEditor : public UIEditor
    4844{
    4945    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVRDESettingsEditor.cpp

    r98103 r101011  
    3939
    4040UIVRDESettingsEditor::UIVRDESettingsEditor(QWidget *pParent /* = 0 */)
    41     : QIWithRetranslateUI<QWidget>(pParent)
     41    : UIEditor(pParent)
    4242    , m_fFeatureEnabled(false)
    4343    , m_enmAuthType(KAuthType_Max)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVRDESettingsEditor.h

    r98103 r101011  
    3333
    3434/* GUI includes: */
    35 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3636
    3737/* COM includes: */
     
    4545class QWidget;
    4646
    47 /** QWidget subclass used as a VRDE settings editor. */
    48 class SHARED_LIBRARY_STUFF UIVRDESettingsEditor : public QIWithRetranslateUI<QWidget>
     47/** UIEditor sub-class used as a VRDE settings editor. */
     48class SHARED_LIBRARY_STUFF UIVRDESettingsEditor : public UIEditor
    4949{
    5050    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVideoMemoryEditor.cpp

    r98103 r101011  
    4343
    4444UIVideoMemoryEditor::UIVideoMemoryEditor(QWidget *pParent /* = 0 */)
    45     : QIWithRetranslateUI<QWidget>(pParent)
     45    : UIEditor(pParent)
    4646    , m_iValue(0)
    4747    , m_comGuestOSType(CGuestOSType())
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVideoMemoryEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
    39 #include "UILibraryDefs.h"
     35#include "UIEditor.h"
    4036
    4137/* COM includes: */
     
    4945class QIAdvancedSlider;
    5046
    51 /** QWidget subclass used as a video memory editor. */
    52 class SHARED_LIBRARY_STUFF UIVideoMemoryEditor : public QIWithRetranslateUI<QWidget>
     47/** UIEditor sub-class used as a video memory editor. */
     48class SHARED_LIBRARY_STUFF UIVideoMemoryEditor : public UIEditor
    5349{
    5450    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVirtualCPUEditor.cpp

    r98103 r101011  
    4343
    4444UIVirtualCPUEditor::UIVirtualCPUEditor(QWidget *pParent /* = 0 */)
    45     : QIWithRetranslateUI<QWidget>(pParent)
     45    : UIEditor(pParent)
    4646    , m_uMinVCPUCount(1)
    4747    , m_uMaxVCPUCount(1)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVirtualCPUEditor.h

    r98103 r101011  
    3232#endif
    3333
    34 /* Qt includes: */
    35 #include <QWidget>
    36 
    3734/* GUI includes: */
    38 #include "QIWithRetranslateUI.h"
     35#include "UIEditor.h"
    3936
    4037/* Forward declarations: */
     
    4441class QIAdvancedSlider;
    4542
    46 /** QWidget subclass used as a virtual CPU editor. */
    47 class SHARED_LIBRARY_STUFF UIVirtualCPUEditor : public QIWithRetranslateUI<QWidget>
     43/** UIEditor sub-class used as a virtual CPU editor. */
     44class SHARED_LIBRARY_STUFF UIVirtualCPUEditor : public UIEditor
    4845{
    4946    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVisualStateEditor.cpp

    r98103 r101011  
    4040
    4141UIVisualStateEditor::UIVisualStateEditor(QWidget *pParent /* = 0 */)
    42     : QIWithRetranslateUI<QWidget>(pParent)
     42    : UIEditor(pParent)
    4343    , m_enmValue(UIVisualStateType_Invalid)
    4444    , m_pLayout(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVisualStateEditor.h

    r98103 r101011  
    3434/* Qt includes: */
    3535#include <QUuid>
    36 #include <QWidget>
    3736
    3837/* GUI includes: */
    39 #include "QIWithRetranslateUI.h"
     38#include "UIEditor.h"
    4039#include "UIExtraDataDefs.h"
    41 #include "UILibraryDefs.h"
    4240
    4341/* Forward declarations: */
     
    4644class QLabel;
    4745
    48 /** QWidget subclass used as a visual state editor. */
    49 class SHARED_LIBRARY_STUFF UIVisualStateEditor : public QIWithRetranslateUI<QWidget>
     46/** UIEditor sub-class used as a visual state editor. */
     47class SHARED_LIBRARY_STUFF UIVisualStateEditor : public UIEditor
    5048{
    5149    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMenuBarEditorWindow.cpp

    r100064 r101011  
    333333                                             const QUuid &uMachineID /* = QUuid() */,
    334334                                             UIActionPool *pActionPool /* = 0 */)
    335     : QIWithRetranslateUI2<QWidget>(pParent)
     335    : UIEditor(pParent)
    336336    , m_fPrepared(false)
    337337    , m_fStartedFromVMSettings(fStartedFromVMSettings)
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMenuBarEditorWindow.h

    r98103 r101011  
    3737
    3838/* GUI includes: */
    39 #include "QIWithRetranslateUI.h"
     39#include "UIEditor.h"
    4040#include "UIExtraDataDefs.h"
    41 #include "UILibraryDefs.h"
    4241#include "UISlidingToolBar.h"
    4342
     
    7271
    7372
    74 /** QWidget subclass
     73/** UIEditor sub-class
    7574  * used as menu-bar editor widget. */
    76 class SHARED_LIBRARY_STUFF UIMenuBarEditorWidget : public QIWithRetranslateUI2<QWidget>
     75class SHARED_LIBRARY_STUFF UIMenuBarEditorWidget : public UIEditor
    7776{
    7877    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIStatusBarEditorWindow.cpp

    r100344 r101011  
    443443                                                 bool fStartedFromVMSettings /* = true */,
    444444                                                 const QUuid &uMachineID /* = QString() */)
    445     : QIWithRetranslateUI2<QWidget>(pParent)
     445    : UIEditor(pParent)
    446446    , m_fPrepared(false)
    447447    , m_fStartedFromVMSettings(fStartedFromVMSettings)
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIStatusBarEditorWindow.h

    r98103 r101011  
    3838
    3939/* GUI includes: */
    40 #include "QIWithRetranslateUI.h"
     40#include "UIEditor.h"
    4141#include "UIExtraDataDefs.h"
    42 #include "UILibraryDefs.h"
    4342#include "UISlidingToolBar.h"
    4443
     
    7170
    7271
    73 /** QWidget subclass
     72/** UIEditor sub-class
    7473  * used as status-bar editor widget. */
    75 class SHARED_LIBRARY_STUFF UIStatusBarEditorWidget : public QIWithRetranslateUI2<QWidget>
     74class SHARED_LIBRARY_STUFF UIStatusBarEditorWidget : public UIEditor
    7675{
    7776    Q_OBJECT;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette