commit | 9657fd1f28c3f5bde8f264db33797af0f497c0dc | [log] [tgz] |
---|---|---|
author | Olivier SOLDANO <olivier.soldano@savoirfairelinux.com> | Mon Mar 27 16:06:53 2017 -0400 |
committer | Anthony Léonard <anthony.leonard@savoirfairelinux.com> | Thu Apr 13 16:36:01 2017 -0400 |
tree | e49ea382e041d6a4a21e3679c83b40cc45672a09 | |
parent | dd87866fa85da4cc424ba5b0cb6fecdf12235e71 [diff] |
implements current account selection This patch implements the ui and logic of selecting the current account used in the ring-win32 client The selector is contained in a new dedicated widget which displays an image representing the account selected (for the moment there is no account related avatar so the picture is the one from the profile) and the alias of the account through a QComboBox Finally, some css styling and search bar behaviour are fixed. Change-Id: I60be8e352e15c7ffdd969f66df7e011f8212e40c Reviewed-by: Anthony Léonard <anthony.leonard@savoirfairelinux.com>
For more information about the ring project, see the following:
git clone https://gerrit-ring.savoirfairelinux.com/ring-client-windows
USE THE QMAKE OF Qt BUILT WITH MINGW (e.g. /usr/bin/[i686 | x86_64]-w64-mingw32-qmake-qt5)
cd ring-client-windows mkdir build && cd build export QTDIR=<path to mingw qt> (e.g. /usr/[i686 | x86_64]-w64-mingw32/lib/qt) git submodule init && git submodule update cd libqrencode ./autogen.sh && ./configure --host=[i686 | x86_64]-w64-mingw32 --prefix=<Install dir of Ring and LRC> make make install cd .. qmake ../RingWinClient.pro -r -spec win32-g++ RING=<Install dir of Ring and LRC> [BUILD=Debug] make make install
You will find all files in ./release directory.
#Auto update
If you want to enable auto-update
cd winsparkle mkdir build && cd build cmake -DCMAKE_TOOLCHAIN_FILE=<LRC Directory>/cmake/winBuild.cmake -DCMAKE_INSTALL_PREFIX=Install dir of Ring and LRC> ../cmake", make make install
ENABLE_AUTOUPDATE=True
Compile the client with 'BUILD=Debug' and libRingClient with '-DCMAKE_BUILD_TYPE=Debug'
cd build/release makensis ring.nsi