presence: add indicators in smartlist

Presence indicators are now displayed in the smartlist. It is placed
at the bottom left of an avatar and is refreshed automatically when
presence status is modified.

Change-Id: I4acf8a0df0d8a0f03ac013388bf5fc5d417afcb5
Reviewed-by: Olivier Soldano <olivier.soldano@savoirfairelinux.com>
2 files changed
tree: 6de292a31a7bc1307e0c9bd0fadcbc4a49f80545
  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. contactrequestitemdelegate.cpp
  38. contactrequestitemdelegate.h
  39. contactrequestwidget.cpp
  40. contactrequestwidget.h
  41. contactrequestwidget.ui
  42. currentaccountwidget.cpp
  43. currentaccountwidget.h
  44. currentaccountwidget.ui
  45. globalsystemtray.cpp
  46. globalsystemtray.h
  47. ico.rc
  48. idlabel.cpp
  49. idlabel.h
  50. imdelegate.cpp
  51. imdelegate.h
  52. instantmessagingwidget.cpp
  53. instantmessagingwidget.h
  54. instantmessagingwidget.ui
  55. License.rtf
  56. main.cpp
  57. mainwindow.cpp
  58. mainwindow.h
  59. mainwindow.ui
  60. navstack.cpp
  61. navstack.h
  62. navwidget.cpp
  63. navwidget.h
  64. pathpassworddialog.cpp
  65. pathpassworddialog.h
  66. pathpassworddialog.ui
  67. photoboothdialog.cpp
  68. photoboothdialog.h
  69. photoboothdialog.ui
  70. pixbufmanipulator.cpp
  71. pixbufmanipulator.h
  72. qualitydialog.cpp
  73. qualitydialog.h
  74. qualitydialog.ui
  75. README.md
  76. ressources.qrc
  77. ring.nsi
  78. ringbutton.cpp
  79. ringbutton.h
  80. ringbutton.ui
  81. ringcontactlineedit.cpp
  82. ringcontactlineedit.h
  83. ringthemeutils.h
  84. RingWinClient.pro
  85. selectareadialog.cpp
  86. selectareadialog.h
  87. sendcontactrequestwidget.cpp
  88. sendcontactrequestwidget.h
  89. sendcontactrequestwidget.ui
  90. settingskey.h
  91. shmclient.cpp
  92. shmclient.h
  93. smartlist.cpp
  94. smartlist.h
  95. smartlistdelegate.cpp
  96. smartlistdelegate.h
  97. stylesheet.css
  98. update-translations.py
  99. utils.cpp
  100. utils.h
  101. videooverlay.cpp
  102. videooverlay.h
  103. videooverlay.ui
  104. videoview.cpp
  105. videoview.h
  106. videoview.ui
  107. videowidget.cpp
  108. videowidget.h
  109. windowscontactbackend.cpp
  110. windowscontactbackend.h
  111. wizarddialog.cpp
  112. wizarddialog.h
  113. 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