Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4115158
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:32:45+00:00 2026-05-20T22:32:45+00:00

i was recently suggested to use MVC pattern to organize my Qt4 application. I’m

  • 0

i was recently suggested to use MVC pattern to organize my Qt4 application.
I’m a little puzzled :).

How do I implement:
1. model
2. view
3. controller

In HTTP based apps its quite straigtforward. But here I’m not sure what is a view and what is a controller ?

Lets asume that I’m not using Interview right now.

Thanks for help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T22:32:46+00:00Added an answer on May 20, 2026 at 10:32 pm

    you can look at this like this:

    1. Controller is the window/form that You created. Member functions in this class should handle all user input and call apropriate member functions in your model.

    2. Model is your class that handles data and implements other logic.

    3. Views are qt widgets used to design your forms/windows
      (You could also treat *.ui files as views and Classes that are bound with ui files as controllers)

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently asked about the location of Action Filters in MVC. Some people suggested
In another question I posted recently I was suggested to use a java.util.Timer in
Recently ReSharper suggested in my Visual Studio 2010 solution that I could use optional
Recently a co-worker suggested that the use of the built-in MS Membership, Role and
Recently I was asked to develop an app, which basically is going to use
At my work we recently finished the system architecture for a control application which
As suggested in a macro-related question I recently posted to SO , I coded
I have implemented a factory in my project and it was recently suggested that
I recently received some advice on a question regarding an easy to use web-framework
Recently in an answer it was suggested to me that this: public interface Operation<R

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.