Initial commit of BudgetPro
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
#ifndef FORMELEMENTLIST_H
|
||||
#define FORMELEMENTLIST_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class QSqlQueryModel;
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class formElementList;
|
||||
}
|
||||
|
||||
class formElementList : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit formElementList(QWidget *parent = nullptr);
|
||||
~formElementList();
|
||||
|
||||
private slots:
|
||||
void on_buttonNew_released();
|
||||
void on_buttonEdit_released();
|
||||
void on_buttonClone_released();
|
||||
void on_buttonDelete_released();
|
||||
|
||||
void on_buttonUpdate_released();
|
||||
|
||||
void on_tableView_doubleClicked(const QModelIndex &index);
|
||||
|
||||
void startDrag(const QModelIndex &index);
|
||||
private:
|
||||
Ui::formElementList *ui;
|
||||
QSqlQueryModel *mModel;
|
||||
|
||||
void updateList();
|
||||
void openDocument(QModelIndex index);
|
||||
};
|
||||
|
||||
#endif // FORMELEMENTLIST_H
|
||||
Reference in New Issue
Block a user