contactrequest: add ui for managing pending CR

Those modifications are only a part of the contact request
system. In details :
 * A panel on the left displays the incoming CRs for the
   selected account.
 * A tab system makes it possible to switch between the
   smartlist and the pending CR list.
 * When a CR is selected, a view of it is shown on the right
   with 2 buttons. One for accepting it, the other for
   discarding it.
 * The stylesheet is updated to adapt the new widgets
   with the design of the client.
 * When selected account is changed, we get back to the
   welcome page

Change-Id: I86dc7f32105c0454b0e4d002b6a78fde2c581a44
Reviewed-by: Olivier Soldano <olivier.soldano@savoirfairelinux.com>
8 files changed
tree: 2d76125e9bf6290aa0bb1c2b2b6cd1988728aa5a
  1. .tx/
  2. docker/
  3. images/
  4. translations/
  5. .gitignore
  6. .gitmodules
  7. .gitreview
  8. aboutdialog.cpp
  9. aboutdialog.h
  10. aboutdialog.ui
  11. accountdetails.cpp
  12. accountdetails.h
  13. accountdetails.ui
  14. accountserializationadapter.cpp
  15. accountserializationadapter.h
  16. accountstatedelegate.cpp
  17. accountstatedelegate.h
  18. callutilsdialog.cpp
  19. callutilsdialog.h
  20. callutilsdialog.ui
  21. callwidget.cpp
  22. callwidget.h
  23. callwidget.ui
  24. combar.cpp
  25. combar.h
  26. combar.ui
  27. configurationwidget.cpp
  28. configurationwidget.h
  29. configurationwidget.ui
  30. contactdialog.ui
  31. contactmethodpicker.cpp
  32. contactmethodpicker.h
  33. contactmethodpicker.ui
  34. contactpicker.cpp
  35. contactpicker.h
  36. contactpicker.ui
  37. contactrequestwidget.cpp
  38. contactrequestwidget.h
  39. contactrequestwidget.ui
  40. currentaccountwidget.cpp
  41. currentaccountwidget.h
  42. currentaccountwidget.ui
  43. globalsystemtray.cpp
  44. globalsystemtray.h
  45. ico.rc
  46. idlabel.cpp
  47. idlabel.h
  48. imdelegate.cpp
  49. imdelegate.h
  50. instantmessagingwidget.cpp
  51. instantmessagingwidget.h
  52. instantmessagingwidget.ui
  53. License.rtf
  54. main.cpp
  55. mainwindow.cpp
  56. mainwindow.h
  57. mainwindow.ui
  58. navstack.cpp
  59. navstack.h
  60. navwidget.cpp
  61. navwidget.h
  62. pathpassworddialog.cpp
  63. pathpassworddialog.h
  64. pathpassworddialog.ui
  65. photoboothdialog.cpp
  66. photoboothdialog.h
  67. photoboothdialog.ui
  68. pixbufmanipulator.cpp
  69. pixbufmanipulator.h
  70. qualitydialog.cpp
  71. qualitydialog.h
  72. qualitydialog.ui
  73. README.md
  74. ressources.qrc
  75. ring.nsi
  76. ringbutton.cpp
  77. ringbutton.h
  78. ringbutton.ui
  79. ringcontactlineedit.cpp
  80. ringcontactlineedit.h
  81. ringthemeutils.h
  82. RingWinClient.pro
  83. selectareadialog.cpp
  84. selectareadialog.h
  85. sendcontactrequestwidget.cpp
  86. sendcontactrequestwidget.h
  87. sendcontactrequestwidget.ui
  88. settingskey.h
  89. shmclient.cpp
  90. shmclient.h
  91. smartlist.cpp
  92. smartlist.h
  93. smartlistdelegate.cpp
  94. smartlistdelegate.h
  95. stylesheet.css
  96. update-translations.py
  97. utils.cpp
  98. utils.h
  99. videooverlay.cpp
  100. videooverlay.h
  101. videooverlay.ui
  102. videoview.cpp
  103. videoview.h
  104. videoview.ui
  105. videowidget.cpp
  106. videowidget.h
  107. windowscontactbackend.cpp
  108. windowscontactbackend.h
  109. wizarddialog.cpp
  110. wizarddialog.h
  111. wizarddialog.ui
README.md

Windows client for Ring

For more information about the ring project, see the following:

Requirements

  • Ring client library and Ring daemon
  • Mingw-w64 build environment
  • Qt5 (we link against Qt5Core, Qt5Widgets, Qt5Gui) built with Mingw
  • Qt5 Svg, Qt5 ImageFormats & Qt5 WinExtras built with Mingw

Get the source code

  • git clone https://gerrit-ring.savoirfairelinux.com/ring-client-windows

Build instructions

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

  • Build winsparkle In the client directory after having initialized the submodule
    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
    
  • Compile the client with ENABLE_AUTOUPDATE=True

Debugging

Compile the client with 'BUILD=Debug' and libRingClient with '-DCMAKE_BUILD_TYPE=Debug'

Packaging

cd build/release
makensis ring.nsi