Skip to content

What We Know About QSqlRelationalTableModel with Update

russ_hensel edited this page Jun 21, 2026 · 3 revisions

THIS IS JUST A COPY OF OTHER DOC, WILL EDIT FOR THIS

Table of Contents

Introduction

QSqlRelationalTableModel is a non-visual widget ( some authors may not call a non-visual element a widget, but we do ) that facilitates the use of SQL to query, define, add, delete and update elements in an SQL database. To make it visual it is often pared with QTableView as it is in this example. Making it updateable was a fairly long journey but this example finally does it. Not everything see on the QTableView is updateable only one table in this case .....

The tab is ..... and it is a partial reference for QSqlRelationalTableModel. For more detail read the code or show it to an AI.

Included are...... ( or planned )

  • Update
  • Insert
  • Delete

This widget has almost the same name as QSqlQueryModel but that is a different widget, we have it in another tab.

ScreenShot

( note: keeping screenshot up to date is a task that still eludes us, hopefully this is close enough -- running the application is the best way to see the screen )

Clone this wiki locally