~feng-kylin/youker-assistant/youker-assistant

« back to all changes in this revision

Viewing changes to info/hdwidget.h

  • Committer: kobe
  • Date: 2015-02-13 07:37:10 UTC
  • Revision ID: xiangli@ubuntukylin.com-20150213073710-0jyp02ilyi5njj10
Qt Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef HDWIDGET_H
 
2
#define HDWIDGET_H
 
3
 
 
4
#include <QWidget>
 
5
#include <QLabel>
 
6
#include <QPushButton>
 
7
#include <QHBoxLayout>
 
8
#include "computerpage.h"
 
9
#include "../component/scrollwidget.h"
 
10
#include <QMap>
 
11
#include <QVariant>
 
12
class SystemDispatcher;
 
13
 
 
14
class HDWidget : public QWidget
 
15
{
 
16
    Q_OBJECT
 
17
public:
 
18
    explicit HDWidget(QWidget *parent = 0, SystemDispatcher *proxy = 0);
 
19
    int initData();
 
20
 
 
21
signals:
 
22
 
 
23
public slots:
 
24
 
 
25
private:
 
26
    ScrollWidget *scroll_widget;
 
27
//    ComputerPage *page;
 
28
    QMap<QString, QVariant> hd_info_map;
 
29
    QMap<QString, QVariant> tmp_info_map;
 
30
    SystemDispatcher *systemproxy;
 
31
    int diskNum;
 
32
};
 
33
 
 
34
#endif // HDWIDGET_H