List Info

Thread: RFC: Idea for qmake project conf dlg




RFC: Idea for qmake project conf dlg
user name
2006-08-20 10:45:00
Hi,

another thing that was brought up on IRC by bUscher: He'd
like to have
the project conf dlg for qmake projects to be non-modal and
if he
selects another subproject that the dialog loads the
configuration
options for it.

Now there's one problem with that: Saving, currently the
configuration
is saved whenver the dialog is closed. If it won't be
closed the user
would loose all changes to the configuration, which is
really bad. So
the only way I see it currently is to ask the user wether to
save the
current config before loading the new subproject's config.
However when
switching between subprojects this will get _very_ annoying.

bUscher proposed to automatically not save the
configuration, which
isn't a possible thing, we'll get lots of bugreports when
we do this.

Always automatically saving is not an option too, because
then there's
no way to cancel the changes.

My initial idea to solve this dilemma was a configuration
option
(outside of the subproject conf dlg) to tell the project
manager that
he'd either ask, always save or always cancels when loading
a new
subproject. The problem is: There's no such configuration
page in the
project file.

So the questions are:

1. Is it easily possible to implement such a configuration
page for the
qmake project manager?

2. Does anybody here have a better idea to solve this
problem?

Andreas

-- 
Expect the worst, it's the least you can do.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
RFC: Idea for qmake project conf dlg
user name
2006-08-22 00:35:48
On 20.08.06 12:45:00, Andreas Pakulat wrote:
> another thing that was brought up on IRC by bUscher:
He'd like to have
> the project conf dlg for qmake projects to be non-modal
and if he
> selects another subproject that the dialog loads the
configuration
> options for it.

Implemented it, this introduces a new configuration page in
the
project options where one can choose wether to use a modal
or non-modal
dialog for the project configuration. Also the user is able
to choose
among "Always Save", "Never Save",
"Ask" with a default of "Ask"
(non-modal is disabled by default too).

I also added an apply button, which currently is always on.
To make it
disabled we'd have to add another 5-10 signal/slots
connections to the
dialog I guess and I'm not sure wether it's worth it.

So before I commit I'd like to get some opinions on the
apply-button-thing.

Andreas

-- 
You will visit the Dung Pits of Glive soon.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
RFC: Idea for qmake project conf dlg
user name
2006-08-22 03:14:33
On Monday 21 August 2006 19:35, Andreas Pakulat wrote:
> On 20.08.06 12:45:00, Andreas Pakulat wrote:
> > another thing that was brought up on IRC by
bUscher: He'd like to have
> > the project conf dlg for qmake projects to be
non-modal and if he
> > selects another subproject that the dialog loads
the configuration
> > options for it.
>
> Implemented it, this introduces a new configuration
page in the
> project options where one can choose wether to use a
modal or non-modal
> dialog for the project configuration. Also the user is
able to choose
> among "Always Save", "Never
Save", "Ask" with a default of
"Ask"
> (non-modal is disabled by default too).
>
> I also added an apply button, which currently is always
on. To make it
> disabled we'd have to add another 5-10 signal/slots
connections to the
> dialog I guess and I'm not sure wether it's worth it.
>
> So before I commit I'd like to get some opinions on
the
> apply-button-thing.
>
> Andreas

