Files
iDescriptor/src/welcomewidget.h
T
uncor3 c783123b8d implement WelcomeWidget , fix bugs , add tutorial videos
- Introduced WelcomeWidget to display a welcome message when no devices are connected, replacing the previous "No devices detected" page in MainWindow.
- Replaced ClickableLabel with ZLabel in ifusewidget.h for improved UI consistency.
- Removed PCFileExplorerWidget and its associated header file, streamlining the codebase.
- Updated PhotoImportDialog to improve server start process and UI elements, including renaming buttons and adjusting labels.
- Modified RealtimeScreenWidget to increase delay before initializing screenshot service for better reliability.
- Enhanced SimpleHttpServer to include a method for retrieving the JSON file name.
- Updated ToolboxWidget to integrate WirelessPhotoImportWidget, allowing for wireless photo imports.
- Added WirelessPhotoImportWidget to facilitate the selection and import of photos, including a tutorial video feature.
- Created a new WelcomeWidget to guide users on connecting their iOS devices.
2025-10-18 22:16:15 +00:00

34 lines
736 B
C++

#ifndef WELCOMEWIDGET_H
#define WELCOMEWIDGET_H
#include "responsiveqlabel.h"
#include <QHBoxLayout>
#include <QLabel>
#include <QPixmap>
#include <QVBoxLayout>
#include <QWidget>
class WelcomeWidget : public QWidget
{
Q_OBJECT
public:
explicit WelcomeWidget(QWidget *parent = nullptr);
protected:
bool eventFilter(QObject *watched, QEvent *event) override;
private:
void setupUI();
QLabel *createStyledLabel(const QString &text, int fontSize = 0,
bool isBold = false);
QVBoxLayout *m_mainLayout;
QLabel *m_titleLabel;
QLabel *m_subtitleLabel;
ResponsiveQLabel *m_imageLabel;
QLabel *m_instructionLabel;
QLabel *m_githubLabel;
};
#endif // WELCOMEWIDGET_H