View Full Version : QLineEdit Signal
laurynas2003
14th April 2020, 17:33
Hello,
Is there a signal for QLineEdit like for QPushButton clicked()?
ChristianEhrlicher
14th April 2020, 17:39
All functions and signals for a QLineEdit can be found here: https://doc.qt.io/qt-5/qlineedit.html
Why should there be a clicked() signal? There is nothing to click.
laurynas2003
14th April 2020, 17:47
I am creating a sudoku game, and I want to highlight the row and column when a user clicked on the tile(QLineEdit) to write a digit. So, if there isn't such thing like clicked() signal
on QLineEdit , what should I do?
Lesiok
14th April 2020, 17:52
How about QLineEdit::focusInEvent() ?
ChristianEhrlicher
14th April 2020, 17:53
Then you're looking for a focus change event.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.