KavitaUploader/main_window.h
2024-11-23 22:36:47 +01:00

39 lines
653 B
C++

//
// Created by neshura on 21.11.24.
//
#ifndef MAIN_WINDOW_H
#define MAIN_WINDOW_H
#include <qabstractbutton.h>
#include <QMainWindow>
namespace kuwindow {
QT_BEGIN_NAMESPACE
namespace Ui { class main_window; }
QT_END_NAMESPACE
class main_window : public QMainWindow {
Q_OBJECT
public:
uint increment_active_widget();
uint decrement_active_widget();
uint get_active_widget();
explicit main_window(QWidget *parent = nullptr);
void on_submit_clicked();
~main_window() override;
private:
Ui::main_window *ui{};
uint active_widget_id{0};
QStringList available_views;
};
} // kuwindow
#endif //MAIN_WINDOW_H