NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
TipDialog Class Reference

#include <tipdialog.hpp>

Inheritance diagram for TipDialog:
Collaboration diagram for TipDialog:

Public Member Functions

 TipDialog (wxWindow *parent, wxTipProvider *tipProvider, const wxArrayString &text, bool showAtStartup)
 
bool ShowTipsOnStartup () const
 
void SetTipText ()
 
void OnNextTip (wxCommandEvent &WXUNUSED(event))
 

Private Member Functions

 wxDECLARE_NO_COPY_CLASS (TipDialog)
 

Private Attributes

wxTipProvider * m_tipProvider
 
wxTextCtrl * m_text
 
wxCheckBox * m_checkbox
 

Detailed Description

Definition at line 44 of file tipdialog.hpp.

Constructor & Destructor Documentation

◆ TipDialog()

TipDialog::TipDialog ( wxWindow *  parent,
wxTipProvider *  tipProvider,
const wxArrayString &  text,
bool  showAtStartup 
)

Definition at line 34 of file tipdialog.cpp.

References wxID_NEXT_TIP, and wxLARGESMALL.

Member Function Documentation

◆ OnNextTip()

void TipDialog::OnNextTip ( wxCommandEvent &  WXUNUSEDevent)
inline

Definition at line 60 of file tipdialog.hpp.

References SetTipText().

Here is the call graph for this function:

◆ SetTipText()

void TipDialog::SetTipText ( )
inline

Definition at line 57 of file tipdialog.hpp.

References m_text, and m_tipProvider.

Referenced by OnNextTip().

◆ ShowTipsOnStartup()

bool TipDialog::ShowTipsOnStartup ( ) const
inline

Definition at line 54 of file tipdialog.hpp.

References m_checkbox.

Referenced by ShowTip().

◆ wxDECLARE_NO_COPY_CLASS()

TipDialog::wxDECLARE_NO_COPY_CLASS ( TipDialog  )
private

Member Data Documentation

◆ m_checkbox

wxCheckBox* TipDialog::m_checkbox
private

Definition at line 66 of file tipdialog.hpp.

Referenced by ShowTipsOnStartup().

◆ m_text

wxTextCtrl* TipDialog::m_text
private

Definition at line 65 of file tipdialog.hpp.

Referenced by SetTipText().

◆ m_tipProvider

wxTipProvider* TipDialog::m_tipProvider
private

Definition at line 63 of file tipdialog.hpp.

Referenced by SetTipText().


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