Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 132 → Rev 133

/trunk/DBViewer/settingform.h
New file
0,0 → 1,15
#ifndef __SETTINGFORM_H__
#define __SETTINGFORM_H__
#include <QWidget>
#include "ui_settingform.h"
// place your code here
class settingForm : public QWidget, public Ui::settingForm
{
Q_OBJECT
public:
settingForm();
private slots:
// void on_pushButton_clicked();
};
#endif // __SETTINGFORM_H__
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: settingform.ui
===================================================================
--- settingform.ui (revision 0)
+++ settingform.ui (revision 133)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>settingForm</class>
+ <widget class="QWidget" name="settingForm">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>180</width>
+ <height>306</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Параметры соединения</string>
+ </property>
+ <widget class="QWidget" name="verticalLayout">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>10</y>
+ <width>171</width>
+ <height>336</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Имя базы данных</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="lineEdit"/>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Имя пользователя</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="lineEdit_2"/>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_3">
+ <property name="text">
+ <string>Пароль</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="lineEdit_3"/>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_5">
+ <property name="text">
+ <string>Имя сервера</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="lineEdit_5"/>
+ </item>
+ <item>
+ <widget class="QPushButton" name="pushButton">
+ <property name="text">
+ <string>Применить</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
/settingform.ui
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: settingform.cpp
===================================================================
--- settingform.cpp (revision 0)
+++ settingform.cpp (revision 133)
@@ -0,0 +1,10 @@
+#include "settingform.h"
+
+// place your code here
+settingForm::settingForm( )
+ : QWidget()
+{
+ setupUi(this);
+
+ // TODO
+}
/settingform.cpp
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property