Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 658 Bytes

ModelView_dialog.md

File metadata and controls

30 lines (19 loc) · 658 Bytes

Model View

Dialog

A table view can be turned into a dialog widget using:

std:vector< std::vector<float> > > matrix;
//fill matrix

GlvTableDialog< std:vector< std::vector> > > table_dialog(matrix);

instead of GlvTableView.

By default, the table dialog is not using delegate widget (see here).

To use delegate widget:

GlvTableWidgetDialog< std:vector< std::vector> > > table_dialog(matrix);

And to make them persistent:

GlvTableWidgetPersistentDialog< std:vector< std::vector> > > table_dialog(matrix);

All these three classes are simple aliases.