smartlist: fix spacing when conv/invite buttons are hidden

Change-Id: Ib1a2a44a64977584504574fb9489e9306f178006
2 files changed
tree: 8e0c1a063c14b7d08873a5df6f0f3c20df82dd0c
  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. accountitemdelegate.cpp
  15. accountitemdelegate.h
  16. accountlistmodel.cpp
  17. accountlistmodel.h
  18. accountserializationadapter.cpp
  19. accountserializationadapter.h
  20. accountstatedelegate.cpp
  21. accountstatedelegate.h
  22. bannedcontactswidget.cpp
  23. bannedcontactswidget.h
  24. bannedcontactswidget.ui
  25. callutilsdialog.cpp
  26. callutilsdialog.h
  27. callutilsdialog.ui
  28. callwidget.cpp
  29. callwidget.h
  30. callwidget.ui
  31. configurationwidget.cpp
  32. configurationwidget.h
  33. configurationwidget.ui
  34. contactdialog.ui
  35. contactpicker.cpp
  36. contactpicker.h
  37. contactpicker.ui
  38. contactrequestwidget.cpp
  39. contactrequestwidget.h
  40. contactrequestwidget.ui
  41. conversationitemdelegate.cpp
  42. conversationitemdelegate.h
  43. conversationsfilterwidget.cpp
  44. conversationsfilterwidget.h
  45. currentaccountwidget.cpp
  46. currentaccountwidget.h
  47. currentaccountwidget.ui
  48. deleteaccountdialog.cpp
  49. deleteaccountdialog.h
  50. deleteaccountdialog.ui
  51. fetch-qrencodewin32.bat
  52. fetch-winsparkle.bat
  53. globalsystemtray.cpp
  54. globalsystemtray.h
  55. ico.rc
  56. idlabel.cpp
  57. idlabel.h
  58. imdelegate.cpp
  59. imdelegate.h
  60. instantmessagingwidget.cpp
  61. instantmessagingwidget.h
  62. instantmessagingwidget.ui
  63. invitebuttonswidget.cpp
  64. invitebuttonswidget.h
  65. invitebuttonswidget.ui
  66. License.rtf
  67. lrcinstance.h
  68. main.cpp
  69. mainwindow.cpp
  70. mainwindow.h
  71. mainwindow.ui
  72. messagemodel.cpp
  73. messagemodel.h
  74. navwidget.cpp
  75. navwidget.h
  76. photoboothdialog.cpp
  77. photoboothdialog.h
  78. photoboothdialog.ui
  79. photoboothwidget.cpp
  80. photoboothwidget.h
  81. photoboothwidget.ui
  82. pixbufmanipulator.cpp
  83. pixbufmanipulator.h
  84. qualitydialog.cpp
  85. qualitydialog.h
  86. qualitydialog.ui
  87. quickactcontactrequestwidget.ui
  88. README.md
  89. ressources.qrc
  90. ring-client-windows.sln
  91. ring-client-windows.vcxproj
  92. ring-client-windows.vcxproj.filters
  93. ring.nsi
  94. ringbutton.cpp
  95. ringbutton.h
  96. ringbutton.ui
  97. ringcontactlineedit.cpp
  98. ringcontactlineedit.h
  99. ringthemeutils.h
  100. RingWinClient.pro
  101. selectareadialog.cpp
  102. selectareadialog.h
  103. sendcontactrequestwidget.cpp
  104. sendcontactrequestwidget.h
  105. sendcontactrequestwidget.ui
  106. settingskey.h
  107. shmclient.cpp
  108. shmclient.h
  109. smartlistmodel.cpp
  110. smartlistmodel.h
  111. smartlistselectorbuttonnotifier.cpp
  112. smartlistselectorbuttonnotifier.h
  113. smartlistview.cpp
  114. smartlistview.h
  115. stylesheet.css
  116. update-translations.py
  117. utils.cpp
  118. utils.h
  119. videooverlay.cpp
  120. videooverlay.h
  121. videooverlay.ui
  122. videoview.cpp
  123. videoview.h
  124. videoview.ui
  125. videowidget.cpp
  126. videowidget.h
  127. windowscontactbackend.cpp
  128. windowscontactbackend.h
  129. wizarddialog.cpp
  130. wizarddialog.h
  131. 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