Hi,
It seems QTreeWidgetItem is not working.
The following code throws an exception: "System.MissingMethodException: Constructor of type 'QtWidgets.QTreeWidgetItem' not found".
var treeWidget = new QTreeWidget();
treeWidget.ColumnCount = 1;
treeWidget.ItemClicked += (widgetItem, i) => Debug.WriteLine("hi");
QTreeWidgetItem item = new QTreeWidgetItem();
item.SetText(0, "Main");
treeWidget.AddTopLevelItem(item);
The problems seems to be related to the line treeWidget.ItemClicked.
The event ItemSelectionChanged works perfectly.
Hi, It seems QTreeWidgetItem is not working. The following code throws an exception: "System.MissingMethodException: Constructor of type 'QtWidgets.QTreeWidgetItem' not found".
var treeWidget = new QTreeWidget(); treeWidget.ColumnCount = 1; treeWidget.ItemClicked += (widgetItem, i) => Debug.WriteLine("hi"); QTreeWidgetItem item = new QTreeWidgetItem(); item.SetText(0, "Main"); treeWidget.AddTopLevelItem(item);
The problems seems to be related to the line treeWidget.ItemClicked. The event ItemSelectionChanged works perfectly.