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
14class SearchComboBox : public QComboBox
15{
16 Q_OBJECT
17public:
18 explicit SearchComboBox(QWidget* parent = 0);
19
20protected:
21 void focusInEvent(QFocusEvent* Event);
22 void keyPressEvent(QKeyEvent* Event);
23
24private:
25 QString UserText;
26private slots:
27 void ChangeToolTip(const QString& Text);
28signals:
30 void TextModified(const QString&);
31};
32
33} // namespace dbe
34
35#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.