← Back to team overview

dubuntu-team team mailing list archive

Re: GUI design

 

Three windows may be overwhelming and confusing for a newbie. Maybe we should just start with one window OR we could have a basic view(one window) and an advanced view(three windows).

Also be aware that the more complicated you make the GUI the harder it is to code. As an example:

If i had a window with say 3 labels, 3 text boxes an OK button and a cancel button. Showing those widgets in that window alone is already going to be 40-60 lines of code and thats without any functionality whatsoever.

I just want to make sure that you understand this so that you dont try to imagine up a super GUI that is made up of only 5 lines of code but can do anything, that is not the case.

Now onto an explanation of how im thinking of creating this GUI:

NOTE: Im just outlining the basics here.

I will be using (at this stage) the GTK+ toolkit (comes with gnome by default) which natively uses C++, but alot of wrappers for alot of different languages have been made by the community, one of them being a python wrapper called pyGTK. I plan to use pyGTK along with an interface designer called Glade to create the GUI. This is the easiest way for me to code the GUI.

To start with the entire GUI will be contained in a single .py file and a .glade file. However this can be split into many .py files and .glade files. Although for us devs the less the better.

The other thing i want to clear up is:

Do we all have bazaar installed now?

Do we all have an SSH key in our lp account? Iv just reinstalled so iv got to get another one. If you dont yet have one go to your profile page in launchpad and click the help icon next to where it lists your SSH keys if you have any. This will tell you how to get one.

We will all need python 2.4 or later installed to run .py files and glade interface desginer instlled to edit .glade files.

.glade files can also be viewed in plain XML.

> From: charl.wentzel@xxxxxxxxxxxxxx
> To: dubuntu-team@xxxxxxxxxxxxxxxxxxx
> Date: Tue, 7 Jul 2009 15:26:22 +0200
> Subject: [Dubuntu-team] GUI design
> 
> Hi Guys
> 
> I did not want to put this in CLI thread as it is more appropriate in a
> separate thread...
> 
> GUI design:
> The system functionality proposed in the CLI thread could be easily
> catered for in a gui design.  You could have three windows in your main
> screen:
> 
> a. Requirements window
> This is where you select from the options for each requirement
> 
> b. Category tree
> A tree view with branches for sub categories
> 
> c. Category items
> A list of options available for the current selected category in the
> category tree
> 
> If you change an option in the requirements window it automatically
> updates the available category items
> 
> As you move through the category tree it will update the category items
> window with the relavant choices with a tick next to those that you have
> selected (or the default choices).  You could even choose that it shows
> you all the options available for the category or just the ones you've
> selected to install.  Much like Synaptic, except that Synaptic has much
> fewer categories, no sub-categories and no requirements.
> 
> So we're really adding a whole bunch of filters to make it easier to
> find what your are looking for.
> 
> I like this approach because you work in only one window and can see
> everything in once glance but also dig deaper (into the tree) if you
> want to.
> 
> What do you think?
> 
> Charl
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dubuntu-team
> Post to     : dubuntu-team@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dubuntu-team
> More help   : https://help.launchpad.net/ListHelp

_________________________________________________________________
View photos of singles in your area Click Here
http://dating.ninemsn.com.au/search/search.aspx?exec=go&tp=q&gc=2&tr=1&lage=18&uage=55&cl=14&sl=0&dist=50&po=1&do=2&trackingid=1046138&r2s=1&_t=773166090&_r=WLM_EndText

References