2025-09-05 21:35:17 +00:00
|
|
|
#ifndef XLISTBOXDEF_H
|
|
|
|
|
#define XLISTBOXDEF_H
|
|
|
|
|
|
|
|
|
|
#include "xasset.h"
|
|
|
|
|
#include "xcolumninfo.h"
|
|
|
|
|
#include "xmaterial.h"
|
|
|
|
|
|
|
|
|
|
class XListBoxDef : public XAsset
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
explicit XListBoxDef();
|
|
|
|
|
~XListBoxDef();
|
|
|
|
|
|
2025-09-10 21:58:26 -04:00
|
|
|
void ParseData(XDataStream *aStream) override;
|
2025-09-05 21:35:17 +00:00
|
|
|
void Clear() override;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
QVector<int> mStartPos;
|
|
|
|
|
QVector<int> mEndPos;
|
|
|
|
|
int mDrawPadding;
|
|
|
|
|
float mElementWidth;
|
|
|
|
|
float mElementHeight;
|
|
|
|
|
int mElementStyle;
|
|
|
|
|
int mNumColumns;
|
|
|
|
|
QVector<XColumnInfo> mColumnInfo;
|
|
|
|
|
QString mDoubleClick;
|
|
|
|
|
int mNotselectable;
|
|
|
|
|
int mNoScrollBars;
|
|
|
|
|
int mUsePaging;
|
|
|
|
|
QVector<float> mSelectBorder;
|
|
|
|
|
QVector<float> mDisableColor;
|
|
|
|
|
XMaterial *mSelectIcon;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // XLISTBOXDEF_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|