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.
以下に示すように、メニューオプションのタイトルを設定しています。
QString Str = "ユーザー プロファイル: " + loFile.baseName(); m_titleBar->m_UserProfileMenu->setTitle(Str);
ここで私の要件は、タイトルの一部として追加されたテキスト loFile.baseName() のフォントの色を変更する必要があることです。
このテキストの色を変更することは可能ですか? 例は役に立ちます...