Engauge Digitizer  2
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
ChecklistLineEdit.cpp
1 #include "ChecklistLineEdit.h"
2 #include "Logger.h"
3 
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 }
virtual void keyReleaseEvent(QKeyEvent *event)
Intercept the key press event.
void signalKeyRelease()
Signal that user has just released a key.
ChecklistLineEdit()
Single constructor.