VirtualBox

Ignore:
Timestamp:
Aug 4, 2008 6:01:29 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34054
Message:

Fe/Qt4: Reforming Information Dialog's margins according VM details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxUtils.h

    r10361 r11118  
    2727#include <QMouseEvent>
    2828#include <QWidget>
     29#include <QTextEdit>
    2930
    3031/**
     
    9091};
    9192
     93/**
     94 *  QTextEdit reimplementation to feat some extended requirements.
     95 */
     96class QRichTextEdit : public QTextEdit
     97{
     98    Q_OBJECT;
     99
     100public:
     101
     102    QRichTextEdit (QWidget *aParent) : QTextEdit (aParent) {}
     103
     104    void setViewportMargins (int aLeft, int aTop, int aRight, int aBottom)
     105    {
     106        QTextEdit::setViewportMargins (aLeft, aTop, aRight, aBottom);
     107    }
     108};
     109
    92110#ifdef Q_WS_MAC
    93111# undef PAGE_SIZE
Note: See TracChangeset for help on using the changeset viewer.

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