src/config.cpp

changeset 19
c9b6dd9dd4cd
parent 15
3d3e5f0fc4cc
child 20
a5457405cc9b
equal deleted inserted replaced
18:6bf57b4f42cd 19:c9b6dd9dd4cd
49 // ============================================================================= 49 // =============================================================================
50 // ----------------------------------------------------------------------------- 50 // -----------------------------------------------------------------------------
51 ConfigBox::ConfigBox (QWidget* parent, Qt::WindowFlags f) : QDialog (parent, f) { 51 ConfigBox::ConfigBox (QWidget* parent, Qt::WindowFlags f) : QDialog (parent, f) {
52 ui = new Ui_ConfigBox; 52 ui = new Ui_ConfigBox;
53 ui->setupUi (this); 53 ui->setupUi (this);
54 ui->updateProgress->hide(); 54
55 ui->updateLabel->hide();
56
57 initVersions(); 55 initVersions();
58 initFromSettings(); 56 initFromSettings();
59 57
60 connect (ui->wad_add, SIGNAL (clicked()), this, SLOT (addPath())); 58 connect (ui->wad_add, SIGNAL (clicked()), this, SLOT (addPath()));
61 connect (ui->wad_pathEntry, SIGNAL (returnPressed()), this, SLOT (addPath())); 59 connect (ui->wad_pathEntry, SIGNAL (returnPressed()), this, SLOT (addPath()));
62 connect (ui->wad_findPath, SIGNAL (clicked()), this, SLOT (findPath())); 60 connect (ui->wad_findPath, SIGNAL (clicked()), this, SLOT (findPath()));
63 connect (ui->wad_del, SIGNAL (clicked()), this, SLOT (delPath())); 61 connect (ui->wad_del, SIGNAL (clicked()), this, SLOT (delPath()));
64 connect (ui->buttonBox, SIGNAL (clicked (QAbstractButton*)), this, 62 connect (ui->buttonBox, SIGNAL (clicked (QAbstractButton*)), this,

mercurial