change "compiler options" tool button's position in the toolbar
This commit is contained in:
parent
e3d7af019d
commit
03e588d173
|
@ -141,7 +141,8 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
mCompilerSet = new QComboBox();
|
||||
mCompilerSet->setMinimumWidth(200);
|
||||
mCompilerSet->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||
ui->toolbarCompilerSet->addWidget(mCompilerSet);
|
||||
ui->toolbarCompilerSet->insertWidget(ui->actionCompiler_Options, mCompilerSet);
|
||||
ui->toolbarCompilerSet->insertSeparator(ui->actionCompiler_Options);
|
||||
connect(mCompilerSet,QOverload<int>::of(&QComboBox::currentIndexChanged),
|
||||
this, &MainWindow::onCompilerSetChanged);
|
||||
//updateCompilerSet();
|
||||
|
|
|
@ -1835,7 +1835,6 @@
|
|||
<addaction name="actionRebuild"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionRun_Parameters"/>
|
||||
<addaction name="actionCompiler_Options"/>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="toolbarDebug">
|
||||
<property name="windowTitle">
|
||||
|
@ -1879,6 +1878,7 @@
|
|||
<attribute name="toolBarBreak">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<addaction name="actionCompiler_Options"/>
|
||||
</widget>
|
||||
<action name="actionNew">
|
||||
<property name="icon">
|
||||
|
|
Loading…
Reference in New Issue