Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Developing MVC academic application with Qt 4.8

Developing MVC academic application with Qt 4.8

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tundo
    wrote on last edited by
    #1

    Hi there, im a CS student and im new with Qt, i've to develop a chart visualizer application using g++ and Qt 4.8 (not 5).
    The target is to use the object oriented properties to plot many kinds of charts (histogram, pie, lines, e.g .) and load/store/modify datas using xml.
    I'm trying to understand which class hierarchy to use but i'd like to use MVC model but i cant understand/find what to do.
    For plotting i can choose if develop myself an appropriate class drawing "by pixels" or use some Qt's classes like Plotter widget.

    But i'd like to understand which class plays MVC roles:

    • Model: i fetch datas via xml using Qt's classes
    • View: Plotter or something similar
    • Control/delegate: for handling the view's data?

    I'm supposed to keep them separately to follow mvc model...is it correct or im missing something?!

    thanks
    Enrico

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You are correct. You will have to implement it all yourself, though. There are no built-in helpers for that, apart from QAbstractItemModel and friends.

      (Z(:^

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved