leocad/qt/lc_qutils.h
2017-07-19 14:20:32 -07:00

18 lines
395 B
C++

#pragma once
#include <QObject>
QString lcFormatValue(float Value);
QString lcFormatValueLocalized(float Value);
float lcParseValueLocalized(const QString& Value);
class lcQTreeWidgetColumnStretcher : public QObject
{
public:
lcQTreeWidgetColumnStretcher(QTreeWidget *treeWidget, int columnToStretch);
virtual bool eventFilter(QObject *obj, QEvent *ev);
const int m_columnToStretch;
};