pgAdmin 4 commit: Make the runtime configuration dialog non-modal. Fixe - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: Make the runtime configuration dialog non-modal. Fixe
Date
Msg-id E1k0NBx-0003NL-VZ@gothos.postgresql.org
Whole thread Raw
List 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@pgadmin.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(-)


pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: [pgAdmin][SonarQube] Rule - variable shadows a builtin
Next
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Fixed code smell 'variable shadows a builtin' reporte