Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
スモールキャップスではなく大文字の数字を含む16進数であるQStringを作成しようとしていますが、どうすればよいですか?
QString( " %1" ).arg( 15, 1, 16 )
利回りfと私が欲しいF
f
F
文字列を大文字に変換することにより:
QString( " %1" ).arg( 15, 1, 16 ).toUpper();
これは大文字の文字列を返します。このメソッドは、qt3ではupper()と呼ばれていました。