Jump to content

Diagram Scene with QT

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
noxxik

noxxik

    Newbie

  • Members
  • Pip
  • 4 posts
Hi, I am starting with QT 4.4.1 and I would like to change some free source code in this

ht*p://doc.trolltech.com/4.4/graphicsview-diagramscene.html
(substitution t instead of *)

I would like make some changes, but I dont know yet, how can I do it.
I want, when I push the button "Conditional", to this object is drawn automaticaly (define point coordinate)
other my problem is this: When I push the button "Conditional", on the canvas is drawn some first object. When I push the button "Proccess" on the canvas is drawn some second object. I would like to push the button "Proccess" and the first object was deleted (something like redrawing before pushing the button)

Sorry for my simple English. I will be very happy, if you give me some advices or names of methods or functions, how can I solve my problems.

#2
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
Learn QT from the beginning, don't just try to jump in the middle and do some ****.

That's not how coding works, ever.

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Also, you will probably want to inherit a new class from it rather than change it.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog