Hi Kern! Less portable? I think that QT4 runs on all platforms that QT3 does and respect with the availability QT4 has been already packaged for multiple distros [0].
Another example of the QT4 portability is Krash (the first development snapshot of KDE4) [1], it uses a preview of QT4.2 and runs on GNU/Linux and Mac OS X [2]. And in [3] there is a list of cross platform Qt4 IDEs. On the other side, a long time ago I read the online version of Rempt's book and I think you can use your favorite editor instead. So, once again, please consider building the GUI interface using all the advantages that QT4 brings to us (years of experience since QT3!!!). [0] http://www.blogistan.co.uk/qt/ [1] http://dot.kde.org/1155935483/ [2] http://dot.kde.org/1158239585/ [3] http://www.thelins.se/johan/2006/10/cross-platform-qt-4-ides.html On 10/9/06, Kern Sibbald <[EMAIL PROTECTED]> wrote: > On Monday 02 October 2006 21:58, Julián Hernández Gómez wrote: > > Hi Kern! > > > > I'm +1 on the choose of QT as the primary framework for developing the > > bacula GUI. But I strongly suggest to use QT4 (4.2) from the beginning > > and save everybody from the pain of a later migration. > > Thanks for the advice. Unfortunately Qt4 is sufficiently different that > writing to it at this point would make the project less portable. Although > there is a nice book out on Qt4, my system does not have it loaded, so all > the installed tools are geared toward Qt3. > > > > > I also recommends you reconsider the PyQT option, because it's a > > really good option and has a lot of documentation: > > > > First I recommend you reading the excellent overview of PyQt4 that was > > presented at EuroPython 2006 [0], then look at all the info found in > > the PyQT wiki [1] including a reference to a lot of nice tutorials, > > including Boudewijn Rempt's book "GUI Programming with Python: Qt > > Edition" available online in the PyQT homepage [2]. Also I think that > > the way to go with PyQT is to read the Qt Documentation (including the > > Qt Designer Manual) and then read the PyQT reference guide [3] (the > > examples shown in this guide often refers to the QT Documentation "for > > a full description"). > > It seems to me that I might have already responded to this, but Rempt's book > is apparently not in print, and in any case works with something called > Blackadder, which is very none standard. As a consequence, even using the > online version of his book is not very practical. > > Perhaps at a later time, we will convert to Python. For the moment, my > learning curve is *very* steep just trying to understand designer and Qt3. > > > > > In case you still want to not use PyQT :-) I'd suggest the revision of > > the source code of fwbuilder [4]. Fwbuilder is an excellent GUI > > program (GPL) made in C++, QT3 and uses QT Designer. Maybe it's a > > good starting point for developing the Bacula GUI. > > > > > > [0] > http://indico.cern.ch/contributionDisplay.py?contribId=33&sessionId=41&confId=44 > > [1]http://wiki.python.org/moin/PyQt > > [2] http://www.riverbankcomputing.co.uk/pyqt/ > > [3] http://www.riverbankcomputing.com/Docs/PyQt4/pyqt4ref.html > > [4] http://www.fwbuilder.org/ > > > > > > On 10/2/06, Kern Sibbald <[EMAIL PROTECTED]> wrote: > > > On Saturday 30 September 2006 17:28, Jo wrote: > > > > Kern Sibbald schreef: > > > > > Hello, > > > > > > > > > > As I previously wrote, working on a GUI solution is now one of my top > > > > > priorities. We have discussed the problems and possible solutions for > > > > > getting a good GUI interface for Bacula a number of times. I've > thought > > > about > > > > > all the possibilities, and there are a lot of them. Previously, I had > > > been > > > > > leaning more towards a Python Qt interface, because Python is a nice > > > language > > > > > and easy to program. Unfortunately, I haven't found any really good > IDE > > > > > (integrated development environment) for it, nor have I found any good > > > > > documentation on the Python Qt interface. So I have abandoned this > idea. > > > > > > > > > > Another idea that I have abandoned is developing a web application. > There > > > are > > > > > two reasons: 1. I find no user interface design tools for web based > > > > > applications. 2. web applications are very problematic for security > > > minded > > > > > people such as myself. I run a web server, but there is no way in the > > > world > > > > > that I would run a Bacula web application on my web server. In the > past, > > > I > > > > > have gotten around this by having a second LAN only server, but I > don't > > > > > really like this. In addition with technology such as FreeNX, I > believe > > > that > > > > > there is no disadvantage to writing desktop GUI applications -- they > can > > > now > > > > > be executed from anywhere much like a web application can. > > > > > > > > > > One can certainly argue with the above points, but that is pretty much > > > useless > > > > > because what I am writing is not to convince you about my views but to > > > give > > > > > you a little bit of the reasoning behind the direction I am taking. > > > > > > > > > > So that is the brief background. There is obviously much more to it > all, > > > but > > > > > I'd like to get to the point, which is that I am now starting a new > core > > > code > > > > > project for Bacula to initially create a console GUI (combination of > > > > > bconsole, gconsole, wx-console, and all the others). As a second > step, it > > > > > will evolve (or start a separate program) to including manangement job > > > > > summary information such as bacula-web and similar programs. > > > > > > > > > > To do the project, I intend to use Kdevelop as the IDE, designer as > the > > > GUI > > > > > design tool (integrated into Kdevelop), C++, and Qt3 (later Qt4). I > would > > > > > also like it to use cmake, but expect that in the beginning it will > use > > > > > qmake. > > > > > > > > > > All this is a bit too much for me at one time, because all the pieces > > > > > (Kdevelop, designer, Qt3, qmake or cmake) are all new to me, so I > really > > > > > would like to get some help from any of you who are experienced in > these > > > > > tools or who just want to help. > > > > > > > > > > A few notes about the project: > > > > > - as mentioned above, it will be based on C++ and Qt > > > > > - it will use Kdevelop, designer and qmake or cmake > > > > > - it will be part of the base Bacula code, and hence in the bacula > source > > > > > tree. > > > > > - it will replace, gconsole and wx-console (i.e. they are depreciated) > > > > > - it will be copyrighted by the Bacula project (for the moment me -- > more > > > on > > > > > that in my status #2 concerning the future of the Bacula project). > > > > > - it will serve as a test bed for defining a Bacula GUI API > > > > > - it will be highly integrated with the Director, but nevertheless a > > > separate > > > > > program. > > > > > - if I can get some help starting the project, I can imagine that we > could > > > get > > > > > something quite functional with at least the capabilities of > gconsole > > > (and > > > > > maybe wx-console) by the end of the year. If I have to do it alone, > it > > > will > > > > > probably be mid-2007 before it becomes functional. > > > > > > > > > Did you consider wx-python. There is Boa-constructor as the IDE, but > > > > apparently you lean very much towards QT. I'm mostly sad because you > > > > move away from Python, since I don't know any C++. OTOH I don't have > > > > time to pitch in, so I don't really have too much to say about it. > > > > I do hope you will find somebody who feels like helping. A GUI for > > > > Bacula is long overdue. > > > > > > wxWidgets is too slow, clunky, not very pretty, and has no GUI interface > > > builder. Qt is the opposite of those. I wanted to use Qt Python, but > there > > > is not a single book written on it, so I'm going with straight C++, which > > > simplifies my life somewhat. > > > > > > The more I see of Qt designer (did the first exercise in the tutorial this > > > morning), the more I am impressed. 100 x better than glade. There is a > lot > > > to learn, but at least you can group items after you insert them. glade > > > requires you to put either a horizontal or vertical container before you > > > begin inserting widgets, which is not at all intuitive for guys like me > who > > > design bottom up rather than top down. > > > > > > > > > > > All the best, > > > > > > > > Jo > > > > > > > > > ------------------------------------------------------------------------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > > > opinions on IT & business topics through brief surveys -- and earn cash > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > > > Bacula-devel mailing list > > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/bacula-devel > > > > > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > > opinions on IT & business topics through brief surveys -- and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > Bacula-users mailing list > > > Bacula-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > > > > > > -- > > Julián > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Bacula-devel mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/bacula-devel > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Julián ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users