#ifndef DIALOGSELECTSEGMENT_H #define DIALOGSELECTSEGMENT_H #include "snccore.h" #include "customlistview.h" #include "numberreg.h" #include #include #include #include namespace Ui { class DialogSelectSegment; } class DialogSelectSegment : public QDialog { Q_OBJECT public: explicit DialogSelectSegment(QWidget *parent = 0); ~DialogSelectSegment(); QStringList getSelectedSegment(); private slots: void on_treeView_clicked(const QModelIndex &index); void setSelectedLabel(); void on_allRB_clicked(); void on_cmccRB_clicked(); void on_cutcRB_clicked(); void on_ctccRB_clicked(); void on_selfRB_clicked(); void on_startEdit_textChanged(const QString &arg1); void on_endEdit_textChanged(const QString &arg1); private: Ui::DialogSelectSegment *ui; QStandardItemModel *segmentModel ; void loadSegment(); CustomListView *customListView; QString currentCity; QStringList fetchData(); }; #endif // DIALOGSELECTSEGMENT_H