Menu

Choosing the TK

GUI
Lyakhov
2005-10-17
2013-04-09
  • Lyakhov

    Lyakhov - 2005-10-17

    Everybody who is interested in developing GUI should post here about what TK he wants to use. After that I'll make a desicion /* Or we will conduct a  if you want. Suggestions about how we should choose TK are welcome; How, not just why */

    I have an idea how the user interface should look like. I'll post the menu structure here as soon as i get it written.

     
    • Jochen

      Jochen - 2005-10-18

      Ok, then will I start, although I am actually not quite sure if I join, as I have another time consuming project ;)

      I like the FOX toolkit: http://fox-toolkit.org

      here are some (unsorted) arguments, why to use it:
      * free (LGPL)
      * C++, no wrapper for C-Toolkit as GTK+ has
      * plattform independet: compiles on nearly everything, which can be called computer
      * compiles with most compilers and doesn't need a proprietary extra compiler, as Qt does
      * clean design / API
      * very fast
      * small in code size
      * OpenGL integration: base classes for easy use of OpenGL in FOX based applications
      * extensible: toolkit is designed to be extended by the user to fit personal needs, so you are not pressed into certain directions
      * large amount of widgets available
      * cool community to ask questions
      * and many more ;)

      Jochen

       
    • Lyakhov

      Lyakhov - 2005-10-21

      Very good, I won't mind against using FOX toolkit if anybody start using it.
      I still suggest using GTK+ as an alternative Tk.
      So it depends on person who'll start developing first, what Tk we'll use :)
      Note: statemant above can be applied only to FOX or GTK+. Other Tks should be discussed here before starting development.

       
    • Lyakhov

      Lyakhov - 2005-10-24

      Excellent. We have choosen Tk. It would be GTK+ because we have got a src! All details will be in mailing list or here (maybe).
      The src will be in cvs soon.

       
    • Daryl Lee

      Daryl Lee - 2005-10-27

      I have a zip file with the basic shell working.  I have removed getopt_long and included ParamContainer, which turns out to be a very useful class (www.biorainbow.com/paramcontainer).  I tried to post it to CVS, but got an error saying I didn't have write access.  I tried to upload it to the Files section of the forum, but I can't figure out how to do that (maybe I don't have privileges there, either.)  I am, therefore, emailing it to Fedor so it can be posted easily.

      The shell is simply the menu bar.  I will be adding known dialog boxes (File Open, Save As, etc.) as I have time and can determine what is needed.)  Gtk+ is fairly easy to use, I think.  Anyone should be able to see how to plug in  features as we go along.

      I do not have Gtk+ installed on my XP box for testing with Visual C++ 6.0 (it's my employer's computer).  Maybe someone can try it on the PC, too, and set up a .dsp file for it?

      Daryl

       
    • Lyakhov

      Lyakhov - 2005-10-27

      It is strange that you don't have access to CVS: at my admin page there is notice that all members of the team have access to CVS (I've set it up when adding developers).
      I've made you release tech. so you are to be able to upload files to [Files]. Please, describe your problem with CVS in [help] and we'll try to solve it.

      I've done some minor changes in old gui, so I'll merge it with current one and post it in CVS. I have huge lack of time now, so maybe I'll do it only on Saturday.

       
      • Daryl Lee

        Daryl Lee - 2005-10-27

        Just to be sure I was "starting from a clean slate", I deleted my entire opsmodelling folder.  Then:

        cvs -d:pserver:daryllee@cvs.sourceforge.net:/cvsroot/opsmodelling login
        cvs -d:pserver:daryllee@cvs.sourceforge.net:/cvsroot/opsmodelling co -P opsmodelling.

        This gave me a new source tree.  Then
        cd src
        cvs add gui
        After listing all the files, in a form like:
        ? gui/Makefile
        ? gui/ParamContainer.cpp
        ...
        I got:
        cvs [server aborted]: "add" requires write access to the repository

        In my gui folder I have the normal CVS folder and reasonable contents:
        Entries:
          D
        Repository:
          opsmodelling/src/gui
        Root:
          :pserver:daryllee@cvs.sourceforge.net:/cvsroot/opsmodelling

        I've used CVS often, but I can't recall ever adding anything to a Sourceforge CVS tree.

        Daryl

         
        • Lyakhov

          Lyakhov - 2005-10-27

          I've never used cvs client for linux (because I'm accessing inet from my institute and there is only must_die, so I use TortoiseCVS).

          I can give you admin's rights to fix this problem.

           
          • Daryl Lee

            Daryl Lee - 2005-10-27

            I see the problem now.  Sourceforge uses a higher level of security than I've used before, and I will have to carefully read -- and follow -- the instructions to set up my client to use the authentication.  I should not need admin privileges.  Thanks, anyway.

            I'll let you know when I've succeeded.

             
    • Daryl Lee

      Daryl Lee - 2005-10-27

      Problem solved, files uploaded.  Note that the web browser view of CVS seems to be slow to update.  But I checked out the whole tree again after uploading and it's all there.

       
    • Lyakhov

      Lyakhov - 2005-10-28

      Very well. I see: access to CVS at SF needs SSH.

       

Log in to post a comment.