kind of a dumb question..
the default color of selected text (when dragging the mouse over text) is not to my liking (its almost invisible)
how can i change the default color?
kind of a dumb question..
the default color of selected text (when dragging the mouse over text) is not to my liking (its almost invisible)
how can i change the default color?
You can set a style sheet:
Qt Code:
To copy to clipboard, switch view to plain text mode
how can i do it from within the code?
( im really new to qt )
edit:
never mind, found it
Last edited by jajdoo; 18th July 2010 at 09:36.
You can use QWidget::setStyleSheet(). But for such a simple task I'd prefer using QPalette. Assuming textEdit is a pointer to your editor:
Bookmarks