]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/README
This change of the regular expressions should fix any restoretree issues
[bacula/bacula] / bacula / src / qt-console / README
1
2 This directory contains the Bacula Admin Tool (bat).
3
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.
8
9 6/24/07
10 There is now one dependency, it is qwt.  It compiles just fine with
11 either qwt-5.0.2 or qwt-5.0.1.  You can either install the qwt package
12 yourself or if your distro does not have it, we have included the source
13 in depkgs-qt, which you can download from the Bacula Source Forge        
14 download area.
15
16 Building and running bat is done much like bconsole, the gnome console,
17 or the wxWidgets console.  You add the appropriate options to your   
18 ./configure, then simply do a make.  Please see the Installation chapter
19 of the manual for more details.
20
21
22 Win32 mingw infos for QT4 :
23  - http://silmor.de/29
24  - http://doc.qtfr.org/post/2007/04/10/Cross-Compilation-Native-dapplication-Qt-depuis-Linux
25
26 Development status as of 05/06/07
27
28 Items not implemented:
29 - Nothing on the brestore page
30          
31 Design decisions:
32 - If possible all code for a particular component will be kept in
33   an appropriate subdirectory.
34 - All private class variables are named "m_xxx" this makes it very
35   clear if one is referencing a class variable or a local.
36 - All signal/slots are connected by explicit code (most all are
37   done in the MainWin constructor), rather than using designer.      
38 - Each page has a separate designer .ui file in a subdirectory.
39 - All windows are created with designer and have
40   a name such as xxxForm i.e. the main window is MainForm and kept
41   in main.ui.  
42
43 Major projects:
44 - Implement other restore interfaces such as brestore ...
45 - Implement a database browser
46 - Implement a resource (conf file) browser
47 - Implement a reports page -- e.g. something similar to bweb
48 - Implement Qt plugins to add new functionality to bat
49 - Implement a GUI configuration file editor (something like JBacula).
50 ...
51
52 Partially Done:
53 ===========================
54 - Implement graphical commands that allow updating most aspects of
55   the database (i.e. commands for label, update Volume, ...)
56       still need to be able to edit a pool object
57
58 - None of the menu items except About, Select Font, and Quit.
59     Print and save don't do anything, does save need to??
60 Done:
61 ============================
62 Design/implementation considerations:
63 - Need icons in front of the Director.
64 - The console page should be in a DockWidget so it can be removed
65   from the main window. It is currently in a dock window, but it
66   does not remove properly -- more research needed.
67 - Need to figure out a good implementation of adding pages and even
68   having plugins that load as pages.  Currently the page mechanism
69   is a bit kludged.
70
71 - We need to have multiple Directors
72 - Each Director should have its own console
73 - The Console class needs to be a list or be attached to the
74   currently active Director.
75 - Will automatically connect to the first Director in the
76   conf file. Doesn't know about multiple Directors.
77
78 - The Label menu bar item, prints on the shell window what you entered.
79 - The Run menu bar item, prints on the console window what you entered.
80 - The Restore menu bar item, brings up dialog, then when OK is
81   clicked, it goes on to the next dialog, which is meant to be
82   a tree view, but for the moment does nothing ...  It is a bit
83   ugly. Canceling it should get you back to the normal command prompt.
84
85 - Implement a restore page that does a directory tree restore selection
86   much like wx-console does.
87
88 Not working:
89 - The left selection window and the right window (where the console
90   is) are dockable windows so should be movable once they are properly
91   clicked.  Well, they sort of move, but then get stuck.  I haven't figured
92   out what is going on, so for the current time, I am implementing most
93   stuff through dialogs.
94      
95 Items implemented:
96   See RELEASEFEATURES