LibreVNA/Software/PC_Application/modewindow.h
Kiara Navarro cb9b03e418
app/mode: place tabs in menu corner
Signed-off-by: Kiara Navarro <sophiekovalevsky@fedoraproject.org>
2022-07-09 12:54:38 -05:00

26 lines
489 B
C++

#ifndef MODEWINDOW_H
#define MODEWINDOW_H
#include "modehandler.h"
class ModeWindow: public QWidget
{
Q_OBJECT
public:
explicit ModeWindow(ModeHandler* handler, AppWindow* aw, QWidget *parent = nullptr);
~ModeWindow();
private:
ModeHandler* handler;
void SetupUi();
AppWindow* aw;
QTabBar* tabBar;
private slots:
void ModeCreated(int modeIndex);
void ModeClosed(int modeIndex);
void CurrentModeChanged(int modeIndex);
};
#endif // MODEWINDOW_H