Removed early prototype widget.

This commit is contained in:
Eelke Klein 2017-02-01 20:11:21 +01:00
parent 5a35fa6a30
commit fd47540ecd
4 changed files with 0 additions and 200 deletions

View file

@ -17,7 +17,6 @@ LIBS += c:\prog\lib\libpq.lib User32.lib ws2_32.lib
SOURCES += main.cpp\
mainwindow.cpp \
serverproperties.cpp \
sqlparser.cpp \
PgsqlConn.cpp \
queryresultmodel.cpp \
@ -54,7 +53,6 @@ SOURCES += main.cpp\
MasterController.cpp
HEADERS += mainwindow.h \
serverproperties.h \
sqlparser.h \
PgsqlConn.h \
queryresultmodel.h \
@ -91,7 +89,6 @@ HEADERS += mainwindow.h \
MasterController.h
FORMS += mainwindow.ui \
serverproperties.ui \
databasewindow.ui \
connectionmanagerwindow.ui \
databaseinspectorwidget.ui \

View file

@ -1,14 +0,0 @@
#include "serverproperties.h"
#include "ui_serverproperties.h"
ServerProperties::ServerProperties(QWidget *parent) :
QDialog(parent),
ui(new Ui::ServerProperties)
{
ui->setupUi(this);
}
ServerProperties::~ServerProperties()
{
delete ui;
}

View file

@ -1,22 +0,0 @@
#ifndef SERVERPROPERTIES_H
#define SERVERPROPERTIES_H
#include <QDialog>
namespace Ui {
class ServerProperties;
}
class ServerProperties : public QDialog
{
Q_OBJECT
public:
explicit ServerProperties(QWidget *parent = 0);
~ServerProperties();
private:
Ui::ServerProperties *ui;
};
#endif // SERVERPROPERTIES_H

View file

@ -1,161 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ServerProperties</class>
<widget class="QDialog" name="ServerProperties">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>326</width>
<height>233</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Host</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_2"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Port</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="spinBox">
<property name="maximum">
<number>65535</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Maintenance DB</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="comboBox">
<property name="editable">
<bool>true</bool>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>postgres</string>
</property>
</item>
<item>
<property name="text">
<string>template1</string>
</property>
</item>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Username</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="lineEdit_3"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Password</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="lineEdit_4">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>ServerProperties</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>ServerProperties</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>