VirtualBox

Changeset 81121 in vbox


Ignore:
Timestamp:
Oct 7, 2019 8:36:26 AM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6143. Commenting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp

    r81110 r81121  
    118118*********************************************************************************************************************************/
    119119
     120/** This class is used to represent the physical layout of a keyboard (in contrast to UISoftKeyboardLayout).
     121  * Physical layouts are read from an xml file where keys are placed in rows. Each UISoftKeyboardLayout must refer to a
     122  * refer to a UISoftKeyboardPhysicalLayout instance. An example of an UISoftKeyboardPhysicalLayout instance is 103 key ISO layout.*/
    120123class UISoftKeyboardPhysicalLayout
    121124{
     
    147150    QString  m_strName;
    148151    QVector<UISoftKeyboardRow>    m_rows;
     152    /** Scroll, Num, and Caps Lock keys' states are updated thru some API events. Thus we keep their pointers in a containter. */
    149153    QMap<int, UISoftKeyboardKey*> m_lockKeys;
    150154};
     
    154158*********************************************************************************************************************************/
    155159
     160/** A QWidget extension thru which we can edit key captions, the physical layout of the keyboard, name of the layout etc. */
    156161class UIKeyboardLayoutEditor : public QIWithRetranslateUI<QWidget>
    157162{
     
    273278*********************************************************************************************************************************/
    274279
    275 /** UISoftKeyboardRow represents a row in the physical keyboard. */
     280/** UISoftKeyboardRow represents a row in the physical keyboard. The rows are read from a physical layout file and contained
     281  * keys are added to rows in the order they appear in that file.*/
    276282class UISoftKeyboardRow
    277283{
     
    306312*********************************************************************************************************************************/
    307313
    308 /** UISoftKeyboardKey is a place holder for a keyboard key. Graphical key represantations are drawn according to this class. */
     314/** UISoftKeyboardKey is a place holder for a keyboard key. Graphical key represantations are drawn according to this class.
     315  * The position of a key within the physical layout is read from the layout file. Note that UISoftKeyboardKey does not have
     316  * caption field(s). */
    309317class UISoftKeyboardKey
    310318{
     
    408416*   UISoftKeyboardLayout definition.                                                                                  *
    409417*********************************************************************************************************************************/
    410 
     418/** UISoftKeyboardLayout represents mainly a set of captions for the keys. It refers to a phsical layout which defines the
     419  * positioning and number of keys (alongside with scan codes etc.). UISoftKeyboardLayout instances are read from xml files. An
     420  * example for UISoftKeyboardLayout instance is 'US International' keyboard layout. */
    411421class UISoftKeyboardLayout
    412422{
     
    504514*********************************************************************************************************************************/
    505515
    506 /** The container widget for keyboard keys. It also handles all the keyboard related events. */
     516/** The container widget for keyboard keys. It also handles all the keyboard related events. paintEvent of this class
     517  * handles drawing of the soft keyboard. */
    507518class UISoftKeyboardWidget : public QIWithRetranslateUI<QWidget>
    508519{
     
    644655    bool parseXMLFile(const QString &strFileName, UISoftKeyboardPhysicalLayout &physicalLayout);
    645656    static QVector<QPoint> computeKeyVertices(const UISoftKeyboardKey &key);
     657
    646658private:
    647659
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