[KLogger Index] [KLogger Hierarchy] [Headers]
This Class is the base class for KLogger More...
#include <klogger.h>
Inherits: KTMainWindow (kdeui)
This Class is the base class for KLogger. It sets up the main window and reads the config file as well as providing a menubar, toolbar and statusbar. For the main view, an instance of class KLoggerView is created which creates the view.
[public]
construtor
[public]
destructor
[public]
initMenuBar creates the menu_bar and inserts the menuitems
[public]
creates the toolbars.
[public]
setup the statusbar
[public]
setup the view of the map
[public]
setup the view of the db-access
[public]
save the app-specific options on slotAppExit or by an Options
[public]
read the app-specific options on init() or by an Options dialog
[public]
enable menuentries/toolbar items
[public]
disable menuentries/toolbar items
[public]
overloaded for Message box on last window exit
[public]
display the coordinates in the statusbar
[public slot]
switch argument for slot selection by menu or toolbar ID
[public slot]
switch argument for Statusbar help entries on slot selection
[public slot]
open a new application window
[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]
print the actual file
[public slot]
close the current window
[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 private toolbar
[public slot]
toggle the statusbar
[public slot]
change the status message to text
[public slot]
change the status message of the whole statusbar temporary
[public slot]
change the status message of the whole statusbar temporary
[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]
logger_menu contains all items of the menubar entry "???"
[private]
help_menu contains all items of the menubar entry "Help"
[private]
view is the main widget which represents your working area. The View class should handle all events of the view widget. It is kept empty so you can create your view according to your application's
[private]
doc represents your actual document and is created only once. It keeps information such as filename and does the serialization of
[private]
flag if toolbar is visible or not. Used for kconfig and checking the view-menu entry view toolbar. bViewStatusbar does the same for the statusbar.
[private]
used for KConfig to store and restore menubar position. Same with tool_bar_pos. If more menubars or toolbars are created, you should add positions as well and implement them in saveOptions() and readOptions().
| Kdoc |