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 = new QComboBox();
|
||||||
mCompilerSet->setMinimumWidth(200);
|
mCompilerSet->setMinimumWidth(200);
|
||||||
mCompilerSet->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
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),
|
connect(mCompilerSet,QOverload<int>::of(&QComboBox::currentIndexChanged),
|
||||||
this, &MainWindow::onCompilerSetChanged);
|
this, &MainWindow::onCompilerSetChanged);
|
||||||
//updateCompilerSet();
|
//updateCompilerSet();
|
||||||
|
|
|
@ -1835,7 +1835,6 @@
|
||||||
<addaction name="actionRebuild"/>
|
<addaction name="actionRebuild"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="actionRun_Parameters"/>
|
<addaction name="actionRun_Parameters"/>
|
||||||
<addaction name="actionCompiler_Options"/>
|
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QToolBar" name="toolbarDebug">
|
<widget class="QToolBar" name="toolbarDebug">
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
@ -1879,6 +1878,7 @@
|
||||||
<attribute name="toolBarBreak">
|
<attribute name="toolBarBreak">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<addaction name="actionCompiler_Options"/>
|
||||||
</widget>
|
</widget>
|
||||||
<action name="actionNew">
|
<action name="actionNew">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
|
|
Loading…
Reference in New Issue