Questions tagged [model-view]

model-view describes the relationship between the model and the view when using model-view-controller

Model-view-controller is an architecture to separate the model (data) and the view (interface). The model contains the information for a program while the view is the interface with the user. The controller is used to update the model from user input and to update the view when the model changes.

259 questions
0
votes
2 answers

Use the same instance of model view across views in ASP MVC 3

I have two views : the first one has a form which when submitted, it fills in a model view (QuizzModelView). Now after submitting, I am redirected to another view which also has a form that I want to submit. The problem is that I want to use the…
kbaccouche
  • 4,575
  • 11
  • 43
  • 65
-1
votes
0 answers

Python PyQt6 dataChanged.emit Function

I am trying to run some PyQt6 Model/View Tutorial. I can't get the dataChange function to work. I tried everything from the web. model.py COLS = 3 ROWS = 2 class MyModel(QAbstractTableModel): editCompleted = pyqtSignal(str) def…
-1
votes
1 answer

Pyqt4 Model View - Adding Slider , CheckBox Line Edit in Table model

I am working on a ui as shown in the image below. In the First columns i have a Check Box, Second columns i have a Slider, Third just text the slider value applied to a function. the result will be shown in the third column. I am not not able to…
Pramit Sawant
  • 682
  • 1
  • 9
  • 17
-1
votes
1 answer

Retrieving original item from QAbstractItemModel subclass

I need to implement a QAbstractListModel subclass so i can use a QListView with a domain class of our project. The documentation covers nicely what methods i have to provide, but what baffles me is that there is no obvious way to retrieve the…
Luca Fülbier
  • 2,641
  • 1
  • 26
  • 43
1 2 3
17
18