問題タブ [miller-columns]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
480 参照

smalltalk - Who invented Miller columns?

Wikipedia says Miller columns "resemble" something used earlier in Smalltalk and was independently invented by Miller. Who was first - Smalltalk or Miller?

If Smalltalk was first, then who exactly invented Miller columns and why Miller columns are Miller Columns, not X columns, where X is last name of the inventor?

If Miller was first, why Smalltalk is mentioned?

0 投票する
2 に答える
1691 参照

python - 変化するデータをQColumnView(PyQtを使用)に遅延ロードする方法は?

QColumnView入力したい階層データ ソースがあります。データ ソースは、REST インターフェイスを使用してサーバーからデータを読み込みます。

階層が次のようになっているとしましょう。

これを表示するには、 を使用するQColumnView必要があります (これは顧客の要件であるため)。動作は次のようになっているはずです。

プログラムが起動するとCar_Manufacturer、サーバーから が読み込まれます。項目の 1 つをCar_ManufacturerクリックするCar_Typeと、選択した項目Car_Manufacturerがサーバーから読み込まれ、新しい列に表示されます。をもう一度クリックするCar_Manufacturerと、サーバーからデータを再度取得し、列を更新する必要があります。がCar_Typeクリックされると、このおよびのSpecific_Model項目がサーバーから照会され、新しい列にロードされる必要があります... など。Car_ManufacturerCar_type

データソースには次の API があります。

階層内の各要素は、アイテムの文字列キー表現です。アイテムがクリックされると、現在のアイテムの階層でこれについてコントローラーに通知する必要があります。

データソースを使用して項目がクリックされたときに、QColumnView が 1 つの項目の子を更新するようにするにはどうすればよいですか? 新しい階層レイヤーが追加または削除されたときに、これをどのように柔軟に保つことができますか?