S
S
Sergey Chuprin2014-05-09 20:31:30
Qt
Sergey Chuprin, 2014-05-09 20:31:30

Qt 5.2. QTabWidget , tabs are QTextEdit . Each tab has multiple signal-slot connections. Is this approach acceptable?

That is, for each TextEdita I set up several connections to implement copy/paste/cut/contentsChanged . Will a lot of connections affect performance? I'm starting to learn, I don't know all the nuances.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Utkin, 2014-05-16
@creati8e

No, this will be instant, given that the connections themselves are lightweight. With proper design, you can turn signals off and on again when the tab changes, if you are of course worried about this issue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question