mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 15:26:46 -06:00
46ba0310fa
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.
139 lines
3.1 KiB
XML
139 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>LogWindow</class>
|
|
<widget class="QDialog" name="LogWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>500</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>pgAdmin 4 Log</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="lblStartupLog">
|
|
<property name="text">
|
|
<string>Startup Log:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="textStartupLog">
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier</family>
|
|
</font>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="plainText">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="centerOnScroll">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="lblServerLog">
|
|
<property name="text">
|
|
<string>Server Log:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="textServerLog">
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier</family>
|
|
</font>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="plainText">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="centerOnScroll">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="btnReload">
|
|
<property name="text">
|
|
<string>Reload</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="lblStatus">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnClose">
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>btnReload</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>LogWindow</receiver>
|
|
<slot>reload()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>53</x>
|
|
<y>471</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>399</x>
|
|
<y>249</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>btnClose</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>LogWindow</receiver>
|
|
<slot>close()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>731</x>
|
|
<y>471</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>399</x>
|
|
<y>249</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>reload()</slot>
|
|
</slots>
|
|
</ui>
|