cutter/src/widgets/Omnibar.h
2017-12-21 16:16:43 +01:00

32 lines
485 B
C++

#ifndef OMNIBAR_H
#define OMNIBAR_H
#include <QLineEdit>
class MainWindow;
class Omnibar : public QLineEdit
{
Q_OBJECT
public:
explicit Omnibar(MainWindow *main, QWidget *parent = 0);
void refresh(const QStringList &flagList);
private slots:
void on_gotoEntry_returnPressed();
void restoreCompleter();
public slots:
void clear();
private:
void setupCompleter();
MainWindow *main;
QStringList flags;
};
#endif // OMNIBAR_H