tab order fixes

This commit is contained in:
doitux
2007-10-28 00:33:25 +00:00
parent c98465fd7b
commit 2fa888062f
10 changed files with 685 additions and 573 deletions
+3 -5
View File
@@ -3419,13 +3419,11 @@ bool mainWindowImpl::eventFilter(QObject *obj, QEvent *event)
{
QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event);
if (/*obj == lineEdit_ChatInput && lineEdit_ChatInput->text() != "" && */event->type() == QEvent::KeyPress && keyEvent->key() == Qt::Key_Tab)
{
if (/*obj == lineEdit_ChatInput && lineEdit_ChatInput->text() != "" && */event->type() == QEvent::KeyPress && keyEvent->key() == Qt::Key_Tab) {
myChat->nickAutoCompletition();
return true;
}
else if (event->type() == QEvent::Close)
{
else if (event->type() == QEvent::Close) {
event->ignore();
quitPokerTH();
return true;
@@ -3633,7 +3631,7 @@ void mainWindowImpl::myButtonsCheckable(bool state) {
void mainWindowImpl::closeEvent(QCloseEvent* /*event*/) { quitPokerTH(); }
void mainWindowImpl::showMaximized () {
showFullScreen ();
this->showFullScreen ();
}
void mainWindowImpl::quitPokerTH() {