11 colorDepthCombo->addItem(tr(
"2 colors (1 bit per pixel)"));
12 colorDepthCombo->addItem(tr(
"4 colors (2 bits per pixel)"));
13 colorDepthCombo->addItem(tr(
"16 colors (4 bits per pixel)"));
14 colorDepthCombo->addItem(tr(
"256 colors (8 bits per pixel)"));
15 colorDepthCombo->addItem(tr(
"65536 colors (16 bits per pixel)"));
16 colorDepthCombo->addItem(tr(
"16 million colors (24 bits per pixel)"));
18 connect(okButton, &QAbstractButton::clicked,
this, &QDialog::accept);
19 connect(cancelButton, &QAbstractButton::clicked,
this, &QDialog::reject);