Qt World Summit: Submit your Presentation

[SOLVED] dropped contents is not getting placed into cells in qtablewidget

  • hello , i’m not getting how to place dropped contents in cells of tablewidget , here is my code . i’m getting dragged contents but the problem is in placing into cells :( please do help me to solve this problem.

    void ProjectListWidget::dropEvent(QDropEvent *event)
    qDebug()<<"drop event";
    ProjectListWidget *source =
    qobject_cast<ProjectListWidget *>(event->source());
    if (source && source != this) {
    QString str=event->mimeData()->text();

Log in to reply