popup->setFocusPolicy(Qt::NoFocus);
popup->setFocusProxy(buddy);
+ popup->setFrameShape(QFrame::NoFrame);
+ popup->setAttribute(Qt::WA_TranslucentBackground);
+ popup->viewport()->setStyleSheet("border:0; border-radius:5px; background:palette(base)");
+
connect(popup, SIGNAL(itemClicked(QListWidgetItem*)), SLOT(doneCompletion()));
// connect(popup, SIGNAL(currentItemChanged(QListWidgetItem *, QListWidgetItem *)),
popup->move(buddy->mapToGlobal(QPoint(0, buddy->height())));
+ popup->setFrameShape(QFrame::NoFrame);
+
popup->setFocus();
popup->show();
}
timer->stop();
enabled = false;
popup->hide();
+ popup->setFrameShape(QFrame::NoFrame);
}
void AutoComplete::enableSuggest() {