Switch to unified view

a/src/qtgui/uiprefs_w.cpp b/src/qtgui/uiprefs_w.cpp
...
...
85
    connect(browseDbPB, SIGNAL(clicked()), this, SLOT(browseDbPB_clicked()));
85
    connect(browseDbPB, SIGNAL(clicked()), this, SLOT(browseDbPB_clicked()));
86
    connect(buttonOk, SIGNAL(clicked()), this, SLOT(accept()));
86
    connect(buttonOk, SIGNAL(clicked()), this, SLOT(accept()));
87
    connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject()));
87
    connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject()));
88
    connect(buildAbsCB, SIGNAL(toggled(bool)), 
88
    connect(buildAbsCB, SIGNAL(toggled(bool)), 
89
        replAbsCB, SLOT(setEnabled(bool)));
89
        replAbsCB, SLOT(setEnabled(bool)));
90
    connect(useDesktopOpenCB, SIGNAL(toggled(bool)), 
91
      viewActionPB, SLOT(setDisabled(bool)));
90
92
91
    setFromPrefs();
93
    setFromPrefs();
92
}
94
}
93
95
94
// Update dialog state from stored prefs
96
// Update dialog state from stored prefs
...
...
103
    syntlenSB->setValue(prefs.syntAbsLen);
105
    syntlenSB->setValue(prefs.syntAbsLen);
104
    syntctxSB->setValue(prefs.syntAbsCtx);
106
    syntctxSB->setValue(prefs.syntAbsCtx);
105
107
106
    initStartAdvCB->setChecked(prefs.startWithAdvSearchOpen);
108
    initStartAdvCB->setChecked(prefs.startWithAdvSearchOpen);
107
    initStartSortCB->setChecked(prefs.startWithSortToolOpen);
109
    initStartSortCB->setChecked(prefs.startWithSortToolOpen);
110
111
    // External editor. Can use desktop prefs or internal
108
    useDesktopOpenCB->setChecked(prefs.useDesktopOpen);
112
    useDesktopOpenCB->setChecked(prefs.useDesktopOpen);
113
    viewActionPB->setEnabled(!prefs.useDesktopOpen);
114
109
    keepSortCB->setChecked(prefs.keepSort);
115
    keepSortCB->setChecked(prefs.keepSort);
110
    previewHtmlCB->setChecked(prefs.previewHtml);
116
    previewHtmlCB->setChecked(prefs.previewHtml);
111
    // Query terms color
117
    // Query terms color
112
    qtermColorLE->setText(prefs.qtermcolor);
118
    qtermColorLE->setText(prefs.qtermcolor);
113
    
119