Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 108 → Rev 109

/trunk/DBViewer/mainwindow.h
3,6 → 3,7
 
 
//#include "mysql.h"
 
#include <QMainWindow>
#include <QStandardItemModel>
#include <QStandardItem>
77,9 → 78,13
QMap <QString, QString> getClassList(); // ïîëó÷àåì ñïèñîê êëàññîâ
void initComboBox();
QList<QTreeWidgetItem *> rootItems; // ñïèñîê óêàçàòåëåé êîðíåâûõ óçëîâ (ìîäåëåé)
 
QMap <QString, QString> class_list_map;
void getDatabaseData();
void buildTree(QTreeWidgetItem * model_item);
QString getClassInctance(QString class_id); // ïîëó÷àåì èìÿ òàáëèöû - õðàíèëèùà îáúåêòîâ êëàññà
void showClassObjects(QTreeWidgetItem * parent_item, QTreeWidgetItem * model_item); // îòîáðàçèì îáúåêòû äî÷åðíèõ êëàññîâ
 
 
private slots:
void on_comboBox_currentIndexChanged( int index );
void on_treeWidget_itemChanged ( QTreeWidgetItem * item, int column );