VirtualBox

儲存庫 vbox 的更動 18325


忽略:
時間撮記:
2009-3-26 下午04:21:37 (16 年 以前)
作者:
vboxsync
訊息:

FE/Qt4: 2869: Rework network adapter UI - Relayout Global Settings / Network page .ui file for MAC specific.

位置:
trunk/src/VBox/Frontends/VirtualBox
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSettingsNetwork.cpp

    r18303 r18325  
    251251    Ui::VBoxGLSettingsNetwork::setupUi (this);
    252252
     253#ifdef Q_WS_MAC
     254    /* Make shifting spacer for MAC as we have fixed-size networks list */
     255    QSpacerItem *shiftSpacer =
     256        new QSpacerItem (0, 1, QSizePolicy::Expanding, QSizePolicy::Preferred);
     257    QGridLayout *mainLayout = static_cast <QGridLayout*> (layout());
     258    mainLayout->addItem (shiftSpacer, 1, 4, 2);
     259#endif
     260
    253261    /* Setup tree-widget */
    254262    mTwInterfaces->header()->hide();
     
    329337    mTwInterfaces->setFixedWidth (width);
    330338    mTwInterfaces->resizeColumnToContents (0);
    331     mSpacer1->changeSize (0, 1, QSizePolicy::Expanding, QSizePolicy::Preferred);
    332339#endif /* Q_WS_MAC */
    333340}
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGLSettingsNetwork.ui

    r18261 r18325  
    4545    </spacer>
    4646   </item>
    47    <item row="0" column="1" colspan="4">
     47   <item row="0" column="1" colspan="3">
    4848    <widget class="QLabel" name="mLbPageName">
    4949     <property name="text">
     
    121121    </spacer>
    122122   </item>
    123    <item row="2" column="4">
    124     <spacer name="mSpacer1">
    125      <property name="orientation">
    126       <enum>Qt::Horizontal</enum>
    127      </property>
    128      <property name="sizeType">
    129       <enum>QSizePolicy::Ignored</enum>
    130      </property>
    131      <property name="sizeHint" stdset="0">
    132       <size>
    133        <width>2</width>
    134        <height>20</height>
    135       </size>
    136      </property>
    137     </spacer>
    138    </item>
    139    <item row="3" column="2" colspan="3">
     123   <item row="3" column="2" colspan="2">
    140124    <widget class="QLabel" name="mLbInfo">
    141125     <property name="sizePolicy">
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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