1
0

refactor: remove frameless window

remove frameless window and merge it into mainwindow. because we do not need frameless and transparent window, so most of its functions are removed in previous commits.
This commit is contained in:
2026-07-13 15:59:39 +08:00
parent 16800df138
commit a01d640c27
5 changed files with 17 additions and 75 deletions

View File

@@ -5,14 +5,13 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "framelesswindow.h"
#include <QParallelAnimationGroup>
#include <QPropertyAnimation>
#include <QPushButton>
QT_BEGIN_NAMESPACE
class QMenu;
class QVBoxLayout;
class QGraphicsView;
class QFileSystemWatcher;
QT_END_NAMESPACE
@@ -22,7 +21,7 @@ class PlaylistManager;
class GraphicsView;
class NavigatorView;
class BottomButtonGroup;
class MainWindow : public FramelessWindow
class MainWindow : public QWidget
{
Q_OBJECT
@@ -104,6 +103,7 @@ private:
NavigatorView *m_nav;
QMenu *m_menu;
QVBoxLayout * m_centralLayout = nullptr;
QFileSystemWatcher *m_fileSystemWatcher;
BottomButtonGroup *m_bottomButtonGroup;
};