- Graphically display piece availability in torrent preferences

This commit is contained in:
Christophe Dumez 2009-11-21 19:40:24 +00:00
parent fb6b40ccd1
commit 47d545633d
7 changed files with 182 additions and 7 deletions

View file

@ -47,6 +47,7 @@ class PeerListWidget;
class TrackerList;
class GUI;
class DownloadedPiecesBar;
class PieceAvailabilityBar;
enum Tab {MAIN_TAB, TRACKERS_TAB, PEERS_TAB, URLSEEDS_TAB, FILES_TAB};
enum SlideState {REDUCED, VISIBLE};
@ -71,6 +72,7 @@ private:
QAction *actionHigh;
QList<int> slideSizes;
DownloadedPiecesBar *downloaded_pieces;
PieceAvailabilityBar *pieces_availability;
protected:
QPushButton* getButtonFromIndex(int index);