Subversion Repositories OpenInventory

Rev

Rev 128 | Rev 132 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 128 Rev 130
Line 18... Line 18...
18
#include <QtGui>
18
#include <QtGui>
19
#include <QString>
19
#include <QString>
20
#include <QtSql>
20
#include <QtSql>
21
#include <QFont>
21
#include <QFont>
22
#include <QColor>
22
#include <QColor>
-
 
23
#include <QItemDelegate>
23
24
24
25
25
/*
26
/*
26
#include <QSqlField>
27
#include <QSqlField>
27
#include <QSqlRecord>
28
#include <QSqlRecord>
Line 105... Line 106...
105
    QString getPointerFieldName(QString parent_class_id, QString chield_class_id); // îïðåäåëÿåì èìÿ ïîëÿ, â êîòîðîì õðÿíÿòñÿ óêàçàòåëè íà îáúåêòû ðîäèòåëüñêîãî êëàññà
106
    QString getPointerFieldName(QString parent_class_id, QString chield_class_id); // îïðåäåëÿåì èìÿ ïîëÿ, â êîòîðîì õðÿíÿòñÿ óêàçàòåëè íà îáúåêòû ðîäèòåëüñêîãî êëàññà
106
107
107
    QMap <QString, QString> getPointersList(QString class_id); // ïîëó÷àåì ñïèñîê âñåõ ïîëåé-óêàçàòåëåé, â êà÷åñòâå êëþ÷åé ïîëó÷èì èìåíà ïîëåé-óêàçàòåëåé
108
    QMap <QString, QString> getPointersList(QString class_id); // ïîëó÷àåì ñïèñîê âñåõ ïîëåé-óêàçàòåëåé, â êà÷åñòâå êëþ÷åé ïîëó÷èì èìåíà ïîëåé-óêàçàòåëåé
108
                                                                // â êà÷åñòâå çíà÷åíèé ïîëó÷èì ñïèñîê òàáëèö-õðàíèëèù îáúåêòîâ ðîäèòåëüñêèõ êëàññîâ
109
                                                                // â êà÷åñòâå çíà÷åíèé ïîëó÷èì ñïèñîê òàáëèö-õðàíèëèù îáúåêòîâ ðîäèòåëüñêèõ êëàññîâ
109
    SpinBoxDelegate spinDelegate;
110
    SpinBoxDelegate spinDelegate;
110
-
 
-
 
111
    QItemDelegate standart_delegate;
111
112
112
private slots:
113
private slots:
113
    void on_comboBox_currentIndexChanged( int index );
114
    void on_comboBox_currentIndexChanged( int index );
114
    void on_treeWidget_itemChanged ( QTreeWidgetItem * item, int column );
115
    void on_treeWidget_itemChanged ( QTreeWidgetItem * item, int column );
115
    void on_treeWidget_itemClicked ( QTreeWidgetItem * item, int column );
116
    void on_treeWidget_itemClicked ( QTreeWidgetItem * item, int column );