mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-27 18:12:21 -04:00
Message Synchronisation now supported by photoshare (photo and comments sync)
Photoshare UI now functional - subscribing to an album enables message sync - TokenQueue now operate with FIFO stack to prevent overlap in request completion - photos are now load on demand as with comments - fixed some noddy bugs (subscribe flag initialises incorrectly) git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bdd6c6041b
commit
b06214b779
12 changed files with 240 additions and 102 deletions
|
@ -32,12 +32,12 @@ PhotoItem::PhotoItem(PhotoShareItemHolder *holder, const QString& path, QWidget
|
|||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
int width = 120;
|
||||
int height = 120;
|
||||
int width = 250;
|
||||
int height = 250;
|
||||
|
||||
QPixmap qtn = QPixmap(path).scaled(width, height, Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
||||
ui->label_Thumbnail->setPixmap(qtn);
|
||||
mThumbNail = qtn;
|
||||
ui->label_Thumbnail->setPixmap(mThumbNail.scaled(120, 120, Qt::KeepAspectRatio, Qt::SmoothTransformation));
|
||||
setSelected(false);
|
||||
|
||||
getPhotoThumbnail(mPhotoDetails.mThumbnail);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue