Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::TextEditor Class Reference

#include <TextEditor.h>

Inheritance diagram for sf::TextEditor:
Collaboration diagram for sf::TextEditor:

Public Member Functions

 TextEditor (QWidget *parent)
 
void newFile () override
 Pure virtual needs to be implemented.
 
bool loadFile (const QString &fileName) override
 Pure virtual needs to be implemented.
 
bool save () override
 Pure virtual needs to be implemented.
 
bool saveAs () override
 Pure virtual needs to be implemented.
 
bool saveFile (const QString &fileName)
 
bool isModified () const override
 Pure virtual needs to be implemented.
 
QString userFriendlyCurrentFile () const override
 Pure virtual needs to be implemented.
 
QString currentFile () const override
 Pure virtual needs to be implemented.
 
bool hasSelection () const override
 Pure virtual needs to be implemented.
 
bool isUndoRedoEnabled () const override
 Pure virtual needs to be implemented.
 
bool isUndoAvailable () const override
 Pure virtual needs to be implemented.
 
bool isRedoAvailable () const override
 Pure virtual needs to be implemented.
 
void cut () override
 Pure virtual needs to be implemented.
 
void copy () override
 Pure virtual needs to be implemented.
 
void paste () override
 Pure virtual needs to be implemented.
 
void undo () override
 Pure virtual needs to be implemented.
 
void redo () override
 Pure virtual needs to be implemented.
 
- Public Member Functions inherited from sf::MultiDocInterface
 MultiDocInterface ()
 Default constructor.
 
virtual void setConnections (QWidget *editor)
 Sets the editor to operate on.
 
virtual bool canClose () const
 When the document is modified this function shows a message box with 3 options to save or not or to cancel closing the document.
 
QString getFileTypeFilters () const
 
virtual void stateSaveRestore (bool save)
 Saves or restores the state of the MDI instance.
 
void activate (bool)
 Called by application when this document is activated deactivated.
 
virtual void develop ()
 Virtual function which is called during development only fro an action.
 

Protected Member Functions

void closeEvent (QCloseEvent *event) override
 

Additional Inherited Members

- Public Attributes inherited from sf::MultiDocInterface
MultiDocInterfaceSignals mdiSignals
 Instance to connect signal handlers onto.
 

Constructor & Destructor Documentation

◆ TextEditor()

sf::TextEditor::TextEditor ( QWidget *  parent)
explicit

Member Function Documentation

◆ closeEvent()

void sf::TextEditor::closeEvent ( QCloseEvent *  event)
overrideprotected

◆ copy()

void sf::TextEditor::copy ( )
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ currentFile()

QString sf::TextEditor::currentFile ( ) const
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ cut()

void sf::TextEditor::cut ( )
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ hasSelection()

bool sf::TextEditor::hasSelection ( ) const
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ isModified()

bool sf::TextEditor::isModified ( ) const
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ isRedoAvailable()

bool sf::TextEditor::isRedoAvailable ( ) const
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ isUndoAvailable()

bool sf::TextEditor::isUndoAvailable ( ) const
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ isUndoRedoEnabled()

bool sf::TextEditor::isUndoRedoEnabled ( ) const
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ loadFile()

bool sf::TextEditor::loadFile ( const QString &  fileName)
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ newFile()

void sf::TextEditor::newFile ( )
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ paste()

void sf::TextEditor::paste ( )
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ redo()

void sf::TextEditor::redo ( )
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ save()

bool sf::TextEditor::save ( )
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ saveAs()

bool sf::TextEditor::saveAs ( )
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ saveFile()

bool sf::TextEditor::saveFile ( const QString &  fileName)

◆ undo()

void sf::TextEditor::undo ( )
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.

◆ userFriendlyCurrentFile()

QString sf::TextEditor::userFriendlyCurrentFile ( ) const
overridevirtual

Pure virtual needs to be implemented.

Implements sf::MultiDocInterface.


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