Skip to content

Studio/Interface/SplashScreen.h

Namespaces

Name
shapeworks
User usage reporting (telemetry)

Classes

Name
class shapeworks::SplashScreen

Source code

#pragma once

// qt
#include <QDialog>

// studio
#include <Data/Preferences.h>

class Ui_SplashScreen;
class QListWidgetItem;

namespace shapeworks {

class SplashScreen : public QDialog {
Q_OBJECT

public:

  SplashScreen(QWidget* parent, Preferences& preferences);

  virtual ~SplashScreen();

private Q_SLOTS:

  void new_project();

  void open_existing();

  void open_recent();

  void quit();

  void enable_load_recent_button(QListWidgetItem* item);

Q_SIGNALS:

  void open_project(QString file_path);

private:

  void resizeEvent(QResizeEvent* event) override;

  void populate_recent_projects();

  Ui_SplashScreen* ui_;

  Preferences& preferences_;
};

} // end namespace

Updated on 2024-03-17 at 12:58:44 -0600