Thanks for your tips, Tony. I'm going to try them.
The model will be storing QStrings but I still need to figure out which
class to use: a table widget or a table view, or maybe even a list widget
(view).
On Sat, Oct 12, 2013 at 12:48 PM, Tony Rietwyk t...@rightsoft.com.auwrote:
Hi Alexei,
Hello,
I need to get the word that was clicked on in a table widget or table view
cell.
Is it possible? If so, how would I do that?
Thanks.
--
Alexei Vinidiktov
___
Interest mailing list
Interest@qt-project.org
I forgot to mention that the table view or table widget is not editable.
On Sat, Oct 12, 2013 at 11:21 AM, Alexei Vinidiktov
alexei.vinidik...@gmail.com wrote:
Hello,
I need to get the word that was clicked on in a table widget or table view
cell.
Is it possible? If so, how would I do
Hi Alexei,
Interesting question. How does your model get the display text? I assume
your model (or the QTableWidget model) is storing a QString. In the cell
click handler you can theoretically:
- push the display text into a QTextEdit (hidden for release builds)
- format it with the