Seamly2D
Code documentation
ShowInfoDialog Class Reference

#include <show_info_dialog.h>

Inheritance diagram for ShowInfoDialog:
Collaboration diagram for ShowInfoDialog:

Public Member Functions

 ShowInfoDialog (VPattern *doc, QWidget *parent=nullptr)
 
virtual ~ShowInfoDialog ()
 

Protected Member Functions

virtual void showEvent (QShowEvent *event) Q_DECL_OVERRIDE
 

Private Member Functions

void copyToClipboard ()
 
void sendToPrinter ()
 
void exportPdf ()
 

Private Attributes

Ui::ShowInfoDialog * ui
 
VPatterndoc
 
bool m_isInitialized
 

Detailed Description

Definition at line 42 of file show_info_dialog.h.

Constructor & Destructor Documentation

◆ ShowInfoDialog()

◆ ~ShowInfoDialog()

ShowInfoDialog::~ShowInfoDialog ( )
virtual

Definition at line 109 of file show_info_dialog.cpp.

References ui.

Member Function Documentation

◆ copyToClipboard()

void ShowInfoDialog::copyToClipboard ( )
private

Definition at line 143 of file show_info_dialog.cpp.

References ui.

Referenced by ShowInfoDialog().

◆ exportPdf()

void ShowInfoDialog::exportPdf ( )
private

Definition at line 172 of file show_info_dialog.cpp.

References doc, VAbstractPattern::GetPatternName(), and ui.

Referenced by ShowInfoDialog().

◆ sendToPrinter()

void ShowInfoDialog::sendToPrinter ( )
private

Definition at line 156 of file show_info_dialog.cpp.

References ui.

Referenced by ShowInfoDialog().

◆ showEvent()

void ShowInfoDialog::showEvent ( QShowEvent *  event)
protectedvirtual

Definition at line 120 of file show_info_dialog.cpp.

References m_isInitialized.

Member Data Documentation

◆ doc

VPattern* ShowInfoDialog::doc
private

Definition at line 55 of file show_info_dialog.h.

Referenced by exportPdf(), and ShowInfoDialog().

◆ m_isInitialized

bool ShowInfoDialog::m_isInitialized
private

Definition at line 56 of file show_info_dialog.h.

Referenced by showEvent().

◆ ui

Ui::ShowInfoDialog* ShowInfoDialog::ui
private

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