DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
SearchComboBox.hpp
Go to the documentation of this file.
1// DUNE DAQ modification notice:
2// This file has been modified from the original ATLAS dbe source for the DUNE DAQ project.
3// Fork baseline commit: dbe-02-12-17 (2022-05-12).
4// Renamed since fork: yes (from dbe/SearchComboBox.h to include/dbe/SearchComboBox.hpp).
5
6#ifndef SEARCHCOMBOBOX_H
7#define SEARCHCOMBOBOX_H
8
10#include <QComboBox>
11
12namespace dbe
13{
14
15class SearchComboBox: public QComboBox
16{
17 Q_OBJECT
18public:
19 explicit SearchComboBox ( QWidget * parent = 0 );
20protected:
21 void focusInEvent ( QFocusEvent * Event );
22 void keyPressEvent ( QKeyEvent * Event );
23private:
24 QString UserText;
25private slots:
26 void ChangeToolTip ( const QString & Text );
27signals:
29 void TextModified ( const QString & );
30};
31
32} // namespace dbe
33
34#endif // SEARCHCOMBOBOX_H
void ChangeToolTip(const QString &Text)
SearchComboBox(QWidget *parent=0)
Including QT Headers.
void TextModified(const QString &)
void keyPressEvent(QKeyEvent *Event)
void focusInEvent(QFocusEvent *Event)
Include QT Headers.