VirtualBox

Changeset 74881 in vbox


Ignore:
Timestamp:
Oct 17, 2018 2:38:49 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
125865
Message:

FE/Qt: bugref:9230: Remove some as appeared excessive stuff.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/cloud
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/cloud/UICloudProfileManager.cpp

    r74880 r74881  
    4949{
    5050    Column_Name,
    51     /// @todo rest of columns?
    5251    Column_Max,
    5352};
     
    8786    /* Update item fields: */
    8887    setText(Column_Name, m_strName);
    89     /// @todo assign rest of field values!
    90 
    91     /* Compose item tool-tip: */
    92     /// @todo assign tool-tips!
    9388}
    9489
     
    10297    /* Update item fields: */
    10398    setText(Column_Name, m_strName);
    104     /// @todo assign rest of field values!
    105 
    106     /* Compose item tool-tip: */
    107     /// @todo assign tool-tips!
    10899}
    109100
     
    144135        m_pToolBar->updateLayout();
    145136#endif
    146 
    147     /* Translate tree-widget: */
    148     /// @todo assign tree-widget column names!
    149 }
    150 
    151 void UICloudProfileManagerWidget::resizeEvent(QResizeEvent *pEvent)
    152 {
    153     /* Call to base-class: */
    154     QIWithRetranslateUI<QWidget>::resizeEvent(pEvent);
    155 
    156     /* Adjust tree-widget: */
    157     sltAdjustTreeWidget();
    158 }
    159 
    160 void UICloudProfileManagerWidget::showEvent(QShowEvent *pEvent)
    161 {
    162     /* Call to base-class: */
    163     QIWithRetranslateUI<QWidget>::showEvent(pEvent);
    164 
    165     /* Adjust tree-widget: */
    166     sltAdjustTreeWidget();
    167137}
    168138
     
    208178    // Not implemented.
    209179    AssertMsgFailed(("Not implemented!"));
    210 }
    211 
    212 void UICloudProfileManagerWidget::sltAdjustTreeWidget()
    213 {
    214     /* Calculate the total tree-widget width: */
    215     const int iTotal = m_pTreeWidget->viewport()->width();
    216 
    217     /// @todo calculate proposed column widths!
    218 
    219     /* Apply the proposal: */
    220     m_pTreeWidget->setColumnWidth(Column_Name, iTotal /*- iWidth1 - iWidth2 - iWidth3*/);
    221180}
    222181
  • trunk/src/VBox/Frontends/VirtualBox/src/cloud/UICloudProfileManager.h

    r74880 r74881  
    7373        /** Handles translation event. */
    7474        virtual void retranslateUi() /* override */;
    75 
    76         /** Handles resize @a pEvent. */
    77         virtual void resizeEvent(QResizeEvent *pEvent) /* override */;
    78 
    79         /** Handles show @a pEvent. */
    80         virtual void showEvent(QShowEvent *pEvent) /* override */;
    8175    /** @} */
    8276
     
    107101    /** @name Tree-widget stuff.
    108102      * @{ */
    109         /** Handles command to adjust tree-widget. */
    110         void sltAdjustTreeWidget();
    111 
    112103        /** Handles tree-widget @a pItem change. */
    113104        void sltHandleItemChange(QTreeWidgetItem *pItem);
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