def _build_gui(self):
<EOL>self._central_widget.deleteLater()<EOL>self._sliders               = []<EOL>self._buttons_top_color     = []<EOL>self._buttons_bottom_color  = []<EOL>self._checkboxes            = []<EOL>self._buttons_plus          = []<EOL>self._buttons_minus         = []<EOL>self._color_dialogs_top     = []<EOL>self._color_dialogs_bottom  = []<EOL>self._central_widget = _qtw.QWidget()<EOL>self._window.setCentralWidget(self._central_widget)<EOL>self._layout = _qtw.QGridLayout(self._central_widget)<EOL>self._central_widget.setLayout(self._layout)<EOL>self._combobox_cmaps = _qtw.QComboBox(self._central_widget)<EOL>self._combobox_cmaps.setEditable(True)<EOL>self._load_cmap_list()<EOL>self._button_save   = _qtw.QPushButton("<STR_LIT>",   self._central_widget)<EOL>self._button_delete = _qtw.QPushButton("<STR_LIT>", self._central_widget)<EOL>self._button_save.setFixedWidth(<NUM_LIT>)<EOL>self._button_delete.setFixedWidth(<NUM_LIT>)<EOL>self._layout.addWidget(self._combobox_cmaps, <NUM_LIT:1>,<NUM_LIT:1>, <NUM_LIT:1>,<NUM_LIT:3>, _qtcore.Qt.Alignment(<NUM_LIT:0>))<EOL>self._layout.addWidget(self._button_save,    <NUM_LIT:1>,<NUM_LIT:5>, <NUM_LIT:1>,<NUM_LIT:1>, _qtcore.Qt.Alignment(<NUM_LIT:1>))<EOL>self._layout.addWidget(self._button_delete,  <NUM_LIT:1>,<NUM_LIT:6>, <NUM_LIT:1>,<NUM_LIT:2>, _qtcore.Qt.Alignment(<NUM_LIT:1>))<EOL>self._combobox_cmaps.currentIndexChanged.connect(self._signal_load)<EOL>self._button_save  .clicked.connect(self._button_save_clicked)<EOL>self._button_delete.clicked.connect(self._button_delete_clicked)<EOL>self._window.resize(<NUM_LIT:10>,<NUM_LIT:10>)<EOL>for n in range(len(self._colorpoint_list)):<EOL><INDENT>c1 = self._colorpoint_list[n][<NUM_LIT:1>]<EOL>c2 = self._colorpoint_list[n][<NUM_LIT:2>]<EOL>self._buttons_top_color.append(_qtw.QPushButton(self._central_widget))<EOL>self._buttons_top_color[-<NUM_LIT:1>].setStyleSheet("<STR_LIT>"+str(int(c2[<NUM_LIT:0>]*<NUM_LIT:255>))+"<STR_LIT:U+002C>"+str(int(c2[<NUM_LIT:1>]*<NUM_LIT:255>))+"<STR_LIT:U+002C>"+str(int(c2[<NUM_LIT:2>]*<NUM_LIT:255>))+"<STR_LIT>")<EOL>self._buttons_bottom_color.append(_qtw.QPushButton(self._central_widget))<EOL>self._buttons_bottom_color[-<NUM_LIT:1>].setStyleSheet("<STR_LIT>"+str(int(c1[<NUM_LIT:0>]*<NUM_LIT:255>))+"<STR_LIT:U+002C>"+str(int(c1[<NUM_LIT:1>]*<NUM_LIT:255>))+"<STR_LIT:U+002C>"+str(int(c1[<NUM_LIT:2>]*<NUM_LIT:255>))+"<STR_LIT>")<EOL>self._color_dialogs_top.append(_qtw.QColorDialog(self._central_widget))<EOL>self._color_dialogs_top[-<NUM_LIT:1>].setCurrentColor(self._buttons_top_color[-<NUM_LIT:1>].palette().color(<NUM_LIT:1>))<EOL>self._color_dialogs_bottom.append(_qtw.QColorDialog(self._central_widget))<EOL>self._color_dialogs_bottom[-<NUM_LIT:1>].setCurrentColor(self._buttons_top_color[-<NUM_LIT:1>].palette().color(<NUM_LIT:1>))<EOL>self._checkboxes.append(_qtw.QCheckBox(self._central_widget))<EOL>self._checkboxes[-<NUM_LIT:1>].setChecked(c1==c2)<EOL>self._sliders.append(_qtw.QSlider(self._central_widget))<EOL>self._sliders[-<NUM_LIT:1>].setOrientation(_qtcore.Qt.Horizontal)<EOL>self._sliders[-<NUM_LIT:1>].setMaximum(<NUM_LIT:1000>)<EOL>self._sliders[-<NUM_LIT:1>].setValue(int(self._colorpoint_list[n][<NUM_LIT:0>]*<NUM_LIT:1000>))<EOL>self._sliders[-<NUM_LIT:1>].setFixedWidth(<NUM_LIT>)<EOL>self._buttons_plus.append(_qtw.QPushButton(self._central_widget))<EOL>self._buttons_plus[-<NUM_LIT:1>].setText("<STR_LIT:+>")<EOL>self._buttons_plus[-<NUM_LIT:1>].setFixedWidth(<NUM_LIT>)<EOL>self._buttons_minus.append(_qtw.QPushButton(self._central_widget))<EOL>self._buttons_minus[-<NUM_LIT:1>].setText("<STR_LIT:->")<EOL>self._buttons_minus[-<NUM_LIT:1>].setFixedWidth(<NUM_LIT>)<EOL>self._layout.addWidget(self._buttons_bottom_color[-<NUM_LIT:1>], n+<NUM_LIT:3>,<NUM_LIT:1>,      _qtcore.Qt.AlignCenter)<EOL>self._layout.addWidget(self._checkboxes[-<NUM_LIT:1>],           n+<NUM_LIT:3>,<NUM_LIT:2>, <NUM_LIT:1>,<NUM_LIT:1>, _qtcore.Qt.AlignCenter)<EOL>self._layout.addWidget(self._buttons_top_color[-<NUM_LIT:1>],    n+<NUM_LIT:3>,<NUM_LIT:3>,      _qtcore.Qt.AlignCenter)<EOL>self._layout.addWidget(self._sliders[-<NUM_LIT:1>],              n+<NUM_LIT:3>,<NUM_LIT:4>, <NUM_LIT:1>,<NUM_LIT:2>, _qtcore.Qt.AlignCenter)<EOL>self._layout.setColumnStretch(<NUM_LIT:5>,<NUM_LIT:100>)<EOL>self._layout.addWidget(self._buttons_minus[-<NUM_LIT:1>],        n+<NUM_LIT:3>,<NUM_LIT:7>,      _qtcore.Qt.AlignCenter)<EOL>self._layout.addWidget(self._buttons_plus[-<NUM_LIT:1>],         n+<NUM_LIT:3>,<NUM_LIT:6>,      _qtcore.Qt.AlignCenter)<EOL>self._buttons_bottom_color[-<NUM_LIT:1>]            .clicked.connect(_partial(self._color_button_clicked, n, <NUM_LIT:0>))<EOL>self._buttons_top_color[-<NUM_LIT:1>]               .clicked.connect(_partial(self._color_button_clicked, n, <NUM_LIT:1>))<EOL>self._color_dialogs_bottom[-<NUM_LIT:1>].currentColorChanged.connect(_partial(self._color_dialog_changed, n, <NUM_LIT:0>))<EOL>self._color_dialogs_top[-<NUM_LIT:1>]   .currentColorChanged.connect(_partial(self._color_dialog_changed, n, <NUM_LIT:1>))<EOL>self._buttons_plus[-<NUM_LIT:1>]        .clicked.connect(_partial(self._button_plus_clicked,  n))<EOL>self._buttons_minus[-<NUM_LIT:1>]       .clicked.connect(_partial(self._button_minus_clicked, n))<EOL>self._sliders[-<NUM_LIT:1>]        .valueChanged.connect(_partial(self._slider_changed,   n))<EOL><DEDENT>self._sliders[<NUM_LIT:0>] .setDisabled(True)<EOL>self._sliders[-<NUM_LIT:1>].setDisabled(True)<EOL>
Removes all existing sliders and rebuilds them based on the colormap.