mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-18 13:54:07 -05: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 ;
|
||
|
};
|