VirtualBox

Changeset 29972 in vbox for trunk/src


Ignore:
Timestamp:
Jun 2, 2010 9:03:45 AM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: fix tab width for some languages

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
1 added
18 edited

Legend:

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

    r29922 r29972  
    273273        src/extensions/QIStateIndicator.h \
    274274        src/extensions/QIStatusBar.h \
     275        src/extensions/QITabWidget.h \
    275276        src/extensions/QIToolButton.h \
    276277        src/extensions/QITreeView.h \
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxMediaManagerDlg.ui

    r28800 r29972  
    3535   <layout class="QVBoxLayout" >
    3636    <item>
    37      <widget class="QTabWidget" name="mTabWidget" >
     37     <widget class="QITabWidget" name="mTabWidget" >
    3838      <property name="sizePolicy" >
    3939       <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
     
    360360   <header>QILabel.h</header>
    361361  </customwidget>
     362  <customwidget>
     363   <class>QITabWidget</class>
     364   <extends>QTabWidget</extends>
     365   <header>QITabWidget.h</header>
     366  </customwidget>
    362367 </customwidgets>
    363368 <resources/>
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r29854 r29972  
    3434#include "VBoxGlobal.h"
    3535#include "VBoxUtils.h"
     36#include "QITabWidget.h"
    3637
    3738#include "UIDownloaderUserManual.h"
     
    510511
    511512    /* VM tab widget containing details and snapshots tabs */
    512     mVmTabWidget = new QTabWidget();
     513    mVmTabWidget = new QITabWidget();
    513514    rightVLayout->addWidget (mVmTabWidget);
    514515
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.h

    r28800 r29972  
    4343class VBoxTrayIcon;
    4444class VBoxToolBar;
    45 
    46 class QTabWidget;
     45class QITabWidget;
     46
    4747class QListView;
    4848class QEvent;
     
    179179
    180180    /* The right information widgets */
    181     QTabWidget *mVmTabWidget;
     181    QITabWidget *mVmTabWidget;
    182182    VBoxVMDetailsView *mVmDetailsView;
    183183    VBoxSnapshotsWgt *mVmSnapshotsWgt;
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMInformationDlg.ui

    r28800 r29972  
    2929   <layout class="QVBoxLayout" >
    3030    <item>
    31      <widget class="QTabWidget" name="mInfoStack" >
     31     <widget class="QITabWidget" name="mInfoStack" >
    3232      <property name="currentIndex" >
    3333       <number>0</number>
     
    126126   <header>VBoxUtils.h</header>
    127127  </customwidget>
     128  <customwidget>
     129   <class>QITabWidget</class>
     130   <extends>QTabWidget</extends>
     131   <header>QITabWidget.h</header>
     132  </customwidget>
    128133 </customwidgets>
    129134 <resources>
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMLogViewer.cpp

    r29381 r29972  
    2626#include "VBoxSpecialControls.h"
    2727#include "VBoxUtils.h"
     28#include "QITabWidget.h"
    2829
    2930/* Qt includes */
    3031#include <QStyle>
    31 #include <QTabWidget>
    3232#include <QTextEdit>
    3333#include <QLineEdit>
     
    8888
    8989    /* Logs list creation */
    90     mLogList = new QTabWidget (mLogsFrame);
     90    mLogList = new QITabWidget (mLogsFrame);
    9191    QVBoxLayout *logsFrameLayout = new QVBoxLayout (mLogsFrame);
    9292    logsFrameLayout->setContentsMargins (0, 0, 0, 0);
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMLogViewer.h

    r28800 r29972  
    2626
    2727class VBoxLogSearchPanel;
    28 class QTabWidget;
     28class QITabWidget;
    2929class QTextEdit;
    3030class VBoxSearchField;
     
    7676    bool                  mFirstRun;
    7777    CMachine              mMachine;
    78     QTabWidget           *mLogList;
     78    QITabWidget           *mLogList;
    7979    VBoxLogSearchPanel   *mSearchPanel;
    8080    QList< QPair<QString, QTextEdit*> > mLogFiles;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/VBoxSettingsSelector.cpp

    r28800 r29972  
    2828#include "VBoxToolBar.h"
    2929#include "QITreeWidget.h"
     30#include "QITabWidget.h"
    3031
    3132enum
     
    424425        mActionGroup->addAction (item->action());
    425426        mTbSelector->addAction (item->action());
    426         QTabWidget *tabWidget= new QTabWidget ();
     427        QITabWidget *tabWidget= new QITabWidget();
    427428        tabWidget->setContentsMargins (0, 0, 0, 0);
    428429//        connect (tabWidget, SIGNAL (currentChanged (int)),
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/VBoxGLSettingsNetworkDetails.ui

    r29823 r29972  
    2828  <layout class="QVBoxLayout" >
    2929   <item>
    30     <widget class="QTabWidget" name="mTwDetails" >
     30    <widget class="QITabWidget" name="mTwDetails" >
    3131     <property name="sizePolicy" >
    3232      <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
     
    330330   <extends>QDialogButtonBox</extends>
    331331   <header>QIDialogButtonBox.h</header>
     332  </customwidget>
     333  <customwidget>
     334   <class>QITabWidget</class>
     335   <extends>QTabWidget</extends>
     336   <header>QITabWidget.h</header>
    332337  </customwidget>
    333338 </customwidgets>
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsDisplay.ui

    r28814 r29972  
    2626  <layout class="QVBoxLayout" name="mLtMain">
    2727   <item>
    28     <widget class="QTabWidget" name="mTwDisplay">
     28    <widget class="QITabWidget" name="mTwDisplay">
    2929     <widget class="QWidget" name="mTabVideo">
    3030      <attribute name="title">
     
    465465   <extends>QSlider</extends>
    466466   <header>QIAdvancedSlider.h</header>
     467  </customwidget>
     468  <customwidget>
     469   <class>QITabWidget</class>
     470   <extends>QTabWidget</extends>
     471   <header>QITabWidget.h</header>
    467472  </customwidget>
    468473 </customwidgets>
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsGeneral.ui

    r28800 r29972  
    2525  <layout class="QHBoxLayout" name="mLtMain" >
    2626   <item>
    27     <widget class="QTabWidget" name="mTwGeneral" >
     27    <widget class="QITabWidget" name="mTwGeneral" >
    2828     <property name="currentIndex" >
    2929      <number>0</number>
     
    290290   <header>VBoxFilePathSelectorWidget.h</header>
    291291   <container>1</container>
     292  </customwidget>
     293  <customwidget>
     294   <class>QITabWidget</class>
     295   <extends>QTabWidget</extends>
     296   <header>QITabWidget.h</header>
    292297  </customwidget>
    293298 </customwidgets>
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsNetwork.cpp

    r29126 r29972  
    2828#include "VBoxGlobal.h"
    2929#include "VBoxVMSettingsNetwork.h"
     30#include "QITabWidget.h"
    3031
    3132/* Qt Includes */
     
    614615
    615616    /* Creating Tab Widget */
    616     mTwAdapters = new QTabWidget (this);
     617    mTwAdapters = new QITabWidget (this);
    617618    mainLayout->addWidget (mTwAdapters);
    618619
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsNetwork.h

    r28800 r29972  
    2727/* VBox Forwardes */
    2828class VBoxVMSettingsNetworkPage;
     29class QITabWidget;
    2930
    3031class VBoxVMSettingsNetwork : public QIWithRetranslateUI <QWidget>,
     
    113114
    114115    QIWidgetValidator *mValidator;
    115     QTabWidget *mTwAdapters;
     116    QITabWidget *mTwAdapters;
    116117
    117118    QStringList mBrgList;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsParallel.cpp

    r28800 r29972  
    2121#include "QIWidgetValidator.h"
    2222#include "VBoxGlobal.h"
     23#include "QITabWidget.h"
    2324
    2425#include <QDir>
     
    155156{
    156157    /* TabWidget creation */
    157     mTabWidget = new QTabWidget (this);
     158    mTabWidget = new QITabWidget (this);
    158159    QVBoxLayout *layout = new QVBoxLayout (this);
    159160    layout->setContentsMargins (0, 5, 0, 5);
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsParallel.h

    r28800 r29972  
    2323#include "VBoxVMSettingsParallel.gen.h"
    2424#include "COMDefs.h"
     25
     26class QITabWidget;
    2527
    2628class VBoxVMSettingsParallel : public QIWithRetranslateUI<QWidget>,
     
    7981
    8082    QIWidgetValidator *mValidator;
    81     QTabWidget *mTabWidget;
     83    QITabWidget *mTabWidget;
    8284};
    8385
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsSerial.cpp

    r28800 r29972  
    2121#include "QIWidgetValidator.h"
    2222#include "VBoxGlobal.h"
     23#include "QITabWidget.h"
    2324
    2425#include <QDir>
     
    192193{
    193194    /* TabWidget creation */
    194     mTabWidget = new QTabWidget (this);
     195    mTabWidget = new QITabWidget (this);
    195196    QVBoxLayout *layout = new QVBoxLayout (this);
    196197    layout->setContentsMargins (0, 5, 0, 5);
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsSerial.h

    r28800 r29972  
    2323#include "VBoxVMSettingsSerial.gen.h"
    2424#include "COMDefs.h"
     25
     26class QITabWidget;
    2527
    2628class VBoxVMSettingsSerial : public QIWithRetranslateUI<QWidget>,
     
    8082
    8183    QIWidgetValidator *mValidator;
    82     QTabWidget *mTabWidget;
     84    QITabWidget *mTabWidget;
    8385};
    8486
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsSystem.ui

    r28932 r29972  
    2626  <layout class="QVBoxLayout" name="mLtMain">
    2727   <item>
    28     <widget class="QTabWidget" name="mTwSystem">
     28    <widget class="QITabWidget" name="mTwSystem">
    2929     <property name="currentIndex">
    3030      <number>0</number>
     
    631631   <header>QIToolButton.h</header>
    632632  </customwidget>
     633  <customwidget>
     634   <class>QITabWidget</class>
     635   <extends>QTabWidget</extends>
     636   <header>QITabWidget.h</header>
     637  </customwidget>
    633638 </customwidgets>
    634639 <resources/>
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