mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-05 21:29:23 -04:00
Added Chunk size and Number of Chunks to DetailsDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2131 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ef21de908c
commit
656aa9db5d
4 changed files with 115 additions and 22 deletions
|
@ -29,6 +29,7 @@
|
|||
|
||||
#include "ui_DetailsDialog.h"
|
||||
|
||||
class FileChunksInfo ;
|
||||
|
||||
class DetailsDialog : public QDialog
|
||||
{
|
||||
|
@ -39,7 +40,10 @@ public:
|
|||
DetailsDialog(QWidget *parent = 0, Qt::WFlags flags = 0);
|
||||
/** Default destructor */
|
||||
~DetailsDialog();
|
||||
|
||||
void updateDisplay() ;
|
||||
|
||||
void setFileHash(const std::string& hash) { _file_hash = hash ; }
|
||||
|
||||
public slots:
|
||||
/** Overloaded QWidget.show */
|
||||
|
@ -56,10 +60,13 @@ public slots:
|
|||
void setCompleted(const qulonglong & completed);
|
||||
void setRemaining(const qulonglong & remaining) ;
|
||||
void setType(const QString & type);
|
||||
|
||||
|
||||
protected:
|
||||
void closeEvent (QCloseEvent * event);
|
||||
|
||||
virtual void showEvent(QShowEvent * event);
|
||||
|
||||
private slots:
|
||||
void on_ok_dButton_clicked();
|
||||
void on_cancel_dButton_clicked();
|
||||
|
@ -68,6 +75,7 @@ private:
|
|||
|
||||
class QStandardItemModel *CommentsModel;
|
||||
|
||||
std::string _file_hash ;
|
||||
|
||||
|
||||
/** Qt Designer generated object */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue