You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: