#ifndef PROBLEMLIST_H
|
#define PROBLEMLIST_H
|
|
#include <QMainWindow>
|
#include "tableitemdelegate.h"
|
#include <QMenu>
|
#include <QAction>
|
|
namespace Ui {
|
class ProblemList;
|
}
|
|
class ProblemList : public QMainWindow
|
{
|
Q_OBJECT
|
|
public:
|
explicit ProblemList(QWidget *parent = 0);
|
~ProblemList();
|
void initUi();
|
|
void readCompanyFromSQL();
|
|
private slots:
|
void on_pushButton_addRow_clicked();
|
|
void on_pushButton_save_clicked();
|
|
void showMenuSlot(QPoint);
|
void deleteAction();
|
void on_comboBox_company_currentIndexChanged(const QString &arg1);
|
|
private:
|
Ui::ProblemList *ui;
|
QMenu *m_menu;
|
};
|
|
#endif // PROBLEMLIST_H
|