]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/README
Properly save RecyclePoolId
[bacula/bacula] / bacula / src / qt-console / README
index db583c93cebe9ac17c3480b0cfb3fe65900c7a77..2780246cb99fde92f979a631097feaf1da10dc35 100644 (file)
@@ -6,6 +6,17 @@ development.  If you want to help, please contact Kern directly.
 If you want to build it, you need Qt4 loaded and setup as your
 default Qt or with the appropriate Qt Environment variables set.
 
+6/24/07
+There is now one dependancy, it is qwt.  It compiles just fine with
+either qwt-5.0.2 or qwt-5.0.1.  If you run the command 
+
+  ./build-depkgs-qt-console
+
+It should download and run the appropriate commands to build and install qwt
+for you.  The script will download the package into a subdirectory named     
+depkgs. Then it will configure, make and install qwt.  The installation will
+go into a subdirectory named qwt in the main qt-console directory.
+
 To build bat, you simply enter:
 
   qmake
@@ -16,53 +27,30 @@ then to execute it
   ./bat
 
 The qmake command needs to be entered only if you add a new file, in
-which case, you should edit bat.pro and add the new filename
+which case, you should edit bat.pro.in and add the new filename
 in the appropriate place.  In running qmake, it will build a new 
 Makefile, and there after, you simply use "make". In fact, providing
 you edit bat.pro, doing a "make" will automatically call qmake to
 rebuild the Makefile.
 
-Development status as of 11 Feb 07.
+From the base bacula directory, make Makefiles will generate bat.pro from
+bat.pro.in, so only edit bat.pro.in.   It will also overwrite the qt-consoles
+bat.conf file.  "make install" will write /etc/bacula/bat.conf.  bat.conf can
+include as many director stanza's as you would like in bat.conf.  You may use 
+this directories bat.conf.example as a template for director stanza's.
 
-Items implemented:
-- Reads a basic bat.conf (same as documented for the gnome-console 
-   except that the Font part is unimplemented).
-- Basic main window structure
-- About dialog
-- Quit menu item
-- Connect button will connect to the first Director defined in the conf file.
-- The Director name will appear in the Selection tree followed
-  by Console and Restore.  
-- Clicking on Console brings forward the console display screen
-  (default at startup).
-- Clicking on Restore brings up a brestore page that is not active.
-- The command line is implemented.
-- The status line (below the command line) is implemented.
-- Selection of Font is implemented.
-- The Font and the window size are saved on exit and restored on
-  execution of bat.
+Win32 mingw infos for QT4 :
+ - http://silmor.de/29
+ - http://doc.qtfr.org/post/2007/04/10/Cross-Compilation-Native-dapplication-Qt-depuis-Linux
 
-Items not implemented:
-- None of the menu items except About, Quit.
-- Nothing on the restore page
-     
-Design/implementation considerations:
-- We need to have multiple Directors
-- Each Director should have its own console
-- The Console class needs to be a list or be attached to the
-  currently active Director.
-- Need icons in front of the Director.
-- The console page should be in a DockWidget so it can be removed
-  from the main window. It is currently in a dock window, but it
-  does not remove properly -- more research needed.
-- Need to figure out a good implementation of adding pages and even
-  having plugins that load as pages.  Currently the page mechanism
-  is a bit kludged.
-- moc files should be moved into a subdirectory.
+Development status as of 05/06/07
 
+Items not implemented:
+- Nothing on the brestore page
+         
 Design decisions:
 - If possible all code for a particular component will be kept in
-  and appropriate subdirectory.
+  an appropriate subdirectory.
 - All private class variables are named "m_xxx" this makes it very
   clear if one is referencing a class variable or a local.
 - All signal/slots are connected by explict code (most all are
@@ -73,14 +61,70 @@ Design decisions:
   in main.ui.  
 
 Major projects:
-- Implement a restore page that does a directory tree restore selection
-  much like wx-console does.
 - Implement other restore interfaces such as brestore ...
 - Implement a database browser
-- Implement graphical commands that allow updating most aspects of
-  the database (i.e. commands for label, update Volume, ...)
 - Implement a resource (conf file) browser
 - Implement a reports page -- e.g. something similar to bweb
 - Implement Qt plugins to add new functionality to bat
 - Implement a GUI configuration file editor (something like JBacula).
 ...
+
+Partially Done:
+===========================
+- Implement graphical commands that allow updating most aspects of
+  the database (i.e. commands for label, update Volume, ...)
+      still need to be able to edit a pool object
+
+- None of the menu items except About, Select Font, and Quit.
+    Print and save don't do anything, does save need to??
+Done:
+============================
+Design/implementation considerations:
+- Need icons in front of the Director.
+- The console page should be in a DockWidget so it can be removed
+  from the main window. It is currently in a dock window, but it
+  does not remove properly -- more research needed.
+- Need to figure out a good implementation of adding pages and even
+  having plugins that load as pages.  Currently the page mechanism
+  is a bit kludged.
+
+- We need to have multiple Directors
+- Each Director should have its own console
+- The Console class needs to be a list or be attached to the
+  currently active Director.
+- Will automatically connnect to the first Director in the
+  conf file. Doesn't know about multiple Directors.
+
+- The Label menu bar item, prints on the shell window what you entered.
+- The Run menu bar item, prints on the console window what you entered.
+- The Restore menu bar item, brings up dialog, then when OK is
+  clicked, it goes on to the next dialog, which is meant to be
+  a tree view, but for the moment does nothing ...  It is a bit
+  ugly. Cancelling it should get you back to the normal command prompt.
+
+- Implement a restore page that does a directory tree restore selection
+  much like wx-console does.
+
+Not working:
+- The left selection window and the right window (where the console
+  is) are dockable windows so should be movable once they are properly
+  clicked.  Well, they sort of move, but then get stuck.  I haven't figured
+  out what is going on, so for the current time, I am implemeting most
+  stuff through dialogs.
+     
+Items implemented:
+- Reads a basic bat.conf (same as documented for the gnome-console 
+   except that the Font part is unimplemented).
+- Basic main window structure
+- About dialog
+- Quit menu item
+- The Director name will appear in the Selection tree followed
+  by Console and Restore.  
+- Clicking on Console brings forward the console display screen
+  (default at startup).
+- The command line is implemented.
+- The status line (below the command line) is implemented.
+- Selection of Font is implemented.
+- The Font and the window size are saved on exit and restored on
+  execution of bat.
+- The Status menu bar icon is implemented.