The new data of modified rows is now stored directly within the row_mapping also changed how new rows are handled so the new empty row for inserting is not a special case but is part of the list.
35 lines
810 B
XML
35 lines
810 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>CrudTab</class>
|
|
<widget class="QWidget" name="CrudTab">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>718</width>
|
|
<height>581</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QTableView" name="tableView"/>
|
|
</item>
|
|
</layout>
|
|
<action name="actionRemove_rows">
|
|
<property name="text">
|
|
<string>Remove rows</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+D</string>
|
|
</property>
|
|
<property name="shortcutContext">
|
|
<enum>Qt::WidgetWithChildrenShortcut</enum>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|