Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 131 → Rev 132

/trunk/DBViewer/mainwindow.h
5,7 → 5,7
//#include "mysql.h"
 
#include "mymodel.h"
 
#include "settingform.h"
#include "delegate.h"
 
#include <QMainWindow>
61,6 → 61,19
private:
Ui::MainWindow *ui;
 
settingForm setFrm;
//ïåðåìåííûå äëÿ ñîåäèíåíèÿ ñ áàçîé
QString baseName;
QString hostName;
QString userName;
QString password;
QString tableName;
 
void readSettings();
void writeSettings();
 
 
 
QList<QTreeWidgetItem *> root_items_list;
QStandardItemModel *model;
QStandardItem *item;
110,6 → 123,13
SpinBoxDelegate spinDelegate;
QItemDelegate standart_delegate;
 
 
 
 
 
 
 
 
private slots:
void on_comboBox_currentIndexChanged( int index );
void on_treeWidget_itemChanged ( QTreeWidgetItem * item, int column );
120,7 → 140,8
void on_pushButton_3_clicked();// íàæàòèå êíîïêè "Ïðèìåíèòü"
void on_pushButton_4_clicked();// íàæàòèå êíîïêè "Ñáðîñèòü èçìåíåíèÿ"
void on_sql_mogel_dataChanged ( const QModelIndex & topLeft, const QModelIndex & bottomRight ); // èçìåíèëè ñâîéñòâà îáúåêòà èëè äîáàâèëè íîâûé îáúåêò
 
void applySetting();
void getSetting(); // îòêðîåì îêíî íàñòðîåê
};