Results 1 to 2 of 2

Thread: Design a map editor

  1. #1
    Join Date
    Jul 2007
    Posts
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Design a map editor

    Hi,

    I'm trying to do a map editor with Qt3 on NetBSD et I'm not sure to make the good widgets/classes choice. In fact, I havn't a lot of skills in Qt and I'd like to know your point of view on my ideas. My editor must be able to do maps for a 2D video game, seen from above, like old SuperNes Zelda. I already have a splashscreen and a right button menu. The top of my window is done with a menubar and two toolbars. The bottom is a statusbar. I have coded all my actions and know how to generate my XML. My map is composed of cells wich ONE background and ZERO or ONE objects.

    I imagine my design like that:

    - On the left:
    The map with scrollbars on the sides to be able to scroll it.
    - On the right:
    A list of buttons for the backgrounds and the objects to put on the map. I will have 20 of them so if possible I'd like to have a tab system.

    I thing using a QScrollView and a QTabBar but what's the best to do the map? I'd like to access the cells like a C++ array with two x and y params.

    Thanks for all

    NB: Sorry for my poor english but I'm French

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Design a map editor

    I suggest you use QCanvas and family.

Similar Threads

  1. Help using the QTreeWidget persistent editor.
    By Billy Lee Black in forum Qt Programming
    Replies: 13
    Last Post: 18th July 2007, 19:59
  2. Model/View: Custom Persistent Editor
    By No-Nonsense in forum Qt Programming
    Replies: 2
    Last Post: 7th February 2007, 14:55
  3. Dialog and code design issue
    By Gopala Krishna in forum Qt Programming
    Replies: 1
    Last Post: 24th September 2006, 17:54
  4. FYI: Free LaTex Editor written using QT4.1 !!!
    By GreyGeek in forum Qt-based Software
    Replies: 3
    Last Post: 19th July 2006, 18:05

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.