X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=618a10e0fb51b1097a2e3b91216dd0c46a5778ad;hb=55547a4510d8ff310ab1ac57e69e3e51132b2c2f;hp=91a0bc5d69d971076f8191b01f9d53316864acfc;hpb=7cd2b5f35bbc29136173acbc4c6d9b5f4e8f7606;p=pulseview.git diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 91a0bc5..618a10e 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -83,6 +83,8 @@ public: std::string open_file_format = std::string(), QWidget *parent = 0); + ~MainWindow(); + QAction* action_open() const; QAction* action_save_as() const; QAction* action_save_selection_as() const; @@ -146,6 +148,10 @@ private: void keyReleaseEvent(QKeyEvent *event); + virtual QMenu* createPopupMenu(); + + virtual bool restoreState(const QByteArray &state, int version = 0); + private Q_SLOTS: void show_session_error( const QString text, const QString info_text);