-1
ファイルをプログレスバーに書き込むにはどうすればよいですか?qt ProgressBarによるファイル読み込みの接続
QFile wr(my_file);
connect(&wr, &QFile::pos , ui->bar, &QProgressBar::setValue);
そして、このバージョン:
が、私はこのバージョンを試みた -The slot requires more arguments than the signal provides.
QFile wr(my_file);
Qbytearray my_data;
connect(&my_data, &Qbytearray::count , ui->bar, &QProgressBar::setValue);
この2つのバージョン上記動作しませんでしたが 目はTypes pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
と最初は を与えるというエラーが発生します - Signal and slot arguments are not compatible.
readiアップロードされたファイルの進行状況をメモリ上で確認できるように、ファイルからプログレスバーに移動しますか?
- 私は私が求めていますが、私はプログレスバー