2 This directory contains the Bacula Admin Tool (bat).
4 At the current time, the contents of this directory are under
5 development. If you want to help, please contact Kern directly.
6 If you want to build it, you need Qt4 loaded and setup as your
7 default Qt or with the appropriate Qt Environment variables set.
9 To build bat, you simply enter:
18 The qmake command needs to be entered only if you add a new file, in
19 which case, you should edit bat.pro and add the new filename
20 in the appropriate place. In running qmake, it will build a new
21 Makefile, and there after, you simply use "make". In fact, providing
22 you edit bat.pro, doing a "make" will automatically call qmake to
25 Development status as of 27 Feb 07.
28 - Reads a basic bat.conf (same as documented for the gnome-console
29 except that the Font part is unimplemented).
30 - Basic main window structure
33 - Will automatically connnect to the first Director in the
34 conf file. Doesn't know about multiple Directors.
35 - The Director name will appear in the Selection tree followed
36 by Console and Restore.
37 - Clicking on Console brings forward the console display screen
40 - Clicking on bRestore brings up a brestore page that is not active.
41 - The command line is implemented.
42 - The status line (below the command line) is implemented.
43 - Selection of Font is implemented.
44 - The Font and the window size are saved on exit and restored on
46 - The Status menu bar icon is implemented.
48 Items not implemented:
49 - None of the menu items except About, Select Font, and Quit.
50 - Nothing on the brestore page
51 - The Label menu bar item, prints on the shell window what you entered.
52 - The Run menu bar item, prints on the console window what you entered.
53 - The Restore menu bar item, brings up dialog, then when OK is
54 clicked, it goes on to the next dialog (oops, it seems to crash
55 now -- will fix soon).
58 - The left selection window and the right window (where the console
59 is) are dockable windows so should be movable once they are properly
60 clicked. Well, they sort of move, but then get stuck. I haven't figured
61 out what is going on, so for the current time, I am implemeting most
62 stuff through dialogs.
64 Design/implementation considerations:
65 - We need to have multiple Directors
66 - Each Director should have its own console
67 - The Console class needs to be a list or be attached to the
68 currently active Director.
69 - Need icons in front of the Director.
70 - The console page should be in a DockWidget so it can be removed
71 from the main window. It is currently in a dock window, but it
72 does not remove properly -- more research needed.
73 - Need to figure out a good implementation of adding pages and even
74 having plugins that load as pages. Currently the page mechanism
78 - If possible all code for a particular component will be kept in
79 and appropriate subdirectory.
80 - All private class variables are named "m_xxx" this makes it very
81 clear if one is referencing a class variable or a local.
82 - All signal/slots are connected by explict code (most all are
83 done in the MainWin constructor), rather than using designer.
84 - Each page has a separate designer .ui file in a subdirectory.
85 - All windows are created with designer and have
86 a name such as xxxForm i.e. the main window is MainForm and kept
90 - Implement a restore page that does a directory tree restore selection
91 much like wx-console does.
92 - Implement other restore interfaces such as brestore ...
93 - Implement a database browser
94 - Implement graphical commands that allow updating most aspects of
95 the database (i.e. commands for label, update Volume, ...)
96 - Implement a resource (conf file) browser
97 - Implement a reports page -- e.g. something similar to bweb
98 - Implement Qt plugins to add new functionality to bat
99 - Implement a GUI configuration file editor (something like JBacula).