[Doku Index] [Doku Hierarchy] [Headers]
Dies ist die Basisklasse der Applikation More...
#include <doku.h>
Inherits: QMainWindow (qt)
Dies ist die Basisklasse der Applikation. Sie erstellt das Hauptfenster und stellt ein Menuebar, Toolbar und Statusbar zur Verfuegung. Fuer die Hauptview wird eine Instanz der Klasse DokuView angelegt. Weiterhin wird die Klasse DokuDoc instanziiert.
[public]
construtor
[public]
destructor
[public]
initMenuBar creates the menu_bar and inserts the menuitems
[public]
this creates the toolbars. Change the toobar look and add new toolbars in this
[public]
setup the statusbar
[public]
setup the document
[public]
setup the mainview
[public]
overloaded for Message box on last window exit
[public slot]
switch argument for Statusbar help entries on slot selection
[public slot]
generate a new document in the actual view
[public slot]
open a document
[public slot]
save a document
[public slot]
save a document under a different filename
[public slot]
close the actual file
[public slot]
exits the application
[public slot]
put the marked text/object into the clipboard and remove
[public slot]
put the marked text/object into the clipboard
[public slot]
paste the clipboard into the document
[public slot]
toggle the toolbar
[public slot]
toggle the statusbar
[public slot]
insert document
[public slot]
modify document
[public slot]
delete document
[public slot]
shows an about dlg
[public slot]
change the status message of the whole statusbar temporary
[private]
view is the main widget which represents your working area. The Viewclass should handle all events of the view widget. It is kept empty so you can create your view according to your application's needs by
[private]
doc represents your actual document and is created only once. It keepsinformation such as filename and does the serialization of your files.
[private]
file_menu contains all items of the menubar entry "File"
[private]
edit_menu contains all items of the menubar entry "Edit"
[private]
view_menu contains all items of the menubar entry "View"
[private]
view_menu contains all items of the menubar entry "Document"
[private]
view_menu contains all items of the menubar entry "Help"
Documentation generated by uhlmann@fara2 on Mon Aug 30 20:37:52 MEST 1999 | Kdoc |