Обсуждение: Need suggestion for showing boolean parameters on Property Dialogs

Поиск
Список
Период
Сортировка

Need suggestion for showing boolean parameters on Property Dialogs

От
Ashesh Vashi
Дата:
Hi All,

I am currently working on window function (pg 8.4 new features).
I need suggestions from all of you, while showing the boolean properties
in the properties dialog.

As you can see in the screen shot attached, we have now good number of boolean
parameters in the properties.

And, now we're lack of space.
We can't go all the time to increase the size of the dialog.
We need some mechanism to saw these kind of parameters to utilize the space properly.

booleanValues

Please send me some suggestion on this.
--
Regards,
Ashesh Vashi

EnterpriseDB INDIA: http://www.enterprisedb.com

Re: Need suggestion for showing boolean parameters on Property Dialogs

От
"Dave Page"
Дата:
On Fri, Jan 9, 2009 at 9:38 AM, Ashesh Vashi
<ashesh.vashi@enterprisedb.com> wrote:
> Hi All,
>
> I am currently working on window function (pg 8.4 new features).
> I need suggestions from all of you, while showing the boolean properties
> in the properties dialog.
>
> As you can see in the screen shot attached, we have now good number of
> boolean
> parameters in the properties.
>
> And, now we're lack of space.
> We can't go all the time to increase the size of the dialog.
> We need some mechanism to saw these kind of parameters to utilize the space
> properly.

Hi Ashesh,

For some reason the image isn't displaying here - but what about using
a wxCheckListBox?

http://docs.wxwidgets.org/stable/wx_wxchecklistbox.html#wxchecklistbox

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

Re: Need suggestion for showing boolean parameters on Property Dialogs

От
Ashesh Vashi
Дата:
Hi Dave,

Please see below:

Dave Page wrote:
we have now good number of boolean
parameters in the properties.

And, now we're lack of space.
We can't go all the time to increase the size of the dialog.
We need some mechanism to saw these kind of parameters to utilize the space
properly.

Hi Ashesh,

For some reason the image isn't displaying here - but what about using
a wxCheckListBox?

http://docs.wxwidgets.org/stable/wx_wxchecklistbox.html#wxchecklistbox
I already started working with wxCheckListBox.

But, then realized, we may need to disable some parameters for particular
version of the Postgresql. I couldn't find anything like this in the documents. :(
We may need to inherit that control and our own dray feature. I don't think, it is
worth put that much efforts.

What do you say?

Please find the image for the screen-shot.
--
Regards,
Ashesh Vashi

EnterpriseDB INDIA: http://www.enterprisedb.com
Вложения

Re: Need suggestion for showing boolean parameters on Property Dialogs

От
"Dave Page"
Дата:
Hi Ashesh

On Sat, Jan 10, 2009 at 8:01 AM, Ashesh Vashi
<ashesh.vashi@enterprisedb.com> wrote:

> I already started working with wxCheckListBox.
>
> But, then realized, we may need to disable some parameters for particular
> version of the Postgresql. I couldn't find anything like this in the
> documents. :(
> We may need to inherit that control and our own dray feature. I don't think,
> it is
> worth put that much efforts.
>
> What do you say?

No, I don't think it is worth it at the moment. You could put the
checkboxes in a 2 x 2 grid and see if that looks OK. If not, just
shrink the comment box a little. I don't think we're at crisis point
yet, and when we do get there we can always split the properties
across 2 pages (I think we already do that for one object type - I
forget which atm).

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

Re: Need suggestion for showing boolean parameters on Property Dialogs

От
Ashesh Vashi
Дата:
Hi Dave Page,
I already started working with wxCheckListBox.

But, then realized, we may need to disable some parameters for particular
version of the Postgresql. I couldn't find anything like this in the
documents. :(
We may need to inherit that control and our own dray feature. I don't think,
it is
worth put that much efforts.

What do you say?

No, I don't think it is worth it at the moment. You could put the
checkboxes in a 2 x 2 grid and see if that looks OK. If not, just
shrink the comment box a little. I don't think we're at crisis point
yet, and when we do get there we can always split the properties
across 2 pages (I think we already do that for one object type - I
forget which atm).
I just sent the patch and currently used this logic only. :)

--
Regards,
Ashesh Vashi

EnterpriseDB INDIA: http://www.enterprisedb.com