Results 1 to 4 of 4

Thread: Problem with fill style

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Problem with fill style

    Hello!!!

    Please, look at attached pictures.
    I want dispaly items on a grid texture. So mouse could move across discrete points. To obtain grid appearance I set view's background brush with pixmap.

    Qt Code:
    1. view->setBackgroundBrush(QPixmap("Resources\\grid.png"));
    To copy to clipboard, switch view to plain text mode 

    But I met some problems. When I do zoom action the discrete points are zooming too. Item's fill texture spoilt too. But I want to zoom only GarphicsItems' sizes but not fillstyle and grid texture.

    Please, give me advice to solve this problem.
    Attached Images Attached Images

Similar Threads

  1. Mac Style for Qt Application---help needed
    By swamyonline in forum Qt Programming
    Replies: 3
    Last Post: 15th June 2008, 21:49
  2. Loading / setting custom style on win-xp
    By mpotocnik in forum Newbie
    Replies: 0
    Last Post: 29th April 2008, 11:38
  3. QTimer problem ... it runs but never triggs
    By yellowmat in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 12:54
  4. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.