Skip to main content
Ctrl+K
Logo image Logo image
  • Downloads
  • Tutorials
  • User Docs
  • Develop
  • Release notes
  • Forums
  • Contact Us
  • Downloads
  • Tutorials
  • User Docs
  • Develop
  • Release notes
  • Forums
  • Contact Us

Section Navigation

  • MVP Introduction
  • Adding a Button
  • Adding a Label
  • Layouts
  • Add a LineEdit
  • Add a ComboBox
  • Add a Spin Box
  • Tables
  • View Exercise 1
  • View Exercise 1 Solution
  • Creating a Presenter class
  • Extracting Information from the View
  • Presenter Exercise
  • Presenter Exercise Solution
  • Mocking the Presenter
  • Mocking Exercise
  • Mocking Exercise Solution
  • A Simple Model
  • Model (MVP) Exercise
  • Model Exercise Solution
  • Matplotlib and MVP
  • Multiple Views
  • Final Exercise
  • Complete GUI from Exercises
  • MVP Calculator GUI Example
  • MVP Tutorial
  • MVP Calculator GUI Example

MVP Calculator GUI Example#

See the following files for the calculator GUI described in MVP (Model View Presenter).

  • Main module

  • model.py

  • presenter.py

  • view.py

previous

Complete GUI from Exercises

next

Qt Designer for Python

This Page

  • Show Source

© Copyright 2007-2026, Mantid.

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.16.1.