Re: [Interest] Extract a line using a QRegularExpression

2015-12-27 Thread david.carmona93
Ok, thank you so much Konstantin for the hint, I will check that. It’s going to be very helpful. Regards and thank you again David Envoyé depuis Windows Mail De : Nye Envoyé : ‎lundi‎ ‎28‎ ‎décembre‎ ‎2015 ‎00‎:‎43 À : david.carmon...@gmail.com Cc : interest@qt-project.org Hello

Re: [Interest] Extract a line using a QRegularExpression

2015-12-27 Thread david.carmona93
Hi Nye, In fact, my regular expression was wrong. Yours works like a charm. I appreciate your help. Thank you so much 😊 Regards David Envoyé depuis Windows Mail De : Nye Envoyé : ‎lundi‎ ‎28‎ ‎décembre‎ ‎2015 ‎00‎:‎23 À : david.carmon...@gmail.com Cc : interest@qt-project.org

[Interest] Extract a line using a QRegularExpression

2015-12-27 Thread david.carmona93
I am currently trying to extract the following chain of character: This is a rectangle. Its height is 193, its width is 193 and the word number is 12. from the following line: ID: 1 x: 1232 y: 2208 w: 193 h: 390 wn: 12 ln: 13 c: This is a rectangle. Its height is 193, its width is 193 and t

Re: [Interest] Draw multiple rectangles in a QGraphicsItem using the mouse

2015-12-26 Thread david.carmona93
Hi everybody, I am currently trying to resize a QGraphicsRectItem through my QGraphicsScene using the MouseMoveEvent method. In the latter, I’m checking if the application is in the “startModifying” mode (Therefore, if he wants to modify a rectangle) and in which corner the moue is: IsOnTopL