API Documentation
Loading...
Searching...
No Matches
GettingStartedDialog Class Reference

#include <GettingStarted.h>

Inheritance diagram for GettingStartedDialog:
[legend]
Collaboration diagram for GettingStartedDialog:
[legend]

Public Slots

void globalStyleDestroyedSlot ()
 
void updateBackgroundSlot ()
 

Public Member Functions

void addWidget (QWidget *widget)
 
bool event (QEvent *event) override
 
 GettingStartedDialog (QTModelManager *model_manager, WindowManager *manager, QWidget *parent=nullptr)
 
QSize minimumSizeHint () const override
 
void paintEvent (QPaintEvent *) override
 
void removeWidget (QWidget *widget)
 
void resizeEvent (QResizeEvent *resize_event) override
 
void setQuickStartCallback (const std::function< void()> &callback)
 
void setQuickStartVisible (bool is_visible)
 
void setTouchThemeVisible (bool is_visible)
 
void showEvent (QShowEvent *event) override
 
QSize sizeHint () const override
 
void updateHorizontal ()
 
virtual ~GettingStartedDialog ()
 

Protected Member Functions

void dragEnterEvent (QDragEnterEvent *event) override
 
void dropEvent (QDropEvent *event) override
 
void ensureBackroundLoaded (NDEVRLightingTheme theme)
 
void setLogoVisible (bool logo_visible)
 
void updateFont ()
 
void updateLogoVisible ()
 
void updateOpacity ()
 
void updateTouchMode ()
 

Protected Attributes

QPixmap m_dark_background
 
bool m_is_logo_visible
 
bool m_is_quick_start_visible
 
QPixmap m_light_background
 
QTModelManagerm_model_manager
 
std::function< void()> m_quickstart_callback
 
TouchDesktopThemeButtonm_touch_desktop_theme
 
WindowManagerm_window_manager
 
Ui::GettingStartedUI * ui
 

Constructor & Destructor Documentation

◆ GettingStartedDialog()

GettingStartedDialog ( QTModelManager * model_manager,
WindowManager * manager,
QWidget * parent = nullptr )

◆ ~GettingStartedDialog()

virtual ~GettingStartedDialog ( )
virtual

Member Function Documentation

◆ addWidget()

void addWidget ( QWidget * widget)

◆ dragEnterEvent()

void dragEnterEvent ( QDragEnterEvent * event)
overrideprotected

◆ dropEvent()

void dropEvent ( QDropEvent * event)
overrideprotected

◆ ensureBackroundLoaded()

void ensureBackroundLoaded ( NDEVRLightingTheme theme)
protected

◆ event()

bool event ( QEvent * event)
override

◆ globalStyleDestroyedSlot

void globalStyleDestroyedSlot ( )
slot

◆ minimumSizeHint()

QSize minimumSizeHint ( ) const
override

◆ paintEvent()

void paintEvent ( QPaintEvent * )
override

◆ removeWidget()

void removeWidget ( QWidget * widget)

◆ resizeEvent()

void resizeEvent ( QResizeEvent * resize_event)
override

◆ setLogoVisible()

void setLogoVisible ( bool logo_visible)
protected

◆ setQuickStartCallback()

void setQuickStartCallback ( const std::function< void()> & callback)
inline

◆ setQuickStartVisible()

void setQuickStartVisible ( bool is_visible)

◆ setTouchThemeVisible()

void setTouchThemeVisible ( bool is_visible)

◆ showEvent()

void showEvent ( QShowEvent * event)
override

◆ sizeHint()

QSize sizeHint ( ) const
override

◆ updateBackgroundSlot

void updateBackgroundSlot ( )
slot

◆ updateFont()

void updateFont ( )
protected

◆ updateHorizontal()

void updateHorizontal ( )

◆ updateLogoVisible()

void updateLogoVisible ( )
protected

◆ updateOpacity()

void updateOpacity ( )
protected

◆ updateTouchMode()

void updateTouchMode ( )
protected

Member Data Documentation

◆ m_dark_background

QPixmap m_dark_background
protected

◆ m_is_logo_visible

bool m_is_logo_visible
protected

◆ m_is_quick_start_visible

bool m_is_quick_start_visible
protected

◆ m_light_background

QPixmap m_light_background
protected

◆ m_model_manager

QTModelManager* m_model_manager
protected

◆ m_quickstart_callback

std::function<void()> m_quickstart_callback
protected

◆ m_touch_desktop_theme

TouchDesktopThemeButton* m_touch_desktop_theme
protected

◆ m_window_manager

WindowManager* m_window_manager
protected

◆ ui

Ui::GettingStartedUI* ui
protected

The documentation for this class was generated from the following file: