Vuo  2.0.3
VuoNodeLibraryTextFilter.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
15 class VuoNodeLibraryTextFilter : public QLineEdit
16 {
17  Q_OBJECT
18 public:
19  explicit VuoNodeLibraryTextFilter(QWidget *parent = 0);
21 
22 signals:
25 
26 public slots:
27 
28 protected:
29  void resizeEvent(QResizeEvent *event);
30  void keyPressEvent(QKeyEvent *event);
31  void focusOutEvent(QFocusEvent *event);
32 
33 private slots:
34  void updateUI();
35  void updateColor(bool isDark);
36 
37 private:
38  QToolButton *searchButton;
39  QToolButton *clearButton;
40  QIcon searchIcon;
41  QIcon clearIcon;
42  QIcon clearIconPressed;
43  bool inGraphiteDisplayMode();
44 
45 };
46