QAbstractProxyModel
Verfasst: 1. Mai 2008 13:46
Ist es möglich bzw. sinnvoll in einem QAbstractProxyModel
neue Indexes einzu fügen die im Original Model nicht
vorhanden sind?
Also in etwas so:
Original:
- Kreis 2
- Rechteck 1
- Rechteck 3
- Kreis 1
- Rechteck 2
Proxy:
- Rechtecke
--- Rechteck 1
--- Rechteck 2
--- Rechteck 3
- Kreise
--- Kreis 1
--- Kreis 2
neue Indexes einzu fügen die im Original Model nicht
vorhanden sind?
Also in etwas so:
Original:
- Kreis 2
- Rechteck 1
- Rechteck 3
- Kreis 1
- Rechteck 2
Proxy:
- Rechtecke
--- Rechteck 1
--- Rechteck 2
--- Rechteck 3
- Kreise
--- Kreis 1
--- Kreis 2