1 Star 0 Fork 8

shankhand/TexasSolver

forked from icybee/TexasSolver 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
rangeselector.h 1.76 KB
一键复制 编辑 原始数据 按行查看 历史
#ifndef RANGESELECTOR_H
#define RANGESELECTOR_H
#include <QDialog>
#include <QString>
#include <QStringList>
#include "include/nodes/GameTreeNode.h"
#include "include/runtime/qsolverjob.h"
#include "include/ui/rangeselectortablemodel.h"
#include "include/ui/rangeselectortabledelegate.h"
#include <QModelIndex>
#include <QTimer>
#include <QFileDialog>
#include <QMessageBox>
#include <QFileSystemModel>
#include <QDesktopServices>
namespace Ui {
class RangeSelector;
}
class RangeSelector : public QDialog
{
Q_OBJECT
public:
explicit RangeSelector(QTextEdit* rangeEdit,QWidget *parent = 0,QSolverJob::Mode mode = QSolverJob::Mode::HOLDEM);
~RangeSelector();
signals:
void confirm_text(QString content);
private:
int max_val = 1000;
float range_num = 1;
QSolverJob::Mode mode;
Ui::RangeSelector *ui;
QStringList rank_list;
RangeSelectorTableModel * rangeSelectorTableModel = NULL;
RangeSelectorTableDelegate * rangeSelectorTableDelegate = NULL;
QTextEdit* rangeEdit = NULL;
QTimer * timer;
QFileSystemModel * qFileSystemModel;
void import_range(QString fileName);
private slots:
void on_confirmButtom_clicked();
void on_rangeNumberSlider_valueChanged(int value);
void grid_pressed(int i,int j);
void grid_area(int i1,int j1,int i2,int j2);
void grid_release(int i,int j);
void item_clicked(const QModelIndex&);
void update_second();
void on_rangeNumberEdit_textEdited(const QString &arg1);
void on_clearRangeButtom_clicked();
void on_textEdit_textChanged();
void on_exportRangeButton_clicked();
void on_cancelButton_clicked();
void on_importRangeButton_clicked();
void on_openRangeFolderButton_clicked();
void onExpanded(const QModelIndex& index);
};
#endif // RANGESELECTOR_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/wsldwps/TexasSolver.git
[email protected]:wsldwps/TexasSolver.git
wsldwps
TexasSolver
TexasSolver
master

搜索帮助