|
|
void | onEditorFilenameChanged (QString) |
| | onEditorFilenameChanged handle the change of filename inside and editor tab.
|
|
void | onEditorStateChanged (PolFileEditor::State) |
| | onEditorStateChanged handle the state changed of the editor tab.
|
|
| void | solvePoly (QString content) |
| | solvePoly is emitted when the user asks to solve a .pol file.
|
|
|
| PolFileEditorWindow (QWidget *parent=0) |
| void | loadPolFile (QString path=QString()) |
| | loadPolFile loads the file specified by path or simply focus the tab containing it if it's already loaded.
|
|
void | savePolFile () |
| | savePolFile save the pol file in the currently selected tab.
|
| void | closePolFile (QString path) |
| | closePolFile closes the tab of the given .pol file
|
|
void | closeEditor (PolFileEditor *editor) |
| | Close the given editor.
|
| QString | currentPolFile () |
| | currentPolFile returns the path to the currently focused .pol file.
|
| PolFileEditor * | currentEditor () |
| | currentEditor can be used to access the current PolFileEditor focused in the tabWidget.
|
◆ closePolFile()
| void PolFileEditorWindow::closePolFile |
( |
QString | path | ) |
|
closePolFile closes the tab of the given .pol file
- Parameters
-
| path | is the absolute path to the file to close. |
◆ currentEditor()
currentEditor can be used to access the current PolFileEditor focused in the tabWidget.
- Returns
- A pointer to the focused instance of PolFileEditor, or NULL if there is none.
◆ currentPolFile()
| QString PolFileEditorWindow::currentPolFile |
( |
| ) |
|
currentPolFile returns the path to the currently focused .pol file.
- Returns
- A QString with the absolute path of the currently focused .pol file.
◆ loadPolFile()
| void PolFileEditorWindow::loadPolFile |
( |
QString | path = QString() | ) |
|
loadPolFile loads the file specified by path or simply focus the tab containing it if it's already loaded.
path is the path to the file
◆ solvePoly
| void xmpsolve::PolFileEditorWindow::solvePoly |
( |
QString | content | ) |
|
|
signal |
solvePoly is emitted when the user asks to solve a .pol file.
- Parameters
-
| path | is the path to the content of the file that the user wants to solve. |
The documentation for this class was generated from the following files: