src/MainWindow.h

Tue, 15 Feb 2022 21:21:12 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 15 Feb 2022 21:21:12 +0100
changeset 11
c9cdc15d3caf
parent 6
f8474f2c5db9
child 15
c58b82549713
permissions
-rw-r--r--

The Supplier editor saves changes and inserts new suppliers. It sends a signal to InventorySuppliers when done (always for now). Refresh the table still doesn't work. Added a missing iconn in the Inventory menus dropdown.

#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