I'm not sure that I even agree with the idea of allowing
the user to choose 
between model and non-modal. If anything, make it non-modal,
and forget about 
letting the user choose as long as switching between
subfolders works 
correctly
-- 
Matt

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
RFC: Idea for qmake project conf dlg
user name
2006-08-22 09:24:26
On 21.08.06 22:14:33, Matt Rogers wrote:
> On Monday 21 August 2006 19:35, Andreas Pakulat wrote:
> > On 20.08.06 12:45:00, Andreas Pakulat wrote:
> > > another thing that was brought up on IRC by
bUscher: He'd like to have
> > > the project conf dlg for qmake projects to be
non-modal and if he
> > > selects another subproject that the dialog
loads the configuration
> > > options for it.
> >
> > Implemented it, this introduces a new
configuration page in the
> > project options where one can choose wether to use
a modal or non-modal
> > dialog for the project configuration. Also the
user is able to choose
> > among "Always Save", "Never
Save", "Ask" with a default of
"Ask"
> > (non-modal is disabled by default too).
> >
> > I also added an apply button, which currently is
always on. To make it
> > disabled we'd have to add another 5-10
signal/slots connections to the
> > dialog I guess and I'm not sure wether it's
worth it.
> >
> > So before I commit I'd like to get some opinions
on the
> > apply-button-thing.
> 
> I'm not sure that I even agree with the idea of
allowing the user to choose 
> between model and non-modal. If anything, make it
non-modal, and forget about 
> letting the user choose as long as switching between
subfolders works 
> correctly

Well, making the dialog non-modal is needed to have this
functionality.
If it is modal, you can't select another subproject.

Andreas

-- 
You plan things that you do not even attempt because of your
extreme caution.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
RFC: Idea for qmake project conf dlg
user name
2006-08-22 12:13:56
On Tuesday 22 August 2006 04:24, Andreas Pakulat wrote:
> On 21.08.06 22:14:33, Matt Rogers wrote:
> > On Monday 21 August 2006 19:35, Andreas Pakulat
wrote:
> > > On 20.08.06 12:45:00, Andreas Pakulat wrote:
> > > > another thing that was brought up on IRC
by bUscher: He'd like to
> > > > have the project conf dlg for qmake
projects to be non-modal and if
> > > > he selects another subproject that the
dialog loads the configuration
> > > > options for it.
> > >
> > > Implemented it, this introduces a new
configuration page in the
> > > project options where one can choose wether
to use a modal or non-modal
> > > dialog for the project configuration. Also
the user is able to choose
> > > among "Always Save", "Never
Save", "Ask" with a default of
"Ask"
> > > (non-modal is disabled by default too).
> > >
> > > I also added an apply button, which currently
is always on. To make it
> > > disabled we'd have to add another 5-10
signal/slots connections to the
> > > dialog I guess and I'm not sure wether it's
worth it.
> > >
> > > So before I commit I'd like to get some
opinions on the
> > > apply-button-thing.
> >
> > I'm not sure that I even agree with the idea of
allowing the user to
> > choose between model and non-modal. If anything,
make it non-modal, and
> > forget about letting the user choose as long as
switching between
> > subfolders works correctly
>
> Well, making the dialog non-modal is needed to have
this functionality.
> If it is modal, you can't select another subproject.
>
> Andreas

And I said just make it non-modal and don't give the user a
choice. 
-- 
Matt

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
RFC: Idea for qmake project conf dlg
user name
2006-08-22 09:24:26
On 21.08.06 22:14:33, Matt Rogers wrote:
> On Monday 21 August 2006 19:35, Andreas Pakulat wrote:
> > On 20.08.06 12:45:00, Andreas Pakulat wrote:
> > > another thing that was brought up on IRC by
bUscher: He'd like to have
> > > the project conf dlg for qmake projects to be
non-modal and if he
> > > selects another subproject that the dialog
loads the configuration
> > > options for it.
> >
> > Implemented it, this introduces a new
configuration page in the
> > project options where one can choose wether to use
a modal or non-modal
> > dialog for the project configuration. Also the
user is able to choose
> > among "Always Save", "Never
Save", "Ask" with a default of
"Ask"
> > (non-modal is disabled by default too).
> >
> > I also added an apply button, which currently is
always on. To make it
> > disabled we'd have to add another 5-10
signal/slots connections to the
> > dialog I guess and I'm not sure wether it's
worth it.
> >
> > So before I commit I'd like to get some opinions
on the
> > apply-button-thing.
> 
> I'm not sure that I even agree with the idea of
allowing the user to choose 
> between model and non-modal. If anything, make it
non-modal, and forget about 
> letting the user choose as long as switching between
subfolders works 
> correctly

