Skip to content

Subclassed QComboBox for most commonly use combo boxes

Raza, Zamaan requested to merge cell_distribution into develop

In this merge request I have replaced many QComboBox (or LinkedComboBox) with a subclassed QComboBox that does two things:

  1. Return a pointer to the underlying data pointer instead of a string indicating its name. This is a convenient way of handling naming clashes, should the data storage mechanisms need refactoring.
  2. Remove a large amount of error-prone boilerplate code from almost every subframe, concerning refreshing combo boxes.

This follows MR !446 (merged) by extening the concept of CellComboBox to other combos.

Resolves #250 (closed)

Merge request reports