hulud
14th June 2011, 10:01
In my program i am dinamically inserting buttons into a QDialogButtonBox, but i want them to be really big.
No matter what i try to do, they are always standard size.
can someone point me to a correct stylesheet or anything to achive that?
right now i'm inserting new buttons like that:
ui->buttonBox->addButton("OK", QDialogButtonBox::AcceptRole);
ui->buttonBox->addButton("Yes", QDialogButtonBox::YesRole);
ui->buttonBox->addButton("No", QDialogButtonBox::NoRole);
No matter what i try to do, they are always standard size.
can someone point me to a correct stylesheet or anything to achive that?
right now i'm inserting new buttons like that:
ui->buttonBox->addButton("OK", QDialogButtonBox::AcceptRole);
ui->buttonBox->addButton("Yes", QDialogButtonBox::YesRole);
ui->buttonBox->addButton("No", QDialogButtonBox::NoRole);