tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
ParamsEditor Class Reference

#include <paramsd.h>

Inheritance diagram for ParamsEditor:
Collaboration diagram for ParamsEditor:

Public Member Functions

 ParamsEditor (tesseract::Tesseract *, ScrollView *sv=nullptr)
 
void Notify (const SVEvent *sve)
 
- Public Member Functions inherited from SVEventHandler
virtual ~SVEventHandler ()
 

Private Member Functions

void GetPrefixes (const char *s, STRING *level_one, STRING *level_two, STRING *level_three)
 
void GetFirstWords (const char *s, int n, char *t)
 
SVMenuNodeBuildListOfAllLeaves (tesseract::Tesseract *tess)
 
void WriteParams (char *filename, bool changes_only)
 

Private Attributes

ScrollViewsv_window_
 

Constructor & Destructor Documentation

◆ ParamsEditor()

ParamsEditor::ParamsEditor ( tesseract::Tesseract tess,
ScrollView sv = nullptr 
)
explicit

Member Function Documentation

◆ BuildListOfAllLeaves()

SVMenuNode * ParamsEditor::BuildListOfAllLeaves ( tesseract::Tesseract tess)
private

◆ GetFirstWords()

void ParamsEditor::GetFirstWords ( const char *  s,
int  n,
char *  t 
)
private

◆ GetPrefixes()

void ParamsEditor::GetPrefixes ( const char *  s,
STRING level_one,
STRING level_two,
STRING level_three 
)
private

◆ Notify()

void ParamsEditor::Notify ( const SVEvent sve)
virtual

Reimplemented from SVEventHandler.

◆ WriteParams()

void ParamsEditor::WriteParams ( char *  filename,
bool  changes_only 
)
private

Member Data Documentation

◆ sv_window_

ScrollView* ParamsEditor::sv_window_
private

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