ui: fixes to font sizes and update scaling at app start

Change-Id: Ie2b68929369d3d3f084025dd16a30aabdf43a9eb
6 files changed
tree: c7e27363aa5024dcc38cf6b4163d82e4ee543626
  1. .tx/
  2. docker/
  3. images/
  4. ringtones/
  5. translations/
  6. web/
  7. .gitignore
  8. .gitmodules
  9. .gitreview
  10. aboutdialog.cpp
  11. aboutdialog.h
  12. aboutdialog.ui
  13. accountdetails.ui
  14. accountitemdelegate.cpp
  15. accountitemdelegate.h
  16. accountlistmodel.cpp
  17. accountlistmodel.h
  18. advancedsettingswidget.cpp
  19. advancedsettingswidget.h
  20. advancedsettingswidget.ui
  21. animatedoverlay.ui
  22. animationhelpers.cpp
  23. animationhelpers.h
  24. avatargraphicsview.cpp
  25. avatargraphicsview.h
  26. bannedcontactswidget.cpp
  27. bannedcontactswidget.h
  28. bannedcontactswidget.ui
  29. bannedlistmodel.cpp
  30. bannedlistmodel.h
  31. build-client.bat
  32. callwidget.cpp
  33. callwidget.h
  34. callwidget.ui
  35. contactdialog.ui
  36. conversationitemdelegate.cpp
  37. conversationitemdelegate.h
  38. conversationsfilterwidget.cpp
  39. conversationsfilterwidget.h
  40. copy-runtime-files.ps1
  41. currentaccountcombobox.cpp
  42. currentaccountcombobox.h
  43. deleteaccountdialog.cpp
  44. deleteaccountdialog.h
  45. deleteaccountdialog.ui
  46. deviceeditwidget.ui
  47. fetch-deps.bat
  48. globalsystemtray.cpp
  49. globalsystemtray.h
  50. ico.rc
  51. idlabel.cpp
  52. idlabel.h
  53. invitebuttonswidget.cpp
  54. invitebuttonswidget.h
  55. invitebuttonswidget.ui
  56. License.rtf
  57. linkdevwidget.cpp
  58. linkdevwidget.h
  59. linkdevwidget.ui
  60. linkify.js
  61. lrcinstance.h
  62. main.cpp
  63. mainwindow.cpp
  64. mainwindow.h
  65. mainwindow.ui
  66. messagewebpage.cpp
  67. messagewebpage.h
  68. messagewebview.cpp
  69. messagewebview.h
  70. navwidget.cpp
  71. navwidget.h
  72. newwizardwidget.cpp
  73. newwizardwidget.h
  74. newwizardwidget.ui
  75. passworddialog.cpp
  76. passworddialog.h
  77. passworddialog.ui
  78. photoboothdialog.cpp
  79. photoboothdialog.h
  80. photoboothdialog.ui
  81. photoboothwidget.cpp
  82. photoboothwidget.h
  83. photoboothwidget.ui
  84. pixbufmanipulator.cpp
  85. pixbufmanipulator.h
  86. qrencode-win32.patch
  87. README.md
  88. regnamedialog.cpp
  89. regnamedialog.h
  90. regnamedialog.ui
  91. ressources.qrc
  92. ring-client-windows.sln
  93. ring-client-windows.vcxproj
  94. ring-client-windows.vcxproj.filters
  95. ring.nsi
  96. ringbutton.cpp
  97. ringbutton.h
  98. ringbutton.ui
  99. ringcontactlineedit.cpp
  100. ringcontactlineedit.h
  101. ringthemeutils.h
  102. RingWinClient.pro
  103. selectareadialog.cpp
  104. selectareadialog.h
  105. sendcontactrequestwidget.cpp
  106. setavatardialog.cpp
  107. setavatardialog.h
  108. setavatardialog.ui
  109. settingsitemwidget.cpp
  110. settingsitemwidget.h
  111. settingskey.h
  112. settingswidget.cpp
  113. settingswidget.h
  114. settingswidget.ui
  115. shmclient.cpp
  116. shmclient.h
  117. smartlistmodel.cpp
  118. smartlistmodel.h
  119. smartlistselectorbuttonnotifier.cpp
  120. smartlistselectorbuttonnotifier.h
  121. smartlistview.cpp
  122. smartlistview.h
  123. stylesheet.css
  124. touch_res.bat
  125. update-translations.py
  126. utils.cpp
  127. utils.h
  128. version.h
  129. videooverlay.cpp
  130. videooverlay.h
  131. videooverlay.ui
  132. videoview.cpp
  133. videoview.h
  134. videoview.ui
  135. videowidget.cpp
  136. videowidget.h
  137. webchathelpers.cpp
  138. webchathelpers.h
  139. windowscontactbackend.cpp
  140. windowscontactbackend.h
  141. winsparkle.patch
  142. wizarddialog.cpp
  143. wizarddialog.h
  144. wizarddialog.ui
  145. wizardwidget.cpp
  146. wizardwidget.h
  147. wizardwidget.ui
README.md

Windows client for Jami

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

Requirements

  • Jami client library and Jami 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 Jami and LRC>
make
make install
cd ..
qmake ../RingWinClient.pro -r -spec win32-g++ RING=<Install dir of Jami 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 Jami 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