/[qspeakers]/branches/qtcharts/mainwindow.cpp
ViewVC logotype

Diff of /branches/qtcharts/mainwindow.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 284 by ben, Tue Oct 27 14:39:18 2020 UTC revision 285 by ben, Sat Nov 7 16:27:00 2020 UTC
# Line 70  MainWindow::MainWindow(QWidget *parent) Line 70  MainWindow::MainWindow(QWidget *parent)
70    
71      /* fill speaker combos */      /* fill speaker combos */
72      ui->vendorComboBox->addItems(SpeakerDb::getVendors());      ui->vendorComboBox->addItems(SpeakerDb::getVendors());
73        ui->vendorComboBox->setSizeAdjustPolicy(QComboBox::SizeAdjustPolicy::AdjustToContents);
74      ui->modelComboBox->addItems(SpeakerDb::getModelsByVendor(ui->vendorComboBox->currentText()));      ui->modelComboBox->addItems(SpeakerDb::getModelsByVendor(ui->vendorComboBox->currentText()));
75        ui->modelComboBox->setSizeAdjustPolicy(QComboBox::SizeAdjustPolicy::AdjustToContents);
76    
77      /* undo history is empty */      /* undo history is empty */
78      this->ui->actionUndo->setEnabled(false);      this->ui->actionUndo->setEnabled(false);

Legend:
Removed from v.284  
changed lines
  Added in v.285

  ViewVC Help
Powered by ViewVC 1.1.26