Vuo  2.3.2
Signals | Public Member Functions | List of all members
VuoInfoDialog Class Reference

Description

Displays a dialog to give the user a neutral (non-error) message, which the user can opt not to see again.

Definition at line 15 of file VuoInfoDialog.hh.

Signals

void notShown ()
 Fired when show() is called, but the user previously unchecked the box to show it. More...
 

Public Member Functions

 VuoInfoDialog (QWidget *parent, QString summary, QString details, QString checkboxLabel, QString settingsKey)
 Creates a dialog that is ready to be shown. More...
 
 VuoInfoDialog (QWidget *parent, QString summary, QString details)
 Creates a dialog without a checkbox that is ready to be shown. More...
 
void show ()
 Displays a modal dialog, unless the user has previously unchecked the box to show it. More...
 

Constructor & Destructor Documentation

◆ VuoInfoDialog() [1/2]

VuoInfoDialog::VuoInfoDialog ( QWidget *  parent,
QString  summary,
QString  details,
QString  checkboxLabel,
QString  settingsKey 
)

Creates a dialog that is ready to be shown.

Parameters
parentParent widget.
summaryBrief message, translated.
detailsLonger message, translated and wrapped in <p> tags.
checkboxLabel"Show this dialog" message to appear next to checkbox, translated.
settingsKeyFor looking up and storing checkbox status in QSettings.

Definition at line 23 of file VuoInfoDialog.cc.

◆ VuoInfoDialog() [2/2]

VuoInfoDialog::VuoInfoDialog ( QWidget *  parent,
QString  summary,
QString  details 
)

Creates a dialog without a checkbox that is ready to be shown.

Parameters
parentParent widget.
summaryBrief message, translated.
detailsLonger message, translated and wrapped in <p> tags.

Definition at line 39 of file VuoInfoDialog.cc.

Member Function Documentation

◆ notShown

void VuoInfoDialog::notShown ( )
signal

Fired when show() is called, but the user previously unchecked the box to show it.

◆ show()

void VuoInfoDialog::show ( )

Displays a modal dialog, unless the user has previously unchecked the box to show it.

Definition at line 49 of file VuoInfoDialog.cc.


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