void QG_DlgOptionsMakerCam::loadSettings() {

    RS_SETTINGS->beginGroup("/ExportMakerCam");

    updateCheckbox(checkInvisibleLayers, "ExportInvisibleLayers", 0);
    updateCheckbox(checkConstructionLayers, "ExportConstructionLayers", 0);
    updateCheckbox(checkBlocksInline, "WriteBlocksInline", 1);
    updateCheckbox(checkEllipsesToBeziers, "ConvertEllipsesToBeziers", 1);

    RS_SETTINGS->endGroup();
}
Beispiel #2
0
void QtCheckHeaderView::setModel(QAbstractItemModel* model)
{
    mSectionRects.clear();
    QHeaderView::setModel(model);

    foreach(int logicalIndex, mCheckableIndexes)
    {
        updateCheckbox(logicalIndex);
    }