RetroShare/retroshare-gui/src
thunder2 0fbada0eba Applied patch from AsamK and fixed german translation.
Reduced code duplication with avatar picture loading, by creating two new functions that handle image choosing and thumbnail creation.

two new functions:
bool misc::getOpenAvatarPicture(QWidget *parent, QByteArray &image_data)
QPixmap misc::getOpenThumbnailedPicture(QWidget *parent, const QString &caption, int width, int height)

getOpenThumbnailedPicture opens a QFileDialog to let the user choose a picture file. This picture is converted to a thumbnail and returned as a QPixmap.

getOpenAvatarPicture calls getOpenThumbnailedPicture and converts the result to a PNG byte array.

All three avatar loading functions now call getOpenAvatarPicture
Furthermore Channel Logo and Channel Msg thumbnail functions now use getOpenThumbnailedPicture

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-12 20:27:05 +00:00
..
control
gui Applied patch from AsamK and fixed german translation. 2011-08-12 20:27:05 +00:00
idle Add define WINDOWS_SYS for windows compile in RetroShare.pro. 2010-09-09 11:09:40 +00:00
lang Applied patch from AsamK and fixed german translation. 2011-08-12 20:27:05 +00:00
license
qss fixed some stylesheets to use gradients instead of a background images, to solve some problems 2011-04-01 22:38:52 +00:00
release/skin
sounds added some few sounds 2010-05-05 11:49:39 +00:00
util Applied patch from AsamK and fixed german translation. 2011-08-12 20:27:05 +00:00
changelog.txt update changelog and rsversion 2011-08-10 21:49:17 +00:00
main.cpp renamed class PeersDialog to FriendsDialog 2011-05-17 17:27:47 +00:00
mingw32make.bat update the windows bat files, to not close the cmd box when there is a error on compiling. 2010-06-03 18:41:26 +00:00
README.txt removed old instructions from readme 2010-03-05 13:21:20 +00:00
retroshare-portable.nsi added installer script for a portable setup 2011-03-02 19:49:41 +00:00
retroshare-process.nsi corrected mingwm10.dll path 2009-07-06 18:17:36 +00:00
retroshare-ultramodern.nsi update nsis installer scripts 2011-02-24 23:16:20 +00:00
retroshare.nsi update nsis installer scripts 2011-02-24 23:16:20 +00:00
RetroShare.pro Hacked up Cyril's TurtleStatistics to provide plot of RTT measurements. 2011-08-03 17:45:03 +00:00
rshare.cpp Cleaned LinkDialog, MessengerWindow, ImHistoryBrowser, IntroPage, MainWindow, ShareManager, StartDialog and some other small dialogs and updated german translation. 2010-09-13 20:05:55 +00:00
rshare.h Changed settings to local variable, no more as pointer on all classes. 2010-05-11 20:02:52 +00:00
svn_revision.bat added for windows compile and revision bat files, and template rsversion.in 2010-06-01 23:03:12 +00:00
Todo.txt removed not needed games dir 2009-10-04 15:41:46 +00:00
version_detail.sh set different icon and Text label when creating Channels from ChannelFeed. 2009-08-14 11:49:15 +00:00

=======================================================================================
README for RetroShare
=======================================================================================

RetroShare web site . . . . http://retroshare.sourceforge.net/
Documentation . . . . . . . http://retroshare.sourceforge.net/doc.html
Support . . . . . . . . . . http://retroshare.sourceforge.net/support.html
Forums  . . . . . . . . . . http://retroshare.sourceforge.net/forum/
Wiki  . . . . . . . . . . . http://retroshare.sourceforge.net/wiki/
The Developers site . . . . http://retroshare.sourceforge.net/developers.html
Project site  . . . . . . . https://sourceforge.net/projects/retroshare

Contact:  . . . . . . . . . retroshare@lunamutt.com ,defnax@users.sourceforge.net


Compiling + Running RetroShare (V0.5.xxx)
=========================================================================================
REQUIREMENTS
=========================================================================================

Libraries/Tools:
	* C/C++ Compiler. 	  	  (standard on Linux/cygwin)
	* Qt >= 4.5.x 		  	    http://qt.nokia.com/downloads/downloads#lgpl
	* OpenSSL       	      	http://www.openssl.org/source/openssl-0.9.8k.tar.gz
	* MiniUPnP           	  	http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.3.tar.gz
	* gpgme 		              ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.8.tar.bz2
	* libgpg-error          	ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.bz2 

Windows only:
	* Cygwin  	          	  http://www.cygwin.com/cygwin/setup.exe (for openssl compile)
	* MinGW/Msys package  		http://sourceforge.net/projects/mingw/files/	 (for compile gpgme,libgpg-error)
	* Pthreads            		http://sourceware.org/pthreads-win32/ 
	* Zlib                		http://www.zlib.net/
	
	Latest RetroShare sources from (SVN) sourceforge.net:	
    	svn co https://retroshare.svn.sourceforge.net/svnroot/retroshare retroshare 

=========================================================================================

Build Scripts are avaible on SVN for Debian and Ubuntu:
http://retroshare.svn.sourceforge.net/viewvc/retroshare/trunk/build_scripts/

Latest stable OpenSSL is available at:
http://www.openssl.org

Latest miniupnpc-1.3 is avaible at:
http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.3.tar.gz

Latest gpgme Library is avaible at:
ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.8.tar.bz2

Latest libgpg-error Library is avaible at:
ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.bz2

Windows only:
	pthreads: ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-8-0-release.tar.gz 
	zlib:	    http://www.zlib.net/zlib-1.2.3.tar.gz 
=========================================================================================
You can find here instrustions howto compile libretroshare and gui:
http://retroshare.sourceforge.net/wiki/index.php/Developers_Corner
	
=========================================================================================	
You can go on over to our forum when you have trouble with compiling:
http://retroshare.sourceforge.net/forum/
---------------------------------------------