[Kflog Index] [Kflog Hierarchy] [Headers]
This Class is the base class for KFlightLog More...
#include <kflog.h>
Inherits: KTMainWindow (kdeui)
This Class is the base class for KFlightLog. 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 KFlightLogView 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]
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]
creates the MapObjectList
[public]
returns the list of map-objects. We can not only return a pointer,
[public slot]
show the map
[public slot]
show creating
[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 document
[public slot]
print the actual file
[public slot]
exits the application
[public slot]
toggle the 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
[private]
fileMenu contains all items of the menubar entry "File"
[private]
viewMenu contains all items of the menubar entry "View"
[private]
mapMenu contains all items of the menubar entry "Map"
[private]
helpMenu 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]
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 |