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上的组合框来做?)
ask by Belal Homaidan translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…