Well, making the dialog non-modal is needed to have this
functionality.
If it is modal, you can't select another subproject.

Andreas

-- 
You plan things that you do not even attempt because of your
extreme caution.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
RFC: Idea for qmake project conf dlg
user name
2006-08-22 12:13:56
On Tuesday 22 August 2006 04:24, Andreas Pakulat wrote:
> On 21.08.06 22:14:33, Matt Rogers wrote:
> > On Monday 21 August 2006 19:35, Andreas Pakulat
wrote:
> > > On 20.08.06 12:45:00, Andreas Pakulat wrote:
> > > > another thing that was brought up on IRC
by bUscher: He'd like to
> > > > have the project conf dlg for qmake
projects to be non-modal and if
> > > > he selects another subproject that the
dialog loads the configuration
> > > > options for it.
> > >
> > > Implemented it, this introduces a new
configuration page in the
> > > project options where one can choose wether
to use a modal or non-modal
> > > dialog for the project configuration. Also
the user is able to choose
> > > among "Always Save", "Never
Save", "Ask" with a default of
"Ask"
> > > (non-modal is disabled by default too).
> > >
> > > I also added an apply button, which currently
is always on. To make it
> > > disabled we'd have to add another 5-10
signal/slots connections to the
> > > dialog I guess and I'm not sure wether it's
worth it.
> > >
> > > So before I commit I'd like to get some
opinions on the
> > > apply-button-thing.
> >
> > I'm not sure that I even agree with the idea of
allowing the user to
> > choose between model and non-modal. If anything,
make it non-modal, and
> > forget about letting the user choose as long as
switching between
> > subfolders works correctly
>
> Well, making the dialog non-modal is needed to have
this functionality.
> If it is modal, you can't select another subproject.
>
> Andreas

And I said just make it non-modal and don't give the user a
choice. 
-- 
Matt

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
RFC: Idea for qmake project conf dlg
user name
2006-08-22 16:07:25
On 22.08.06 07:13:56, Matt Rogers wrote:
> On Tuesday 22 August 2006 04:24, Andreas Pakulat wrote:
> > On 21.08.06 22:14:33, Matt Rogers wrote:
> > > On Monday 21 August 2006 19:35, Andreas
Pakulat wrote:
> > > > On 20.08.06 12:45:00, Andreas Pakulat
wrote:
> > > > > another thing that was brought up
on IRC by bUscher: He'd like to
> > > > > have the project conf dlg for qmake
projects to be non-modal and if
> > > > > he selects another subproject that
the dialog loads the configuration
> > > > > options for it.
> > > >
> > > > Implemented it, this introduces a new
configuration page in the
> > > > project options where one can choose
wether to use a modal or non-modal
> > > > dialog for the project configuration.
Also the user is able to choose
> > > > among "Always Save",
"Never Save", "Ask" with a default
of "Ask"
> > > > (non-modal is disabled by default too).
> > > >
> > > > I also added an apply button, which
currently is always on. To make it
> > > > disabled we'd have to add another 5-10
signal/slots connections to the
> > > > dialog I guess and I'm not sure wether
it's worth it.
> > > >
> > > > So before I commit I'd like to get some
opinions on the
> > > > apply-button-thing.
> > >
> > > I'm not sure that I even agree with the idea
of allowing the user to
> > > choose between model and non-modal. If
anything, make it non-modal, and
> > > forget about letting the user choose as long
as switching between
> > > subfolders works correctly
> >
> > Well, making the dialog non-modal is needed to
have this functionality.
> > If it is modal, you can't select another
subproject.
> 
> And I said just make it non-modal and don't give the
user a choice. 

Duh, these short words  Just read
your message the other way around.

Ok, I guess then I'll also invest the time to make the
apply button work
as everywhere else (i.e. it is only active after changing a
setting)

Andreas

-- 
You will be honored for contributing your time and skill to
a worthy cause.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )