Scribus
Open source desktop publishing at your fingertips
sceditor.mainwindow.EditorMainWindow Class Reference
Inheritance diagram for sceditor.mainwindow.EditorMainWindow:
Collaboration diagram for sceditor.mainwindow.EditorMainWindow:

Public Member Functions

def __init__
 
def closeEvent (self, event)
 
def on_actionExit_triggered (self)
 
def on_actionNewPython_triggered (self)
 
def on_actionNewQtScript_triggered (self)
 
def on_actionClose_triggered (self)
 
def on_actionClear_triggered (self)
 
def on_actionSave_As_triggered (self)
 
def on_actionSave_triggered (self)
 
def save
 
def on_actionOpen_triggered (self)
 
def on_actionRun_triggered (self)
 
def on_actionRunConsole_triggered (self)
 
def run
 

Public Attributes

 ui
 
 splitter
 
 edit_tab
 
 console_tab
 
 py_console
 
 js_console
 
 editors
 

Static Public Attributes

tuple edit = self.edit_tab.currentWidget()
 
tuple saveBox = SaveDialog("You have unsaved script. Save it now?")
 
tuple prompt = saveBox.exec_()
 
tuple i = self.edit_tab.indexOf(edit)
 
tuple contents = str(edit.toPlainText())
 
tuple filename = QFileDialog.getSaveFileName(self, "Save File", "", "*.spy")
 
tuple fil = open(filename , 'w')
 
tuple code = fil.read()
 

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