mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
25 lines
376 B
C++
25 lines
376 B
C++
/* vi: set sw=4 ts=4:
|
|
*
|
|
* Copyright (C) 2014 Christian Hohnstaedt.
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
#ifndef __FOCUSCOMBO_H
|
|
#define __FOCUSCOMBO_H
|
|
|
|
#include <QtGui/QComboBox>
|
|
|
|
class focusCombo : public QComboBox
|
|
{
|
|
public:
|
|
focusCombo(QWidget *parent) : QComboBox(parent) { }
|
|
void hidePopup()
|
|
{
|
|
QComboBox::hidePopup();
|
|
emit highlighted(currentIndex());
|
|
}
|
|
};
|
|
|
|
#endif
|