mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-02 07:15:37 -05:00
The "core" macro conditions and actions have been extracted out to the "base" plugin. The library now mostly contains functionality which is required across all plugins and (e.g. definitions for macro segments). The goal is to reduce the complexity and cross-dependencies and group the source files in a better way. This should relsove the "library limit of 65535 objects exceeded" build issue occuring in some Windows build environments.
30 lines
645 B
C++
30 lines
645 B
C++
#pragma once
|
|
#include "export-symbol-helper.hpp"
|
|
|
|
#include <QComboBox>
|
|
|
|
namespace advss {
|
|
|
|
// Helper class which enables user to filter possible selections by typing
|
|
class ADVSS_EXPORT FilterComboBox : public QComboBox {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
FilterComboBox(QWidget *parent = nullptr,
|
|
const QString &placehodler = "");
|
|
static void SetFilterBehaviourEnabled(bool);
|
|
|
|
protected:
|
|
void focusOutEvent(QFocusEvent *event) override;
|
|
|
|
private slots:
|
|
void CompleterHighlightChanged(const QModelIndex &);
|
|
void TextChanged(const QString &);
|
|
|
|
private:
|
|
int _lastCompleterHighlightRow = -1;
|
|
static bool _filteringEnabled;
|
|
};
|
|
|
|
} // namespace advss
|