# FileViewDialog Class Reference

`#include <fileviewdialog.h>`

List of all members.

## Public Slots
void | setFileExt (int Ext)
void | retranslateUi ()
## Public Member Functions
| FileViewDialog (QWidget *parent, PageCtrl *pageCtrl, ImportExport *importExport)
virtual | ~FileViewDialog ()
## Private Slots
void | fillTextEdit (int Ext)
void | compatibilityIndexChanged (int index)
## Private Attributes
PageCtrl * | m_PageCtrl
| instance of PageCtrl class
ImportExport * | m_ImportExport
| instance of ImportExport class
QTextEdit * | fileText1
| instance of QTextEdit

## Constructor & Destructor Documentation

FileViewDialog::FileViewDialog | ( | QWidget * | parent,
|  | PageCtrl * | pageCtrl,
|  | ImportExport * | importExport |
| ) |  |  |

creating function

Parameters:

  | ImportExport | class

FileViewDialog::~FileViewDialog | ( |  | ) | `[virtual]`

virtual destructor

## Member Function Documentation

void FileViewDialog::compatibilityIndexChanged | ( | int | index | ) | `[private, slot]`

handle compatibility index changed signal and call fillTextEdit with correct extension

void FileViewDialog::fillTextEdit | ( | int | Ext | ) | `[private, slot]`

fill text edit with current page content and additional data, depending on current file extension

void FileViewDialog::retranslateUi | ( |  | ) | `[slot]`

retranslate Ui

void FileViewDialog::setFileExt | ( | int | Ext | ) | `[slot]`

set file extension

## Member Data Documentation

QTextEdit* FileViewDialog::fileText1`[private]`

instance of QTextEdit

ImportExport* FileViewDialog::m_ImportExport`[private]`

instance of ImportExport class

PageCtrl* FileViewDialog::m_PageCtrl`[private]`

instance of PageCtrl class

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

- fileviewdialog.h
- fileviewdialog.cpp