**
****************************************************************************/
-#include <QPainter>
#include <QPaintEvent>
+#include <QPainter>
#include <QStyle>
#include <QStyleOptionFrame>
{
int b = 3; //margin
- const QPalette & g = palette();
+ const QPalette& g = palette();
QStyleOptionFrame opt;
int dfw = style()->pixelMetric(QStyle::PM_DefaultFrameWidth);
opt.lineWidth = dfw;
*/
void WellArray::keyPressEvent(QKeyEvent* event)
{
- switch(event->key()) { // Look at the key code
+ switch (event->key()) { // Look at the key code
case Qt::Key_Left: // If 'left arrow'-key,
if (curCol > 0) // and cr't not in leftmost col
setCurrent(curRow, curCol - 1); // set cr't to next left column
}
-} // namespace wellarray
+} // namespace widgets
} // namespace pv