pgAdmin 4 commit: Make the runtime configuration dialog non-modal. Fixe

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Make the runtime configuration dialog non-modal. Fixe
Date: 2020-07-28 10:50:41
Message-ID: E1k0NBx-0003NL-VZ@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Make the runtime configuration dialog non-modal. Fixes #5490
Major refactoring of the runtime code, Specifically:
  - Move the bulk of the core code from main() into a new Runtime class.
  - Break up the mass of code that was main() into a number of relatively simple functions.
  - Make the Configuration dialog synchronous so the Log dialog can be properly viewed.
  - Enable/disable menu options at the right time.
  - Remove support for Qt < 5.0.
  - Remove the application name constant and hardcode the name to simplify the code.
  - Improve log messages.
  - Replace the sdbm hashing with Qt's MD5 hashing.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=46ba0310fa9897a1cbd17a8eeb9df097fdb12d12
Author: Dave Page <dpage(at)pgadmin(dot)org>

Modified Files
--------------
docs/en_US/release_notes_4_25.rst | 1 +
runtime/ConfigWindow.cpp | 59 ++--
runtime/ConfigWindow.h | 9 +-
runtime/ConfigWindow.ui | 2 +-
runtime/FloatingWindow.cpp | 34 ++-
runtime/FloatingWindow.h | 4 +-
runtime/FloatingWindow.ui | 2 +-
runtime/LogWindow.cpp | 18 +-
runtime/LogWindow.h | 5 +-
runtime/LogWindow.ui | 2 +-
runtime/Logger.cpp | 9 +-
runtime/Logger.h | 1 -
runtime/MenuActions.cpp | 46 +--
runtime/MenuActions.h | 9 +-
runtime/Runtime.cpp | 605 ++++++++++++++++++++++++++++++++++++++
runtime/Runtime.h | 65 ++++
runtime/Server.cpp | 17 +-
runtime/Server.h | 10 +-
runtime/TrayIcon.cpp | 31 +-
runtime/TrayIcon.h | 7 +-
runtime/pgAdmin4.cpp | 541 +++-------------------------------
runtime/pgAdmin4.h | 31 +-
runtime/pgAdmin4.pro | 18 +-
23 files changed, 878 insertions(+), 648 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-07-28 10:50:42 pgAdmin 4 commit: Fixed code smell 'variable shadows a builtin' reporte
Previous Message Aditya Toshniwal 2020-07-28 05:20:22 [pgAdmin][SonarQube] Rule - variable shadows a builtin