On Tuesday 07 April 2009, Emdek wrote: > Hello > > I have question, is it possible to set line edit for Plasma themed combo > box and not loose it's theme? comboBox->nativeWidget()->setEditable(true) should work changing its lineedit not, becausethe new lineedit won't have the plasma private style
> 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 _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel