src/MainWindow.h

Tue, 15 Feb 2022 23:00:45 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 15 Feb 2022 23:00:45 +0100
changeset 12
66e10898a2a9
parent 6
f8474f2c5db9
child 15
c58b82549713
permissions
-rw-r--r--

Suppliers table refresh works after edit.

#ifndef _MAINWINDOW_H
#define _MAINWINDOW_H

#include "InventorySuppliers.h"

#include <QMainWindow>
#include <QStandardItemModel>
#include <QMenu>
#include <QToolButton>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_actionExit_triggered();
    void on_actionSuppliers_triggered();
    void on_actionAbout_triggered();

public slots:
    void fromInventorySuppliers();

private:
    Ui::MainWindow *ui;

    // Keep pointers to new windows.
    InventorySuppliers *InventorySuppliersWindow;
};

#endif

mercurial