KavitaUploader/main_window.h

40 lines
653 B
C
Raw Normal View History

2024-11-23 21:36:47 +00:00
//
// 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