// setMouseTracking must be called after setFocusPolicy
viewport()->setMouseTracking(true);
inloop=false;
-
+
}
repaint();
qApp->enter_loop();
inloop = true;
-
+
if (activecell_.x()!=-1 && activecell_.y()!=-1 )
return coordsToIndex( activecell_.x(),activecell_.y());
else
return -1;
}
-
+
void QBrowseBox::keyPressEvent(QKeyEvent * e)
{
switch(e->key()) {
{
int x = e->pos().x();
int y = e->pos().y();
-
+
int cellx;
int celly;