I thought, that item is a function to access to element of the Table and this is not an object to create it, isn't it?
this is header-file
.h
Qt Code:
#ifndef WIDGET_H #define WIDGET_H #include <QWidget> #include <QTableWidget> #include <QLabel> #include <QLineEdit> #include <QPushButton> #include <QTableWidgetItem> { Q_OBJECT public: ~Widget(); private: QTableWidget * tbl; QTableWidgetItem * coppy; QStringList * lst; QLineEdit * rank; QPushButton * ok; QPushButton * calculate; int rank_of_Matrix=1; float x=0; float **A; private slots: void ok_clicked(); void calculate_clicked(); void Action_toArray(); }; #endif // WIDGET_HTo copy to clipboard, switch view to plain text mode
Bookmarks