You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
#include "iProperty_global.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ZxSymbolPullList;
|
|
|
|
|
|
|
|
|
|
class I_PROPERTY_EXPORT ZxSymbolPicker : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
explicit ZxSymbolPicker(QWidget* parent = 0);
|
|
|
|
|
|
|
|
|
|
void setSymbol(int symbolNo);
|
|
|
|
|
int getSymbol();
|
|
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
|
|
|
|
|
|
void sltSymbolChanged(int symbolNo);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
virtual void onSymbolChanged(int symbolNo);
|
|
|
|
|
virtual void paintEvent(QPaintEvent *);
|
|
|
|
|
virtual void mousePressEvent(QMouseEvent *e);
|
|
|
|
|
virtual void resizeEvent(QResizeEvent *);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
int m_symbolNo;
|
|
|
|
|
ZxSymbolPullList *m_pSymbolMenu;
|
|
|
|
|
|
|
|
|
|
};
|