QMessageBox::StandardButtonbutton=QMessageBox::question(0,tr("Use common COG?"),tr("Should the targets be moved depending on their common cog?"),QMessageBox::Yes|QMessageBox::No);
if(OpenFlipper::Options::gui()){
QMessageBox::StandardButtonbutton=QMessageBox::question(0,tr("Use common COG?"),tr("Should the targets be moved depending on their common cog?"),QMessageBox::Yes|QMessageBox::No);
QMessageBox::StandardButtonbutton=QMessageBox::question(0,tr("Use common BB?"),tr("Should the targets be scaled depending on their common Bounding Box?"),QMessageBox::Yes|QMessageBox::No);
if(OpenFlipper::Options::gui()){
QMessageBox::StandardButtonbutton=QMessageBox::question(0,tr("Use common BB?"),tr("Should the targets be scaled depending on their common Bounding Box?"),QMessageBox::Yes|QMessageBox::No);