/* * Copyright (C) 2025-2026 ООО «КАРУМА» * * This file is part of SaiCore. * * SaiCore is proprietary software: you can NOT redistribute it and/or modify * it without the express written permission of ООО «КАРУМА». * * SaiCore is distributed under a proprietary EULA license. * See the LICENSE file for details, or contact support@saicore.ru */ #ifndef UBSTARTUPTIPSPALETTE_H #define UBSTARTUPTIPSPALETTE_H class QCheckBox; class QVBoxLayout; class QHBoxLayout; #include #include "UBFloatingPalette.h" #include "api/UBWidgetUniboardAPI.h" #include "domain/UBWebEngineView.h" class UBStartupHintsPalette : public UBFloatingPalette { Q_OBJECT; public: UBStartupHintsPalette(QWidget *parent = 0); ~UBStartupHintsPalette(); signals: public slots: protected: virtual void paintEvent(QPaintEvent *event); virtual void mouseReleaseEvent(QMouseEvent * event); virtual void showEvent(QShowEvent *event); private: void close(); int border(); QCheckBox* mShowNextTime; QVBoxLayout* mLayout; QHBoxLayout* mButtonLayout; UBWidgetUniboardAPI *mpSankoreAPI; UBWebEngineView* mpWebView; private slots: void onShowNextTimeStateChanged(int state); }; #endif // UBSTARTUPTIPSPALETTE_H