From 7961401b3d55e18f03514d57c5c98abfa6d8ad2f Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 24 Sep 2015 04:13:52 +0000 Subject: [PATCH] =?UTF-8?q?=EC=88=AB=EC=9E=90=20=EC=9D=B8=EC=8B=9D=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://192.168.0.12/source@195 8346c931-da38-4b9b-9d4c-e48b93cbd075 --- Analyzer/stable.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Analyzer/stable.h b/Analyzer/stable.h index f1c0b6c..c552ebe 100644 --- a/Analyzer/stable.h +++ b/Analyzer/stable.h @@ -3,6 +3,25 @@ #include #include +#include + +class STableNumberItem : public QTableWidgetItem +{ +public: + STableNumberItem(QString txt):QTableWidgetItem(txt) + { + + } + bool operator <(const QTableWidgetItem &other) const + { + return text().toDouble() < other.text().toDouble(); + } + + bool operator >(const QTableWidgetItem &other) const + { + return text().toDouble() > other.text().toDouble(); + } +}; class STable : public QTableWidget {