Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
390 views
in Technique[技术] by (71.8m points)

c++ - 如何将Qt中的组合框元素与具有相同索引的我的静态地图中的预定义元素链接?(How to link Combo Box elements in Qt with Predefined elements in My static map with same index?)

I have 20 points stored in vector , what I want to do is that : when user selects one element from drop down list (Combo Box) the Value of Source or Destination of My Navigation (Routing) gets the unsigned int value with same index of element on Combo Box from the vector , how can I do That with Combo Box on Qt ?

(我在vector中存储了20点 ,我想要做的是:当用户从下拉列表(组合框)中选择一个元素时,“我的导航(路由)”的“源”或“目的地”的值将获得与相同索引unsigned int值从向量的组合框上的元素,我如何用Qt上的组合框来做?) 我的GUI界面

  ask by Belal Homaidan translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...