VirtualBox

Changeset 59647 in vbox for trunk


Ignore:
Timestamp:
Feb 12, 2016 11:13:32 AM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: ​​​bugref:8088: Rework session-information window: UIInformationView classes cleanup.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime/information
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/UIInformationView.cpp

    r59484 r59647  
    2020#else  /* !VBOX_WITH_PRECOMPILED_HEADERS */
    2121
     22# include <QClipboard>
     23# include <QDebug>
     24
    2225/* GUI includes: */
    2326# include "UIInformationView.h"
     27# include "UIInformationItem.h"
    2428
    2529#endif /* !VBOX_WITH_PRECOMPILED_HEADERS */
     
    2832    : QListView(pParent)
    2933{
    30     prepare();
    3134}
    3235
    33 void UIInformationView::prepare()
     36void UIInformationView::updateData(const QModelIndex & topLeft, const QModelIndex & bottomRight)
    3437{
    35     /* Prepare information-view: */
    36     setSpacing(2);
     38    update(topLeft);
    3739}
    3840
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/UIInformationView.h

    r59484 r59647  
    2121/* Qt includes: */
    2222#include <QListView>
     23#include <QModelIndex>
    2324
    2425/** QListView extension
     
    3233    UIInformationView(QWidget *pParent = 0);
    3334
    34 private:
    35     /** Prepares information-view. */
    36     void prepare();
     35public slots:
     36    void updateData(const QModelIndex & topLeft, const QModelIndex & bottomRight);
     37
    3738};
    3839
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