refactor: structuring apps into polyrepo
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// Created by arjun-flowylabs on 1/10/2026.
|
||||
//
|
||||
|
||||
#ifndef LLINK_MAINWINDOW_H
|
||||
#define LLINK_MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
class QSvgWidget;
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainWindow(QWidget *parent = nullptr);
|
||||
|
||||
~MainWindow();
|
||||
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent *event) override;
|
||||
|
||||
void mousePressEvent(QMouseEvent *event) override;
|
||||
|
||||
void mouseMoveEvent(QMouseEvent *event) override;
|
||||
|
||||
void mouseReleaseEvent(QMouseEvent *event) override;
|
||||
|
||||
private:
|
||||
QSvgWidget *m_handleBar;
|
||||
QPoint dragPosition;
|
||||
bool dragging = false;
|
||||
};
|
||||
|
||||
#endif //LLINK_MAINWINDOW_H
|
||||
Reference in New Issue
Block a user