|
MPSolve 3.2.2
|
Public Slots | |
| 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. | |
Signals | |
| void | solvePoly (QString content) |
| solvePoly is emitted when the user asks to solve a .pol file. | |
Public Member Functions | |
| 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. | |
| void PolFileEditorWindow::closePolFile | ( | QString | path | ) |
closePolFile closes the tab of the given .pol file
| path | is the absolute path to the file to close. |
| PolFileEditor * PolFileEditorWindow::currentEditor | ( | ) |
currentEditor can be used to access the current PolFileEditor focused in the tabWidget.
| QString PolFileEditorWindow::currentPolFile | ( | ) |
currentPolFile returns the path to the currently focused .pol file.
| 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
|
signal |
solvePoly is emitted when the user asks to solve a .pol file.
| path | is the path to the content of the file that the user wants to solve. |