This commit is contained in:
2025-07-02 07:45:34 +03:00
parent a4135d45d8
commit 1fee25a38c
121 changed files with 16425 additions and 0 deletions

31
checkboxmod.cpp Normal file
View File

@@ -0,0 +1,31 @@
#include "checkboxmod.h"
#include <QKeyEvent>
checkboxmod::checkboxmod(QWidget *parent) :
QCheckBox(parent)
{
F11disabled = false;
}
void checkboxmod::keyPressEvent(QKeyEvent *e)
{
int c = e->key();
if ((c==Qt::Key_F11)&& !F11disabled)
{
this->animateClick();
}
QCheckBox::keyPressEvent(e);
}
bool checkboxmod::isF11disabled()
{
return F11disabled;
}
void checkboxmod::setF11disabled(bool fl)
{
F11disabled = fl;
}