Doku Class Reference

[Doku Index] [Doku Hierarchy] [Headers]


Dies ist die Basisklasse der Applikation More...

#include <doku.h>

Inherits: QMainWindow (qt)

Public Members

Public Slots

Private Members


Detailed Description

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.


Doku() [public]

construtor

~Doku() [public]

destructor

void initMenuBar() [public]

initMenuBar creates the menu_bar and inserts the menuitems

void initToolBar() [public]

this creates the toolbars. Change the toobar look and add new toolbars in this

void initStatusBar() [public]

setup the statusbar

void initDoc() [public]

setup the document

void initView() [public]

setup the mainview

bool queryExit() [public]

overloaded for Message box on last window exit

void statusCallback(int id_) [public slot]

switch argument for Statusbar help entries on slot selection

void slotFileNew() [public slot]

generate a new document in the actual view

void slotFileOpen() [public slot]

open a document

void slotFileSave() [public slot]

save a document

void slotFileSaveAs() [public slot]

save a document under a different filename

void slotFileClose() [public slot]

close the actual file

void slotFileQuit() [public slot]

exits the application

void slotEditCut() [public slot]

put the marked text/object into the clipboard and remove

void slotEditCopy() [public slot]

put the marked text/object into the clipboard

void slotEditPaste() [public slot]

paste the clipboard into the document

void slotViewToolBar() [public slot]

toggle the toolbar

void slotViewStatusBar() [public slot]

toggle the statusbar

void slotDocInsert() [public slot]

insert document

void slotDocModify() [public slot]

modify document

void slotDocDelete() [public slot]

delete document

void slotHelpAbout() [public slot]

shows an about dlg

void slotStatusHelpMsg(const char *text) [public slot]

change the status message of the whole statusbar temporary

DokuView *view[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

DokuDoc *doc[private]

doc represents your actual document and is created only once. It keepsinformation such as filename and does the serialization of your files.

QPopupMenu *file_menu[private]

file_menu contains all items of the menubar entry "File"

QPopupMenu *edit_menu[private]

edit_menu contains all items of the menubar entry "Edit"

QPopupMenu *view_menu[private]

view_menu contains all items of the menubar entry "View"

QPopupMenu *doc_menu[private]

view_menu contains all items of the menubar entry "Document"

QPopupMenu *help_menu[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