Engauge Digitizer
2
Checklist
ChecklistLineEdit.cpp
1
/******************************************************************************************************
2
* (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3
* under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4
* LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5
******************************************************************************************************/
6
7
#include "ChecklistLineEdit.h"
8
#include "Logger.h"
9
10
ChecklistLineEdit::ChecklistLineEdit
()
11
{
12
// Fine tuning of the border which is designed to look good when QLineEdit is all by itself. In our case,
13
// the QLineEdits are stacked tightly, so we want the borders between adjacent QLineEdits to look more like
14
// spreadsheet cells
15
setStyleSheet (
"QLineEdit { border-style: solid; border-color: black; border-width: 1px 1px 1px 0;}"
);
16
}
17
18
void
ChecklistLineEdit::keyReleaseEvent
(QKeyEvent *
/* event */
)
19
{
20
LOG4CPP_INFO_S ((*mainCat)) <<
"ChecklistLineEdit::keyReleaseEvent"
;
21
22
emit
signalKeyRelease
();
23
}
ChecklistLineEdit::keyReleaseEvent
virtual void keyReleaseEvent(QKeyEvent *event)
Intercept the key press event.
Definition:
ChecklistLineEdit.cpp:18
ChecklistLineEdit::signalKeyRelease
void signalKeyRelease()
Signal that user has just released a key.
ChecklistLineEdit::ChecklistLineEdit
ChecklistLineEdit()
Single constructor.
Definition:
ChecklistLineEdit.cpp:10
Generated on Sat Oct 21 2017 12:50:35 for Engauge Digitizer by
1.8.13