From 509cab4025caa96e6b3e3962916b0d8cdadc4b93 Mon Sep 17 00:00:00 2001
From: wumu <mayi@mayi.com>
Date: 星期三, 20 八月 2025 23:35:29 +0800
Subject: [PATCH] 250820

---
 getstocklist.cpp |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/getstocklist.cpp b/getstocklist.cpp
index 4350c64..2bb6f5e 100644
--- a/getstocklist.cpp
+++ b/getstocklist.cpp
@@ -1072,3 +1072,13 @@
     qDebug()<<"鍘嗗彶鍒颁俊鎭祴鍊煎畬鎴� 鏉℃暟:"<<m_model->rowCount();
     qDebug()<<QDateTime::currentDateTime();
 }
+
+void GetStockList::getStockNamesByNum(int num)
+{
+    for(int i=0;i<num;++i){
+        //qDebug()<<i+1<<m_model->item(i,0)->text();
+        qDebug()<<i+1<<m_customModel->data(m_customModel->index(i,0)).toString();
+//        emit sendNameToAnalysis(m_model->item(i,0)->text()); // 鍙戝悕瀛楃粰缂撳瓨鍒嗘瀽鐣岄潰鏉ヤ緷娆″垎鏋�
+        emit sendNameToAnalysis(m_customModel->data(m_customModel->index(i,0)).toString());
+    }
+}

--
Gitblit v1.8.0