Engauge Digitizer
2
Main Page
Classes
Files
File List
File Members
Checklist
ChecklistLineEdit.cpp
1
#include "ChecklistLineEdit.h"
2
#include "Logger.h"
3
4
ChecklistLineEdit::ChecklistLineEdit
()
5
{
6
// Fine tuning of the border which is designed to look good when QLineEdit is all by itself. In our case,
7
// the QLineEdits are stacked tightly, so we want the borders between adjacent QLineEdits to look more like
8
// spreadsheet cells
9
setStyleSheet (
"QLineEdit { border-style: solid; border-color: black; border-width: 1px 1px 1px 0;}"
);
10
}
11
12
void
ChecklistLineEdit::keyReleaseEvent
(QKeyEvent *
/* event */
)
13
{
14
LOG4CPP_INFO_S ((*mainCat)) <<
"ChecklistLineEdit::keyReleaseEvent"
;
15
16
emit
signalKeyRelease
();
17
}
ChecklistLineEdit::keyReleaseEvent
virtual void keyReleaseEvent(QKeyEvent *event)
Intercept the key press event.
Definition:
ChecklistLineEdit.cpp:12
ChecklistLineEdit::signalKeyRelease
void signalKeyRelease()
Signal that user has just released a key.
ChecklistLineEdit::ChecklistLineEdit
ChecklistLineEdit()
Single constructor.
Definition:
ChecklistLineEdit.cpp:4
Generated on Wed Oct 7 2015 18:10:57 for Engauge Digitizer by
1.8.9.1