| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #ifndef DIALOGSELECTSEGMENT_H
- #define DIALOGSELECTSEGMENT_H
- #include "snccore.h"
- #include "customlistview.h"
- #include "numberreg.h"
- #include <QDialog>
- #include <QtGui>
- #include <QStandardItemModel>
- #include <QItemSelection>
- 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
|