Cppcheck
Public Member Functions | Private Slots | Private Attributes | List of all members
ScratchPad Class Reference

A window with a text field that . More...

#include <scratchpad.h>

Inheritance diagram for ScratchPad:

Public Member Functions

 ScratchPad (MainWindow &mainWindow)
 
 ~ScratchPad () override
 
void translate ()
 Translate dialog. More...
 

Private Slots

void checkButtonClicked ()
 Called when check button is clicked. More...
 

Private Attributes

Ui::ScratchPad * mUI
 
MainWindowmMainWindow
 

Detailed Description

A window with a text field that .

Definition at line 37 of file scratchpad.h.

Constructor & Destructor Documentation

◆ ScratchPad()

ScratchPad::ScratchPad ( MainWindow mainWindow)
explicit

Definition at line 29 of file scratchpad.cpp.

References checkButtonClicked(), and mUI.

◆ ~ScratchPad()

ScratchPad::~ScratchPad ( )
override

Definition at line 39 of file scratchpad.cpp.

References mUI.

Member Function Documentation

◆ checkButtonClicked

void ScratchPad::checkButtonClicked ( )
privateslot

Called when check button is clicked.

Definition at line 49 of file scratchpad.cpp.

References MainWindow::analyzeCode(), mMainWindow, and mUI.

Referenced by ScratchPad().

◆ translate()

void ScratchPad::translate ( )

Translate dialog.

Definition at line 44 of file scratchpad.cpp.

References mUI.

Referenced by MainWindow::setLanguage().

Member Data Documentation

◆ mMainWindow

MainWindow& ScratchPad::mMainWindow
private

Definition at line 56 of file scratchpad.h.

Referenced by checkButtonClicked().

◆ mUI

Ui::ScratchPad* ScratchPad::mUI
private

Definition at line 55 of file scratchpad.h.

Referenced by checkButtonClicked(), ScratchPad(), translate(), and ~ScratchPad().


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