Q_OBJECT
public:
explicit Widget(QWidget *parent = 0);//构造函数
void paintEvent(QPaintEvent *);//画图函数
void paint(QImage &image);//画图函数
QString getfilename(QString filename);//获取文件名
void setfilename();//设置当前每个 Button 控件对应的文件号和名字
void setfileIconButton();//设置每个 Button 控件的图标
void hidefilenamelabel();//隐藏标识文件名的 label 图标
void showfilenamelabel();//显示标识文件名的 label 图标
void hidefileIconButton();//隐藏标识文件名的 Button 图标
void showfileIconButton();//显示标识文件爱你名的 Button 图标
void showfileOpButton();//显示各种文件操作的 Button 控件
void hidefileOpButton();//隐藏各种文件操作的 Button 控件
void clearlabeltext();//清除标识文件名的 label 图标
void hidefileIconAtI(int i);//
void savadata();//存储数据
~Widget();
private slots:
void on_fileInButton_clicked();//导入文件 Button 控件点击时执行的操作
void on_HInfoButton_clicked();//显示文件信息 Button 控件点击时执行的
操作
void on_enterHButton_clicked();//进入 H 盘
void on_exitButton_clicked();//退出该系统
void on_fileOutButton_clicked();//导出文件
//绑定文件的 Button 按钮点击时执行的操作
void on_fileIconButton1_clicked();//
void on_fileIconButton2_clicked();//
void on_fileIconButton3_clicked();//
void on_fileIconButton4_clicked();//
void on_fileIconButton5_clicked();//
void on_fileIconButton6_clicked();//
void on_fileIconButton7_clicked();//
void on_fileIconButton8_clicked();//
void on_fileIconButton9_clicked();//
//对文件进行查看 ,备份,重命名,删除时执行的操作
void on_filemodifyButton_clicked();//
void on_filecopyButton_clicked();//
void on_filedeleteButton_clicked();//
void on_filerenameButton_clicked();//
void on_surefilerenameButton_clicked();//
void on_cancelfilerenameButton_clicked();//