Qt Code:
setTabStopWidth( fontMetrics().width( " " ) * spacesCount );To copy to clipboard, switch view to plain text mode
Qt Code:
setTabStopWidth( fontMetrics().width( " " ) * spacesCount );To copy to clipboard, switch view to plain text mode
how (and when) do u add text?
try simple example
in QTextEdit's constructor write only
Qt Code:
setTabStopWidth(..); setPlainText("text\ttext");To copy to clipboard, switch view to plain text mode
it work?
Bookmarks