Using QDataWidgetMapper in ItemDetailMapper to work with the model data (current index of the TableView).
This commit is contained in:
@ -37,6 +37,7 @@ class MainWindow : public QMainWindow {
|
||||
|
||||
private slots:
|
||||
void showStatusMessage(const QString text);
|
||||
void onCurrentChanged(const QModelIndex& current, const QModelIndex& previous);
|
||||
void onSelectionChanged(const QItemSelection& selected, const QItemSelection& deselected);
|
||||
|
||||
void onAboutClicked();
|
||||
@ -47,6 +48,7 @@ class MainWindow : public QMainWindow {
|
||||
/// slots for menu actions
|
||||
void openNewItemDialog();
|
||||
void openEditItemDialog();
|
||||
void deleteCurrentItem();
|
||||
void deleteSelectedtItems();
|
||||
|
||||
void onCleanStateChanged(bool clean);
|
||||
|
||||
Reference in New Issue
Block a user