xca/widgets/FocusCombo.h
Christian Hohnstaedt e5541c6d67 SF. Bug. #81 Make xca qt5 compatible
Extend XCA to also compile against Qt5
Remove directory from Qt includes
2015-09-17 18:42:42 +02:00

25 lines
370 B
C++

/* vi: set sw=4 ts=4:
*
* Copyright (C) 2014 Christian Hohnstaedt.
*
* All rights reserved.
*/
#ifndef __FOCUSCOMBO_H
#define __FOCUSCOMBO_H
#include <QComboBox>
class focusCombo : public QComboBox
{
public:
focusCombo(QWidget *parent) : QComboBox(parent) { }
void hidePopup()
{
QComboBox::hidePopup();
emit highlighted(currentIndex());
}
};
#endif