mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 15:26:48 -06:00
Rename
This commit is contained in:
parent
9ec7326735
commit
40cf03dbd5
@ -350,9 +350,9 @@ void RiuMainWindow::createActions()
|
|||||||
connect(m_disableLightingAction, SIGNAL(toggled(bool)), SLOT(slotDisableLightingAction(bool)));
|
connect(m_disableLightingAction, SIGNAL(toggled(bool)), SLOT(slotDisableLightingAction(bool)));
|
||||||
|
|
||||||
|
|
||||||
m_drawStyleToggleFaultsAction = new QAction( QIcon(":/draw_style_faults_24x24.png"), "&Hide Grid Cells", this);
|
m_drawStyleHideGridCellsAction = new QAction( QIcon(":/draw_style_faults_24x24.png"), "&Hide Grid Cells", this);
|
||||||
m_drawStyleToggleFaultsAction->setCheckable(true);
|
m_drawStyleHideGridCellsAction->setCheckable(true);
|
||||||
connect(m_drawStyleToggleFaultsAction, SIGNAL(toggled(bool)), SLOT(slotToggleHideGridCellsAction(bool)));
|
connect(m_drawStyleHideGridCellsAction, SIGNAL(toggled(bool)), SLOT(slotToggleHideGridCellsAction(bool)));
|
||||||
|
|
||||||
m_toggleFaultsLabelAction = new QAction( QIcon(":/draw_style_faults_label_24x24.png"), "&Show Fault Labels", this);
|
m_toggleFaultsLabelAction = new QAction( QIcon(":/draw_style_faults_label_24x24.png"), "&Show Fault Labels", this);
|
||||||
m_toggleFaultsLabelAction->setCheckable(true);
|
m_toggleFaultsLabelAction->setCheckable(true);
|
||||||
@ -549,7 +549,7 @@ void RiuMainWindow::createToolBars()
|
|||||||
m_viewToolBar->addAction(m_drawStyleSurfOnlyAction);
|
m_viewToolBar->addAction(m_drawStyleSurfOnlyAction);
|
||||||
m_viewToolBar->addAction(m_drawStyleFaultLinesSolidAction);
|
m_viewToolBar->addAction(m_drawStyleFaultLinesSolidAction);
|
||||||
m_viewToolBar->addAction(m_disableLightingAction);
|
m_viewToolBar->addAction(m_disableLightingAction);
|
||||||
m_viewToolBar->addAction(m_drawStyleToggleFaultsAction);
|
m_viewToolBar->addAction(m_drawStyleHideGridCellsAction);
|
||||||
m_viewToolBar->addAction(m_toggleFaultsLabelAction);
|
m_viewToolBar->addAction(m_toggleFaultsLabelAction);
|
||||||
m_viewToolBar->addAction(m_addWellCellsToRangeFilterAction);
|
m_viewToolBar->addAction(m_addWellCellsToRangeFilterAction);
|
||||||
|
|
||||||
@ -1905,7 +1905,7 @@ void RiuMainWindow::refreshDrawStyleActions()
|
|||||||
|
|
||||||
if (enable)
|
if (enable)
|
||||||
{
|
{
|
||||||
m_drawStyleToggleFaultsAction->setEnabled(true);
|
m_drawStyleHideGridCellsAction->setEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
RimEclipseView* eclView = dynamic_cast<RimEclipseView*>(view);
|
RimEclipseView* eclView = dynamic_cast<RimEclipseView*>(view);
|
||||||
@ -1916,9 +1916,9 @@ void RiuMainWindow::refreshDrawStyleActions()
|
|||||||
|
|
||||||
if (enable)
|
if (enable)
|
||||||
{
|
{
|
||||||
m_drawStyleToggleFaultsAction->blockSignals(true);
|
m_drawStyleHideGridCellsAction->blockSignals(true);
|
||||||
m_drawStyleToggleFaultsAction->setChecked(!eclView->isGridVisualizationMode());
|
m_drawStyleHideGridCellsAction->setChecked(!eclView->isGridVisualizationMode());
|
||||||
m_drawStyleToggleFaultsAction->blockSignals(false);
|
m_drawStyleHideGridCellsAction->blockSignals(false);
|
||||||
|
|
||||||
m_toggleFaultsLabelAction->blockSignals(true);
|
m_toggleFaultsLabelAction->blockSignals(true);
|
||||||
m_toggleFaultsLabelAction->setChecked(eclView->faultCollection()->showFaultLabel());
|
m_toggleFaultsLabelAction->setChecked(eclView->faultCollection()->showFaultLabel());
|
||||||
|
@ -300,7 +300,7 @@ private:
|
|||||||
|
|
||||||
QActionGroup* m_dsActionGroup;
|
QActionGroup* m_dsActionGroup;
|
||||||
QAction* m_disableLightingAction;
|
QAction* m_disableLightingAction;
|
||||||
QAction* m_drawStyleToggleFaultsAction;
|
QAction* m_drawStyleHideGridCellsAction;
|
||||||
QAction* m_toggleFaultsLabelAction;
|
QAction* m_toggleFaultsLabelAction;
|
||||||
QAction* m_drawStyleLinesAction;
|
QAction* m_drawStyleLinesAction;
|
||||||
QAction* m_drawStyleLinesSolidAction;
|
QAction* m_drawStyleLinesSolidAction;
|
||||||
|
Loading…
Reference in New Issue
Block a user