mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
23 lines
397 B
C
23 lines
397 B
C
|
#pragma once
|
||
|
|
||
|
#include <QWidget>
|
||
|
|
||
|
class OutQueueStatistics ;
|
||
|
|
||
|
class OutQueueStatisticsWidget: public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
OutQueueStatisticsWidget(QWidget *parent = NULL) ;
|
||
|
|
||
|
virtual void paintEvent(QPaintEvent *event) ;
|
||
|
virtual void resizeEvent(QResizeEvent *event);
|
||
|
|
||
|
void updateStatistics(OutQueueStatistics&) ;
|
||
|
|
||
|
private:
|
||
|
QPixmap pixmap ;
|
||
|
int maxWidth,maxHeight ;
|
||
|
};
|