Changeset View
Changeset View
Standalone View
Standalone View
qt/pinentrydialog.cpp
Show First 20 Lines • Show All 274 Lines • ▼ Show 20 Lines | #endif | ||||
} | } | ||||
} | } | ||||
hbox->addLayout(grid, 1); | hbox->addLayout(grid, 1); | ||||
mainLayout->addLayout(hbox); | mainLayout->addLayout(hbox); | ||||
mainLayout->addStretch(1); | mainLayout->addStretch(1); | ||||
mainLayout->addWidget(buttons); | mainLayout->addWidget(buttons); | ||||
mainLayout->setSizeConstraint(QLayout::SetFixedSize); | |||||
auto capsLockWatcher = new CapsLockWatcher{this}; | auto capsLockWatcher = new CapsLockWatcher{this}; | ||||
connect(capsLockWatcher, &CapsLockWatcher::stateChanged, | connect(capsLockWatcher, &CapsLockWatcher::stateChanged, | ||||
this, [this] (bool locked) { | this, [this] (bool locked) { | ||||
mCapsLockHint->setVisible(locked); | mCapsLockHint->setVisible(locked); | ||||
}); | }); | ||||
connect(qApp, SIGNAL(focusChanged(QWidget *, QWidget *)), | connect(qApp, SIGNAL(focusChanged(QWidget *, QWidget *)), | ||||
▲ Show 20 Lines • Show All 418 Lines • Show Last 20 Lines |