More case fixes of filenames.
This commit is contained in:
parent
20af12535e
commit
e71ef2e6df
41 changed files with 258 additions and 123 deletions
211
src/BackupDialog.ui
Normal file
211
src/BackupDialog.ui
Normal file
|
|
@ -0,0 +1,211 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>BackupDialog</class>
|
||||||
|
<widget class="QDialog" name="BackupDialog">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>645</width>
|
||||||
|
<height>745</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Dialog</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="widget" native="true">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>76</x>
|
||||||
|
<y>9</y>
|
||||||
|
<width>232</width>
|
||||||
|
<height>41</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QLineEdit" name="lineEdit"/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton">
|
||||||
|
<property name="text">
|
||||||
|
<string>PushButton</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>9</x>
|
||||||
|
<y>98</y>
|
||||||
|
<width>34</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Format</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QComboBox" name="comboBox">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>76</x>
|
||||||
|
<y>98</y>
|
||||||
|
<width>69</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>9</x>
|
||||||
|
<y>9</y>
|
||||||
|
<width>42</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Filename</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>9</x>
|
||||||
|
<y>124</y>
|
||||||
|
<width>26</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Jobs:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QSpinBox" name="spinBox">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>76</x>
|
||||||
|
<y>124</y>
|
||||||
|
<width>37</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QCheckBox" name="checkBox">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>76</x>
|
||||||
|
<y>150</y>
|
||||||
|
<width>70</width>
|
||||||
|
<height>17</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Verbose</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_5">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>9</x>
|
||||||
|
<y>173</y>
|
||||||
|
<width>61</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Compression</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QSpinBox" name="spinBox_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>76</x>
|
||||||
|
<y>173</y>
|
||||||
|
<width>37</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QCheckBox" name="checkBox_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>70</x>
|
||||||
|
<y>210</y>
|
||||||
|
<width>70</width>
|
||||||
|
<height>17</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Data only</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QCheckBox" name="checkBox_3">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>70</x>
|
||||||
|
<y>230</y>
|
||||||
|
<width>171</width>
|
||||||
|
<height>17</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Include blobs</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QCheckBox" name="checkBox_4">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>70</x>
|
||||||
|
<y>260</y>
|
||||||
|
<width>70</width>
|
||||||
|
<height>17</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Clean</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QCheckBox" name="checkBox_5">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>70</x>
|
||||||
|
<y>280</y>
|
||||||
|
<width>70</width>
|
||||||
|
<height>17</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Create</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_4">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>20</x>
|
||||||
|
<y>320</y>
|
||||||
|
<width>47</width>
|
||||||
|
<height>13</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Encoding</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QComboBox" name="comboBox_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>70</x>
|
||||||
|
<y>320</y>
|
||||||
|
<width>69</width>
|
||||||
|
<height>22</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
||||||
|
|
@ -1,54 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<ui version="4.0">
|
|
||||||
<class>BackupDialog</class>
|
|
||||||
<widget class="QDialog" name="BackupDialog">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>645</width>
|
|
||||||
<height>295</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="windowTitle">
|
|
||||||
<string>Dialog</string>
|
|
||||||
</property>
|
|
||||||
<layout class="QFormLayout" name="formLayout">
|
|
||||||
<item row="0" column="1">
|
|
||||||
<widget class="QWidget" name="widget" native="true">
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
||||||
<item>
|
|
||||||
<widget class="QLineEdit" name="lineEdit"/>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="pushButton">
|
|
||||||
<property name="text">
|
|
||||||
<string>PushButton</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="3" column="0">
|
|
||||||
<widget class="QLabel" name="label_2">
|
|
||||||
<property name="text">
|
|
||||||
<string>Format</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="3" column="1">
|
|
||||||
<widget class="QComboBox" name="comboBox"/>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QLabel" name="label">
|
|
||||||
<property name="text">
|
|
||||||
<string>Filename</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<resources/>
|
|
||||||
<connections/>
|
|
||||||
</ui>
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
#ifndef DATABASEOVERVIEWFORM_H
|
|
||||||
#define DATABASEOVERVIEWFORM_H
|
|
||||||
|
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
namespace Ui {
|
|
||||||
class DatabaseOverviewForm;
|
|
||||||
}
|
|
||||||
|
|
||||||
class DatabaseOverviewForm : public QWidget
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
explicit DatabaseOverviewForm(QWidget *parent = 0);
|
|
||||||
~DatabaseOverviewForm();
|
|
||||||
|
|
||||||
private:
|
|
||||||
Ui::DatabaseOverviewForm *ui;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // DATABASEOVERVIEWFORM_H
|
|
||||||
68
src/src.pro
68
src/src.pro
|
|
@ -18,33 +18,33 @@ LIBS += c:\prog\lib\libpq.lib c:\prog\lib\fmt.lib User32.lib ws2_32.lib
|
||||||
SOURCES += main.cpp\
|
SOURCES += main.cpp\
|
||||||
sqlparser.cpp \
|
sqlparser.cpp \
|
||||||
PgsqlConn.cpp \
|
PgsqlConn.cpp \
|
||||||
queryresultmodel.cpp \
|
QueryResultModel.cpp \
|
||||||
sqlhighlighter.cpp \
|
sqlhighlighter.cpp \
|
||||||
jsoncpp.cpp \
|
jsoncpp.cpp \
|
||||||
queryexplainmodel.cpp \
|
QueryExplainModel.cpp \
|
||||||
explaintreemodelitem.cpp \
|
ExplainTreeModelItem.cpp \
|
||||||
ASyncDBConnection.cpp \
|
ASyncDBConnection.cpp \
|
||||||
tsqueue.cpp \
|
tsqueue.cpp \
|
||||||
win32event.cpp \
|
win32event.cpp \
|
||||||
waithandlelist.cpp \
|
waithandlelist.cpp \
|
||||||
csvwriter.cpp \
|
CsvWriter.cpp \
|
||||||
databasewindow.cpp \
|
DatabaseWindow.cpp \
|
||||||
ConnectionManagerWindow.cpp \
|
ConnectionManagerWindow.cpp \
|
||||||
ConnectionListModel.cpp \
|
ConnectionListModel.cpp \
|
||||||
ConnectionConfig.cpp \
|
ConnectionConfig.cpp \
|
||||||
backuprestore.cpp \
|
BackupRestore.cpp \
|
||||||
querytab.cpp \
|
QueryTab.cpp \
|
||||||
stopwatch.cpp \
|
stopwatch.cpp \
|
||||||
util.cpp \
|
util.cpp \
|
||||||
databaseinspectorwidget.cpp \
|
DatabaseInspectorWidget.cpp \
|
||||||
PgType.cpp \
|
PgType.cpp \
|
||||||
pgsqldatabasecatalogue.cpp \
|
PgsqlDatabaseCatalogue.cpp \
|
||||||
PgTypeContainer.cpp \
|
PgTypeContainer.cpp \
|
||||||
tuplesresultwidget.cpp \
|
TuplesResultWidget.cpp \
|
||||||
pgnamespace.cpp \
|
PgNamespace.cpp \
|
||||||
pgclass.cpp \
|
PgClass.cpp \
|
||||||
backupdialog.cpp \
|
BackupDialog.cpp \
|
||||||
typeselectionitemmodel.cpp \
|
TypeSelectionItemModel.cpp \
|
||||||
MasterController.cpp \
|
MasterController.cpp \
|
||||||
ParamTypeDelegate.cpp \
|
ParamTypeDelegate.cpp \
|
||||||
OpenDatabase.cpp \
|
OpenDatabase.cpp \
|
||||||
|
|
@ -61,33 +61,33 @@ PgTypeContainer.cpp \
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
sqlparser.h \
|
sqlparser.h \
|
||||||
PgsqlConn.h \
|
PgsqlConn.h \
|
||||||
queryresultmodel.h \
|
QueryResultModel.h \
|
||||||
sqlhighlighter.h \
|
sqlhighlighter.h \
|
||||||
queryexplainmodel.h \
|
QueryExplainModel.h \
|
||||||
explaintreemodelitem.h \
|
ExplainTreeModelItem.h \
|
||||||
ASyncDBConnection.h \
|
ASyncDBConnection.h \
|
||||||
tsqueue.h \
|
tsqueue.h \
|
||||||
win32event.h \
|
win32event.h \
|
||||||
waithandlelist.h \
|
waithandlelist.h \
|
||||||
csvwriter.h \
|
CsvWriter.h \
|
||||||
databasewindow.h \
|
DatabaseWindow.h \
|
||||||
ConnectionManagerWindow.h \
|
ConnectionManagerWindow.h \
|
||||||
ConnectionListModel.h \
|
ConnectionListModel.h \
|
||||||
ConnectionConfig.h \
|
ConnectionConfig.h \
|
||||||
scopeguard.h \
|
ScopeGuard.h \
|
||||||
expected.h \
|
Expected.h \
|
||||||
querytab.h \
|
QueryTab.h \
|
||||||
stopwatch.h \
|
stopwatch.h \
|
||||||
util.h \
|
util.h \
|
||||||
databaseinspectorwidget.h \
|
DatabaseInspectorWidget.h \
|
||||||
PgType.h \
|
PgType.h \
|
||||||
pgsqldatabasecatalogue.h \
|
PgsqlDatabaseCatalogue.h \
|
||||||
PgTypeContainer.h \
|
PgTypeContainer.h \
|
||||||
tuplesresultwidget.h \
|
TuplesResultWidget.h \
|
||||||
pgnamespace.h \
|
PgNamespace.h \
|
||||||
pgclass.h \
|
PgClass.h \
|
||||||
backupdialog.h \
|
BackupDialog.h \
|
||||||
typeselectionitemmodel.h \
|
TypeSelectionItemModel.h \
|
||||||
MasterController.h \
|
MasterController.h \
|
||||||
ParamTypeDelegate.h \
|
ParamTypeDelegate.h \
|
||||||
OpenDatabase.h \
|
OpenDatabase.h \
|
||||||
|
|
@ -103,12 +103,12 @@ PgTypeContainer.h \
|
||||||
PgContainer.h
|
PgContainer.h
|
||||||
|
|
||||||
FORMS += mainwindow.ui \
|
FORMS += mainwindow.ui \
|
||||||
databasewindow.ui \
|
DatabaseWindow.ui \
|
||||||
ConnectionManagerWindow.ui \
|
ConnectionManagerWindow.ui \
|
||||||
databaseinspectorwidget.ui \
|
DatabaseInspectorWidget.ui \
|
||||||
tuplesresultwidget.ui \
|
TuplesResultWidget.ui \
|
||||||
querytab.ui \
|
QueryTab.ui \
|
||||||
backupdialog.ui \
|
BackupDialog.ui \
|
||||||
ServerWindow.ui
|
ServerWindow.ui
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue