|
MPSolve 3.2.2
|
Public Types | |
| enum | State { SAVED , MODIFIED } |
| State of the document. | |
Signals | |
| void | filenameChanged (QString filename) |
| void | stateChanged (PolFileEditor::State) |
Public Member Functions | |
| PolFileEditor (QWidget *parent=0, QString path=QString()) | |
| void | savePolFile (QString path=QString()) |
| Save the file to the given path, or to the default one if path is an empty string. | |
| QString | currentPolFile () |
| currentPolFile returns the currently opened .pol file | |
| bool | isEmpty () |
| isEmpty returns true if the editor has no content in it. | |
| State | state () |
| state returns the current state of the document | |
| QString | content () |
| content returns the content of the editor | |
| QString PolFileEditor::content | ( | ) |
content returns the content of the editor
| QString PolFileEditor::currentPolFile | ( | ) |
currentPolFile returns the currently opened .pol file
| bool PolFileEditor::isEmpty | ( | ) |
isEmpty returns true if the editor has no content in it.
| PolFileEditor::State PolFileEditor::state | ( | ) |
state returns the current state of the document