ArchitectureColoredPainting/qt-material-widgets/components/qtmaterialautocomplete_p.h

31 lines
868 B
C
Raw Permalink Normal View History

2023-03-06 12:38:25 +08:00
#ifndef QTMATERIALAUTOCOMPLETE_P_H
#define QTMATERIALAUTOCOMPLETE_P_H
#include "qtmaterialtextfield_p.h"
class QWidget;
class QVBoxLayout;
class QtMaterialAutoCompleteOverlay;
class QtMaterialAutoCompleteStateMachine;
class QtMaterialAutoCompletePrivate : public QtMaterialTextFieldPrivate
{
Q_DISABLE_COPY(QtMaterialAutoCompletePrivate)
Q_DECLARE_PUBLIC(QtMaterialAutoComplete)
public:
QtMaterialAutoCompletePrivate(QtMaterialAutoComplete *q);
virtual ~QtMaterialAutoCompletePrivate();
void init();
QWidget *menu;
QWidget *frame;
QtMaterialAutoCompleteStateMachine *stateMachine;
QVBoxLayout *menuLayout;
QStringList dataSource;
int maxWidth;
};
#endif // QTMATERIALAUTOCOMPLETE_P_H