-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutputwidget.h
46 lines (36 loc) · 920 Bytes
/
outputwidget.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef OUTPUTWIDGET_H
#define OUTPUTWIDGET_H
#include <QWidget>
#include <QLabel>
#include <QImage>
#include <QTextEdit>
#include <QGridLayout>
#include <QScrollArea>
#include "eventfilter.h"
#include "tooltipwidget.h"
#include "bid.h"
class outputWidget : public QWidget
{
Q_OBJECT
QGridLayout *layout, *scrollLayout;
QWidget *scrollWidget;
QScrollArea *scroll;
QImage* img;
QLabel *picLabel;
QTextEdit *bids;
QVector<bid*> vector;
int date_start,date_end;
public:
explicit outputWidget(QWidget *parent = 0,int date_s=0,int date_e=0);
signals:
public slots:
void setBidsVector(QVector<bid*> vec);
void setDateStart(int date);
void setDateEnd(int date);
void drawGraph();
void drawDeal(int num,QString txt, QColor color);
void printText(QString txt);
void savePicture();
void repaintBlankImage();
};
#endif // OUTPUTWIDGET_H