src/configDialog.cc

changeset 574
10874674fe30
parent 557
04e140bdeb0b
child 581
c57ddcaf1b58
equal deleted inserted replaced
573:74d71c6fdc20 574:10874674fe30
53 extern_cfg (Bool, gui_implicitfiles); 53 extern_cfg (Bool, gui_implicitfiles);
54 extern_cfg (String, net_downloadpath); 54 extern_cfg (String, net_downloadpath);
55 extern_cfg (Bool, net_guesspaths); 55 extern_cfg (Bool, net_guesspaths);
56 extern_cfg (Bool, net_autoclose); 56 extern_cfg (Bool, net_autoclose);
57 extern_cfg (Bool, gl_logostuds); 57 extern_cfg (Bool, gl_logostuds);
58 extern_cfg (Bool, gl_linelengths);
58 extern_cfg (String, ld_defaultname); 59 extern_cfg (String, ld_defaultname);
59 extern_cfg (String, ld_defaultuser); 60 extern_cfg (String, ld_defaultuser);
60 extern_cfg (Int, ld_defaultlicense); 61 extern_cfg (Int, ld_defaultlicense);
61 extern_cfg (String, prog_ytruder); 62 extern_cfg (String, prog_ytruder);
62 extern_cfg (String, prog_rectifier); 63 extern_cfg (String, prog_rectifier);
105 ui->colorBFC->setChecked (gl_colorbfc); 106 ui->colorBFC->setChecked (gl_colorbfc);
106 ui->blackEdges->setChecked (gl_blackedges); 107 ui->blackEdges->setChecked (gl_blackedges);
107 ui->m_aa->setChecked (gl_aa); 108 ui->m_aa->setChecked (gl_aa);
108 ui->implicitFiles->setChecked (gui_implicitfiles); 109 ui->implicitFiles->setChecked (gui_implicitfiles);
109 ui->m_logostuds->setChecked (gl_logostuds); 110 ui->m_logostuds->setChecked (gl_logostuds);
111 ui->linelengths->setChecked (gl_linelengths);
110 112
111 int i = 0; 113 int i = 0;
112 #define act(N) addShortcut (key_##N, ACTION(N), i); 114 #define act(N) addShortcut (key_##N, ACTION(N), i);
113 #include "actions.h" 115 #include "actions.h"
114 116
303 gui_implicitfiles = ui->implicitFiles->isChecked(); 305 gui_implicitfiles = ui->implicitFiles->isChecked();
304 net_downloadpath = ui->downloadPath->text(); 306 net_downloadpath = ui->downloadPath->text();
305 net_guesspaths = ui->guessNetPaths->isChecked(); 307 net_guesspaths = ui->guessNetPaths->isChecked();
306 net_autoclose = ui->autoCloseNetPrompt->isChecked(); 308 net_autoclose = ui->autoCloseNetPrompt->isChecked();
307 gl_logostuds = ui->m_logostuds->isChecked(); 309 gl_logostuds = ui->m_logostuds->isChecked();
310 gl_linelengths = ui->linelengths->isChecked();
308 ld_defaultuser = ui->m_profileUsername->text(); 311 ld_defaultuser = ui->m_profileUsername->text();
309 ld_defaultname = ui->m_profileName->text(); 312 ld_defaultname = ui->m_profileName->text();
310 ld_defaultlicense = ui->m_profileLicense->currentIndex(); 313 ld_defaultlicense = ui->m_profileLicense->currentIndex();
311 gl_aa = ui->m_aa->isChecked(); 314 gl_aa = ui->m_aa->isChecked();
312 315

mercurial