Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 7

Qt-interest Archive, March 2002
fonctions like void setVar(val) where do i declare


Message 1 in thread

im working on a personal acconting solution 
with c++ and QT, everything work very well 
but im kind of missing something, 
where are the fonctions declaration 
tool in qt-designer i need a public 
void setVar(vartype var) fonction to pass 
information to a dialog ... im i 
doing all this with the slot system 
cause i tryed a lot on that side too 
but its not working very well

i was guessing everything would be in 
the .ui.h file and in the source tag 
where the other declarations are 

if anybody have lived that problem 
and, hope, found the solution please 
let me know  

thanks for the time ;)

-- 
 [ signature omitted ] 

Message 2 in thread

On Tue 19. March 2002 10:20, you wrote:
> im working on a personal acconting solution
> with c++ and QT, everything work very well
> but im kind of missing something,
> where are the fonctions declaration
> tool in qt-designer i need a public
> void setVar(vartype var) fonction to pass
> information to a dialog ... im i
> doing all this with the slot system
> cause i tryed a lot on that side too
> but its not working very well
>
> i was guessing everything would be in
> the .ui.h file and in the source tag
> where the other declarations are
>
> if anybody have lived that problem
> and, hope, found the solution please
> let me know
>
> thanks for the time ;)

Can't you just derive some class from designer class and put all public
methods there?

-- 
 [ signature omitted ] 

Message 3 in thread

> On Tue 19. March 2002 10:20, you wrote:
> > im working on a personal acconting solution
> > with c++ and QT, everything work very well
> > but im kind of missing something,
> > where are the fonctions declaration
> > tool in qt-designer i need a public
> > void setVar(vartype var) fonction to pass
> > information to a dialog ... im i
> > doing all this with the slot system
> > cause i tryed a lot on that side too
> > but its not working very well
> >
> > i was guessing everything would be in
> > the .ui.h file and in the source tag
> > where the other declarations are
> >
> > if anybody have lived that problem
> > and, hope, found the solution please
> > let me know
> >
> > thanks for the time ;)
> 
> Can't you just derive some class from designer class and put all public
> methods there?
> 
> -- 
> Mariusz Lotko
> Pruftechnik Technology sp. z o. o.
> http://www.pruftechnik.com.pl/
> 
> --
> List archive and information: http://qt-interest.trolltech.com

hum that ask a lot more code than juste adding it in 
the class itself.. isnt?

-- 
 [ signature omitted ]