Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Aren't things as simple as this: Angus> We want a member variable in the inset: Angus> enum DialogStatus { DIALOG_OPEN, DIALOG_CLOSED }; DialogStatus Angus> status; If you want. A bool would probably be fine too. Angus> I thin

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-19 Thread Angus Leeming
On Thursday 19 July 2001 09:56, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > >> I will also need a way of toggling or, alternatively, to know > >> whether an inset is open or closed. Is that possible? > >> > >> JMarc > > Angus> Does this cover it?

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> I will also need a way of toggling or, alternatively, to know >> whether an inset is open or closed. Is that possible? >> >> JMarc Angus> Does this cover it? Angus Angus, I tried yesterday to implement this stuff, and miserably fail

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-13 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> So you see that Inset::hideDialog is connected to the dialog Angus> appropriately. This just needs to be changed to Angus> Inset::collapsed() or whatever name Jürgen has chosen for this. In fact I hoped you would give this kind of

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-12 Thread Angus Leeming
On Thursday 12 July 2001 16:04, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > >> I will also need a way of toggling or, alternatively, to know > >> whether an inset is open or closed. Is that possible? > >> > >> JMarc > > Angus> Does this cover it?

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-12 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> I will also need a way of toggling or, alternatively, to know >> whether an inset is open or closed. Is that possible? >> >> JMarc Angus> Does this cover it? Angus Hmm, what happens if, while an inset is open, I open another one? W

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-11 Thread Angus Leeming
> Hmm, do we want to do that or have more generic methods in Inset that > could be overloaded as you show for DialogInset and differently for > collapsable insets? This would seem simpler, like > > class Inset { > > void close(); > bool isOpen(); > > } > > Then these methods could be imp

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-11 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> I will also need a way of toggling or, alternatively, to know >> whether an inset is open or closed. Is that possible? >> >> JMarc Angus> Does this cover it? Angus Hmm, do we want to do that or have more generic methods in Inset tha

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-11 Thread Angus Leeming
> I will also need a way of toggling or, alternatively, to know whether > an inset is open or closed. Is that possible? > > JMarc Does this cover it? Angus class dialogInset: public Inset { public: /**Pass this reference from the daughter class c-tor E.g. from InsetCite pas

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-11 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Because having a hideDialog signal or close() method makes Angus> sense only for those methods that have a popup. Well, all the insets have edit(), which acts as a kind of open(), so they could have a close(). Angus> This is the

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-11 Thread Angus Leeming
On Wednesday 11 July 2001 13:58, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> On Wednesday 11 July 2001 13:32, Jean-Marc Lasgouttes wrote: > >> Is there a way, for insets which have a popup associated to them, > >> to send a 'close' signal to

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-11 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> On Wednesday 11 July 2001 13:32, Jean-Marc Lasgouttes wrote: >> Is there a way, for insets which have a popup associated to them, >> to send a 'close' signal to the popup? Could we have a toggle-open >> method in insets that just d

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-11 Thread Angus Leeming
On Wednesday 11 July 2001 13:32, Jean-Marc Lasgouttes wrote: > Is there a way, for insets which have a popup associated to them, to > send a 'close' signal to the popup? Could we have a toggle-open method > in insets that just does the right thing (also for insetcollapsable)? These insets (the GU

Re: Re-implementing open-stuff [questions about insets and signals]

2001-07-11 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> I have began to re-implement open-stuff. I now have the two Jean-Marc> following methods (plus some glue code): OK, thanks for not telling me that my code was bogus %-] I now commited something that is supposed to w