LibreOffice Module cui (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
QrCodeGenDialog Class Reference

#include <QrCodeGenDialog.hxx>

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

Public Member Functions

 QrCodeGenDialog (weld::Widget *pParent, css::uno::Reference< css::frame::XModel > xModel, bool bEditExisting)
 
virtual short run () override
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Protected Member Functions

void Apply ()
 

Protected Attributes

css::uno::Reference< css::frame::XModel > m_xModel
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Private Member Functions

void GetErrorCorrection (long)
 

Static Private Member Functions

static OUString GenerateQRCode (OUString aQrText, long aQrECC, int aQrBorder)
 

Private Attributes

std::unique_ptr< weld::Entrym_xEdittext
 
std::unique_ptr< weld::RadioButtonm_xECC [4]
 
std::unique_ptr< weld::SpinButtonm_xSpinBorder
 
css::uno::Reference< css::beans::XPropertySetm_xExistingShapeProperties
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 

Detailed Description

Definition at line 19 of file QrCodeGenDialog.hxx.

Constructor & Destructor Documentation

QrCodeGenDialog::QrCodeGenDialog ( weld::Widget pParent,
css::uno::Reference< css::frame::XModel >  xModel,
bool  bEditExisting 
)

Definition at line 63 of file QrCodeGenDialog.cxx.

References weld::GenericDialogController::m_xBuilder.

Member Function Documentation

void QrCodeGenDialog::Apply ( )
protected
OUString QrCodeGenDialog::GenerateQRCode ( OUString  aQrText,
long  aQrECC,
int  aQrBorder 
)
staticprivate

Definition at line 229 of file QrCodeGenDialog.cxx.

References OUStringToOString().

Referenced by Apply().

void QrCodeGenDialog::GetErrorCorrection ( long  ErrorCorrection)
private

Definition at line 274 of file QrCodeGenDialog.cxx.

References m_xECC.

short QrCodeGenDialog::run ( )
overridevirtual

Reimplemented from weld::DialogController.

Definition at line 98 of file QrCodeGenDialog.cxx.

References Apply(), and RET_OK.

Member Data Documentation

std::unique_ptr<weld::RadioButton> QrCodeGenDialog::m_xECC[4]
private

Definition at line 33 of file QrCodeGenDialog.hxx.

Referenced by Apply(), and GetErrorCorrection().

std::unique_ptr<weld::Entry> QrCodeGenDialog::m_xEdittext
private

Definition at line 32 of file QrCodeGenDialog.hxx.

Referenced by Apply().

css::uno::Reference<css::beans::XPropertySet> QrCodeGenDialog::m_xExistingShapeProperties
private

Definition at line 36 of file QrCodeGenDialog.hxx.

Referenced by Apply().

css::uno::Reference<css::frame::XModel> QrCodeGenDialog::m_xModel
protected

Definition at line 28 of file QrCodeGenDialog.hxx.

Referenced by Apply().

std::unique_ptr<weld::SpinButton> QrCodeGenDialog::m_xSpinBorder
private

Definition at line 34 of file QrCodeGenDialog.hxx.

Referenced by Apply().


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