qt - Copy to clipboard in C++? -
this question has answer here:
- how copy/paste clipboard in c++? 4 answers
i want copy string clipboard in c++ application. how can that? possible copy formatting well? thank you
you said use qt in 1 of comments.
qt has class qclipboard, want (bonus: cross-platform).
you can put want, data managed via mime types. means can use own data formatting in clipboard, 'custom' mime type. note formatting done html text (text/html
), whereas plain text in text/plain
(for plain text qt provides function text()
).
Comments
Post a Comment