Displaying status messages from the core. Using non-smart pointer for GenericCore to connect to its signal.
This commit is contained in:
@ -19,12 +19,15 @@ class MainWindow : public QMainWindow {
|
||||
MainWindow(QWidget* parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
signals:
|
||||
void displayStatusMessage(QString message);
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
|
||||
void showStatusMessage(const QString text);
|
||||
private:
|
||||
Ui::MainWindow* ui;
|
||||
|
||||
std::shared_ptr<GenericCore> m_core;
|
||||
GenericCore* m_core;
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
Reference in New Issue
Block a user