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.
カスタムテーブルモデルを備えた QTableView があります。ユーザーはテーブル内の行を選択できますが、特定の状況では現在の選択の変更を防止したいと考えています。
以前に選択された行の再選択は理想的な解決策ではありません (変更に関するシグナルが発行されます)。
では、簡単な解決策は何ですか?
表示されないオプションはありますか?
QTableView をサブクラス化する必要がありますか?