I have a problem on my QGraphicsScene
the QGraphicsScene have many page section/Virtual draw as printer size
"A4 (210 x 297 mm, 8.26 x 11.7 inches , QPrinter::A4; or other user define size.
By typing text on Layer QGraphicsItem i have any time the correct QRectF from page. And avaiable line to write.
Now how i can jump to a new QGraphicsItem (as new page A4) and focus him? Any idea?
Any Page contain many textlayer of type:
enum LAYERTYPE {
DIV_ABSOLUTE = 50, /* position fixed x y*/
DIV_AUTO,/* 51 */ /* auto floating */
DIV_FLOAT,/* 52 */ /* left, right to parent */
DIV_HEADER, /* 53 */ /* page header child s 51 */
DIV_FOOTER /* 54 */ /* page footer */
};
enum LAYERTYPE {
DIV_ABSOLUTE = 50, /* position fixed x y*/
DIV_AUTO,/* 51 */ /* auto floating */
DIV_FLOAT,/* 52 */ /* left, right to parent */
DIV_HEADER, /* 53 */ /* page header child s 51 */
DIV_FOOTER /* 54 */ /* page footer */
};
To copy to clipboard, switch view to plain text mode
Bookmarks