change account deletion process

The account deletion was performed by solely clicking the bin icon
in the configuration account panel of a selected account.
This was done without warning nor confirmation.

This patch moves the dedicated button to the account list bottom
as in the other desktop clients, and adds a confimation popup,
summarising the account identifiers (in order, alias, registered name,
ringID), and displays a warning about losing the account in case
it hasn't been exported or added to another device.

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