Hello

I have question, is it possible to set line edit for Plasma themed combo box 
and not loose it's theme?

I was trying to use this code:

        Plasma::ComboBox *comboBox = new Plasma::ComboBox(this);

        KLineEdit *lineEdit = new KLineEdit(comboBox->nativeWidget());
        lineEdit->setAttribute(Qt::WA_NoSystemBackground);

        comboBox->nativeWidget()->setLineEdit(lineEdit);

But then that combo box looks like normal widget, without Plasma theming...

Any suggestions?


Best regards
MichaƂ


_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to