COPASI API
4.16.103
|
#include <CQNewMainWindow.h>
Classes | |
struct | REACTION_SELECTION_ITEM |
Public Types | |
enum | DISPLAY_MODE { GRAPH_MODE, ANIMATION_MODE } |
enum | REACTION_SELECTION_BITS { ROLE_UNSPECIFIED = 1, ROLE_SUBSTRATE = 2, ROLE_SIDESUBSTRATE = 4, ROLE_PRODUCT = 8, ROLE_SIDEPRODUCT = 16, ROLE_MODIFIER = 32, ROLE_ACTIVATOR = 64, ROLE_INHIBITOR = 128, REACTION_GLYPH = 256, ASSOCIATED_SPECIES_GLYPHS = 512 } |
Public Slots | |
void | changeColorSlot (bool) |
void | checkForElementaryModesSlot () |
virtual void | closeEvent (QCloseEvent *event) |
void | elementaryModeTriggeredSlot (QAction *pAction) |
void | export_bitmap (const QString &filename, double scale=4.0) |
void | export_bitmap (const QString &filename, double x, double y, double width, double height, unsigned int imageWidth, unsigned int imageHeight, bool drawSelection) |
void | fogDensitySlot (bool) |
void | selectMetabolite (const CMetab *pMetab, std::set< const CLGraphicalObject * > &s) |
void | selectReaction (const CReaction *pReaction, unsigned int selectionMask, std::set< const CLGraphicalObject * > &s) |
void | setStatusMessage (const QString &message, int timeout) |
void | slotFitToScreen () |
void | slotLayoutChanged (int index) |
void | slotLayoutFinished () |
void | slotLayoutStateChanged (QSharedPointer< CLayoutState > state) |
void | slotRenderInfoChanged (int index) |
void | slotResetView () |
void | slotRunSpringLayout () |
void | slotScreenshot () |
void | slotSingleCurveSelected (bool selected) |
void | slotZoomChanged (int index) |
void | slotZoomMenuItemActivated (QAction *) |
void | switchMode () |
void | toggleHighlightSlot (bool checked) |
void | updateLayoutList () |
Public Member Functions | |
CQNewMainWindow (CCopasiDataModel *pDatamodel) | |
void | createSpringLayout (int numIterations, int updateInterval) |
virtual QMenu * | getWindowMenu () const |
void | randomizeLayout () |
void | redrawNow () |
void | setMode (DISPLAY_MODE mode=GRAPH_MODE) |
void | updateRenderer () |
virtual | ~CQNewMainWindow () |
![]() | |
void | addToMainWindow (CopasiUI3Window *window=NULL) |
CWindowInterface (QWidget *parent=NULL, Qt::WindowFlags flags=NULL) | |
void | removeFromMainWindow (CopasiUI3Window *window=NULL) |
virtual void | saveToFile (const QString &fileName) const |
virtual | ~CWindowInterface () |
Protected Slots | |
void | slotCalculateDimensions () |
void | slotRunRandomizeLayout () |
void | slotStopClicked () |
Protected Member Functions | |
void | addDefaultRenderInfoItemsToList () |
void | addGlobalRenderInfoItemsToList () |
void | change_style (bool defaultStyle=false) |
void | resetView () |
void | updateRenderInformationList () |
Protected Attributes | |
CLayout * | mpCopy |
CQLayoutThread * | mpLayoutThread |
Private Member Functions | |
void | createActions () |
void | createMenus () |
void | createStatusBar () |
void | createToolBars () |
void | setAnimationMenu () |
void | setAnimationToolbar () |
void | setGraphMenu () |
void | setGraphToolbar () |
Static Private Attributes | |
static const char *const | ZOOM_FACTOR_STRINGS [] = {"1%", "2%", "3%", "4%", "5%", "10%", "20%", "25%", "30%", "40%", "50%", "75%", "100%", "150%", "200%", "300%", "400%", "500%", "1000%"} |
static const double | ZOOM_FACTORS [] = {0.01, 0.02, 0.03, 0.04, 0.05, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.75, 1.0, 1.5, 2.0, 3.0, 4.0, 5.0, 10.0} |
Definition at line 49 of file CQNewMainWindow.h.
Enumerator | |
---|---|
GRAPH_MODE | |
ANIMATION_MODE |
Definition at line 55 of file CQNewMainWindow.h.
Enumerator | |
---|---|
ROLE_UNSPECIFIED | |
ROLE_SUBSTRATE | |
ROLE_SIDESUBSTRATE | |
ROLE_PRODUCT | |
ROLE_SIDEPRODUCT | |
ROLE_MODIFIER | |
ROLE_ACTIVATOR | |
ROLE_INHIBITOR | |
REACTION_GLYPH | |
ASSOCIATED_SPECIES_GLYPHS |
Definition at line 63 of file CQNewMainWindow.h.
CQNewMainWindow::CQNewMainWindow | ( | CCopasiDataModel * | pDatamodel | ) |
Definition at line 100 of file CQNewMainWindow.cpp.
References addDefaultRenderInfoItemsToList(), addGlobalRenderInfoItemsToList(), CQIconResource::copasi, createActions(), createMenus(), createStatusBar(), createToolBars(), DEFAULT_STYLES, CQGLLayoutPainter::getFogColor(), CQGLLayoutPainter::getHighlightColor(), CQGLLayoutViewer::getPainter(), CQLayoutThread::getParameterWindow(), CCopasiDataModel::getReferenceDirectory(), CQIconResource::icon(), loadDefaultStyles(), mCurDir, mpAnimationWindow, mpChangeColorAction, mpFogColorPixmap, mpHighlightColorPixmap, mpLayoutThread, mpLayoutViewer, mpViewMenu, mpWidgetStack, setStatusMessage(), slotLayoutFinished(), slotLayoutStateChanged(), slotSingleCurveSelected(), and updateLayoutList().
|
virtual |
Definition at line 84 of file CQNewMainWindow.cpp.
References mpCopy, mpLayoutThread, CWindowInterface::removeFromMainWindow(), and CQLayoutThread::terminateLayout().
|
protected |
Definition at line 748 of file CQNewMainWindow.cpp.
References getDefaultStyle(), CLRenderInformationBase::getKey(), CLRenderInformationBase::getName(), getNumDefaultStyles(), mpRenderDropdown, and slotRenderInfoChanged().
Referenced by CQNewMainWindow().
|
protected |
Definition at line 720 of file CQNewMainWindow.cpp.
References CLRenderInformationBase::getKey(), CListOfLayouts::getListOfGlobalRenderInformationObjects(), CCopasiDataModel::getListOfLayouts(), CLRenderInformationBase::getName(), CListOfLayouts::getRenderInformation(), mpDataModel, mpRenderDropdown, CCopasiVector< T >::size(), and slotRenderInfoChanged().
Referenced by CQNewMainWindow().
|
protected |
Definition at line 836 of file CQNewMainWindow.cpp.
References CQGLLayoutViewer::change_style(), mpCurrentRenderInformation, and mpLayoutViewer.
Referenced by slotRenderInfoChanged().
|
slot |
This slot is triggered when the user wants to change the fog or the highlighting color, depending on the current highlighting mode.
Definition at line 1589 of file CQNewMainWindow.cpp.
References CQGLLayoutPainter::getFogColor(), CQGLLayoutPainter::getHighlightColor(), CQGLLayoutViewer::getPainter(), GRAPH_MODE, mMode, mpChangeColorAction, mpFogColorPixmap, mpHighlightColorPixmap, mpHighlightModeAction, mpLayoutViewer, CQGLLayoutPainter::setFogColor(), CQGLLayoutPainter::setHighlightColor(), and CQGLLayoutPainter::update().
Referenced by createMenus().
|
slot |
Checks for calculated elementary modes.
Definition at line 1127 of file CQNewMainWindow.cpp.
References elementaryModeTriggeredSlot(), CEFMTask::getFluxModeDescription(), CEFMProblem::getFluxModes(), CCopasiTask::getProblem(), CCopasiDataModel::getTaskList(), mFluxModes, mpDataModel, mpElementaryModesMenu, and pTask.
Referenced by createMenus().
|
virtualslot |
Definition at line 1853 of file CQNewMainWindow.cpp.
References CWindowInterface::removeFromMainWindow(), and slotStopClicked().
|
private |
Definition at line 179 of file CQNewMainWindow.cpp.
References CQIconResource::icon(), mAnimationIcon, mpAnimationWindow, mpCalculateDimensions, mpCircularShape, mpCloseAct, mpLayoutViewer, mpLoadDataAct, mpMimaNodeSizes, mpRandomizeLayout, mpRectangularShape, mpRevertCurveAct, mpScreenshotAct, mpSFontSize, mpStopLayoutAction, mpSwitchModeAct, CQIconResource::roll, slotCalculateDimensions(), slotRunRandomizeLayout(), slotRunSpringLayout(), slotScreenshot(), and switchMode().
Referenced by CQNewMainWindow().
|
private |
Definition at line 243 of file CQNewMainWindow.cpp.
References changeColorSlot(), checkForElementaryModesSlot(), fogDensitySlot(), CQPlayerControlWidget::getBackwardAction(), CQLayoutMainWindow::getControlWidget(), CQPlayerControlWidget::getForwardAction(), CQPlayerControlWidget::getPauseAction(), CQPlayerControlWidget::getPlayAction(), CQPlayerControlWidget::getStepBackwardAction(), CQPlayerControlWidget::getStepForwardAction(), CQPlayerControlWidget::getStopAction(), mpAnimationWindow, mpCalculateDimensions, mpChangeColorAction, mpCircularShape, mpCloseAct, mpElementaryModesMenu, mpFileMenu, mpFogDensityAction, mpHighlightModeAction, mpLayoutMenu, mpLoadDataAct, mpLoopItemAction, mpMimaNodeSizes, mpOptionsMenu, mpPlayMenu, mpRandomizeLayout, mpRectangularShape, mpScreenshotAct, mpSFontSize, mpStopLayoutAction, mpSwitchModeAct, mpViewMenu, mpWindowMenu, mpZoomActionGroup, mpZoomMenu, slotFitToScreen(), slotResetView(), slotZoomMenuItemActivated(), and toggleHighlightSlot().
Referenced by CQNewMainWindow().
void CQNewMainWindow::createSpringLayout | ( | int | numIterations, |
int | updateInterval | ||
) |
Creates a spring layout. The method takes the number of iterations for the layout algorithm and an update interval which tells the algorithm how often to update the display. A value of -1 means that the update of the display is only done once at the end.
Definition at line 1722 of file CQNewMainWindow.cpp.
References CQLayoutThread::createSpringLayout(), mpCopy, mpCurrentLayout, mpLayoutThread, mpStopLayoutAction, slotRunSpringLayout(), slotStopClicked(), and CLayoutState::tagLayout().
Referenced by slotRunSpringLayout().
|
private |
Definition at line 419 of file CQNewMainWindow.cpp.
Referenced by CQNewMainWindow().
|
private |
Definition at line 349 of file CQNewMainWindow.cpp.
References mpFileToolBar, mpLayoutDropdown, mpLoadDataAct, mpRandomizeLayout, mpRenderDropdown, mpRenderLabel, mpRevertCurveAct, mpScreenshotAct, mpSelectionToolBar, mpStopLayoutAction, mpSwitchModeAct, mpZoomDropdown, slotLayoutChanged(), slotRenderInfoChanged(), slotZoomChanged(), and ZOOM_FACTOR_STRINGS.
Referenced by CQNewMainWindow().
|
slot |
Checks which elementary mode has been toggled and updates the highlighted objects list.
Definition at line 1207 of file CQNewMainWindow.cpp.
References ASSOCIATED_SPECIES_GLYPHS, CFluxMode::begin(), CFluxMode::end(), CQGLLayoutPainter::getHighlightedObjects(), CCopasiDataModel::getModel(), CQGLLayoutViewer::getPainter(), CCopasiTask::getProblem(), CModel::getReactions(), CCopasiDataModel::getTaskList(), GRAPH_MODE, mFluxModes, mHighlightedReactions, mMode, mpDataModel, mpElementaryModesMenu, mpLayoutViewer, pTask, REACTION_GLYPH, ROLE_PRODUCT, ROLE_SIDEPRODUCT, ROLE_SIDESUBSTRATE, ROLE_SUBSTRATE, selectReaction(), CCopasiVector< T >::size(), and CQGLLayoutPainter::update().
Referenced by checkForElementaryModesSlot().
|
slot |
exports a bit map of the currently displayed image with the given scale.
Definition at line 908 of file CQNewMainWindow.cpp.
References CQGLLayoutViewer::getPainter(), CQGLLayoutPainter::maxX(), CQGLLayoutPainter::maxY(), CQGLLayoutPainter::minX(), CQGLLayoutPainter::minY(), and mpLayoutViewer.
Referenced by slotScreenshot().
|
slot |
Exports a bitmap of the given size to the file with the given name.
Definition at line 927 of file CQNewMainWindow.cpp.
References CQMessageBox::critical(), CQGLLayoutPainter::export_bitmap(), CQGLLayoutViewer::getPainter(), and mpLayoutViewer.
|
slot |
Lets the user change the percentage of fog that is added to the color.
Definition at line 1549 of file CQNewMainWindow.cpp.
References CQGLLayoutPainter::getFogDensity(), CQGLLayoutViewer::getPainter(), GRAPH_MODE, mMode, mpLayoutViewer, CQGLLayoutPainter::setFogDensity(), and CQGLLayoutPainter::update().
Referenced by createMenus().
|
virtual |
Implements CWindowInterface.
Definition at line 174 of file CQNewMainWindow.cpp.
References mpWindowMenu.
void CQNewMainWindow::randomizeLayout | ( | ) |
Definition at line 1707 of file CQNewMainWindow.cpp.
References mpCurrentLayout, mpLayoutThread, CQLayoutThread::randomizeLayout(), and CQLayoutThread::stopLayout().
Referenced by slotRunRandomizeLayout().
void CQNewMainWindow::redrawNow | ( | ) |
Definition at line 1635 of file CQNewMainWindow.cpp.
References CQGLLayoutViewer::getPainter(), mpLayoutViewer, and CQGLLayoutPainter::update().
Referenced by slotCalculateDimensions(), slotLayoutFinished(), and slotLayoutStateChanged().
|
protected |
Definition at line 449 of file CQNewMainWindow.cpp.
References mpZoomDropdown, slotZoomChanged(), and ZOOM_FACTOR_STRINGS.
Referenced by slotResetView(), and updateRenderer().
|
slot |
Selected the given metabolite object by selecting all corresponding CLMetabGlyph objects in the current layout. The graphical objects selected by this method are inserted into the set given as the third element.
Definition at line 1496 of file CQNewMainWindow.cpp.
References CCopasiVector< T >::begin(), CCopasiVector< T >::end(), CModelEntity::getKey(), CLayout::getListOfMetaboliteGlyphs(), mHighlightedMetabolites, and mpCurrentLayout.
|
slot |
Selects the given reaction object by selecting all corresponding CLReactionGlyph objects in the current layout. The mask determines which parts of the reaction are selected. With this, it can be specified that only the reaction glyph itself or the reaction glyph plus several of the associated metab reference glyphs are selected. The graphical objects selected by this method are inserted into the set given as the third element.
Definition at line 1315 of file CQNewMainWindow.cpp.
References CLMetabReferenceGlyph::ACTIVATOR, ASSOCIATED_SPECIES_GLYPHS, CCopasiVector< T >::begin(), CCopasiVector< T >::end(), CKeyFactory::get(), CReaction::getKey(), CCopasiRootContainer::getKeyFactory(), CLayout::getListOfReactionGlyphs(), CLMetabReferenceGlyph::INHIBITOR, mHighlightedReactions, CLMetabReferenceGlyph::MODIFIER, mpCurrentLayout, CQNewMainWindow::REACTION_SELECTION_ITEM::mReactionKey, CQNewMainWindow::REACTION_SELECTION_ITEM::mSelectionMask, CLMetabReferenceGlyph::PRODUCT, REACTION_GLYPH, ROLE_ACTIVATOR, ROLE_INHIBITOR, ROLE_MODIFIER, ROLE_PRODUCT, ROLE_SIDEPRODUCT, ROLE_SIDESUBSTRATE, ROLE_SUBSTRATE, ROLE_UNSPECIFIED, CLMetabReferenceGlyph::SIDEPRODUCT, CLMetabReferenceGlyph::SIDESUBSTRATE, CLMetabReferenceGlyph::SUBSTRATE, and CLMetabReferenceGlyph::UNDEFINED.
Referenced by elementaryModeTriggeredSlot().
|
private |
Definition at line 1105 of file CQNewMainWindow.cpp.
References mpLayoutMenu, mpOptionsMenu, and mpPlayMenu.
Referenced by switchMode().
|
private |
Definition at line 1081 of file CQNewMainWindow.cpp.
References mpLoadDataAct, mpRenderDropdown, mpRenderLabel, and mpRevertCurveAct.
Referenced by switchMode().
|
private |
Definition at line 1112 of file CQNewMainWindow.cpp.
References mpLayoutMenu, mpOptionsMenu, and mpPlayMenu.
Referenced by switchMode().
|
private |
Definition at line 1093 of file CQNewMainWindow.cpp.
References mpLoadDataAct, mpRenderDropdown, mpRenderLabel, and mpRevertCurveAct.
Referenced by switchMode().
void CQNewMainWindow::setMode | ( | DISPLAY_MODE | mode = GRAPH_MODE | ) |
Definition at line 423 of file CQNewMainWindow.cpp.
References ANIMATION_MODE, GRAPH_MODE, mMode, mpAnimationWindow, mpScreenshotAct, slotScreenshot(), and switchMode().
Referenced by CQLayoutsWidget::slotShowLayout().
|
slot |
Change the status message.
Definition at line 1119 of file CQNewMainWindow.cpp.
Referenced by CQNewMainWindow().
|
protectedslot |
Definition at line 1825 of file CQNewMainWindow.cpp.
References CQGLLayoutPainter::calculateAndAssignBounds(), CLayout::getListOfCompartmentGlyphs(), CLayout::getListOfMetaboliteGlyphs(), CQGLLayoutViewer::getPainter(), mpCurrentLayout, mpLayoutViewer, redrawNow(), and CCopasiVector< T >::size().
Referenced by createActions(), and slotRunRandomizeLayout().
|
slot |
This slot is called when the "Fit To Screen" menu item is activated.
Definition at line 481 of file CQNewMainWindow.cpp.
References ANIMATION_MODE, CQGLLayoutViewer::fitToScreen(), mMode, mpAnimationWindow, mpLayoutViewer, mpZoomActionGroup, mpZoomDropdown, CQGLLayoutViewer::setZoomFactor(), CQLayoutMainWindow::setZoomFactor(), CQLayoutMainWindow::slotFitToScreen(), slotZoomChanged(), and ZOOM_FACTOR_STRINGS.
Referenced by createMenus(), and switchMode().
|
slot |
Definition at line 534 of file CQNewMainWindow.cpp.
References CCopasiDataModel::getListOfLayouts(), mpCurrentLayout, mpDataModel, updateRenderer(), and updateRenderInformationList().
Referenced by createToolBars(), CQLayoutsWidget::slotShowLayout(), and updateLayoutList().
|
slot |
Definition at line 1748 of file CQNewMainWindow.cpp.
References mpCopy, mpStopLayoutAction, redrawNow(), slotRunSpringLayout(), and slotStopClicked().
Referenced by CQNewMainWindow().
|
slot |
Definition at line 1847 of file CQNewMainWindow.cpp.
References mpCurrentLayout, and redrawNow().
Referenced by CQNewMainWindow().
|
slot |
Definition at line 548 of file CQNewMainWindow.cpp.
References change_style(), getDefaultStyle(), CListOfLayouts::getListOfGlobalRenderInformationObjects(), CCopasiDataModel::getListOfLayouts(), CLayout::getListOfLocalRenderInformationObjects(), CListOfLayouts::getRenderInformation(), CLayout::getRenderInformation(), mpCurrentLayout, mpCurrentRenderInformation, mpDataModel, and CCopasiVector< T >::size().
Referenced by addDefaultRenderInfoItemsToList(), addGlobalRenderInfoItemsToList(), createToolBars(), and updateRenderInformationList().
|
slot |
Definition at line 469 of file CQNewMainWindow.cpp.
References mpAnimationWindow, mpLayoutViewer, resetView(), CQGLLayoutViewer::setZoomFactor(), and CQLayoutMainWindow::slotResetView().
Referenced by createMenus().
|
protectedslot |
Definition at line 1836 of file CQNewMainWindow.cpp.
References CLayout::getListOfCompartmentGlyphs(), CLayout::getListOfMetaboliteGlyphs(), mpCurrentLayout, randomizeLayout(), CCopasiVector< T >::size(), and slotCalculateDimensions().
Referenced by createActions().
|
slot |
Definition at line 1773 of file CQNewMainWindow.cpp.
References createSpringLayout().
Referenced by createActions(), createSpringLayout(), and slotLayoutFinished().
|
slot |
This slot initiates the export of the layout as a bitmap. The user gets to choose which part of the layout is to be exported and how large the resulting bitmap is supposed to be.
Definition at line 864 of file CQNewMainWindow.cpp.
References export_bitmap(), CQGLLayoutPainter::getCurrentHeight(), CQGLLayoutPainter::getCurrentPositionX(), CQGLLayoutPainter::getCurrentPositionY(), CQGLLayoutPainter::getCurrentWidth(), CQScreenshotOptionsDialog::getHeight(), CQScreenshotOptionsDialog::getImageHeight(), CQScreenshotOptionsDialog::getImageWidth(), CQGLLayoutViewer::getPainter(), CopasiFileDialog::getSaveFileName(), CQScreenshotOptionsDialog::getWidth(), CQScreenshotOptionsDialog::getX(), CQScreenshotOptionsDialog::getY(), CQScreenshotOptionsDialog::isSetDrawSelectionDecoration(), CQGLLayoutPainter::maxX(), CQGLLayoutPainter::maxY(), CQGLLayoutPainter::minX(), CQGLLayoutPainter::minY(), and mpLayoutViewer.
Referenced by createActions(), setMode(), and switchMode().
|
slot |
This slot is called when the selection is changed and only a single curve is selected.
This slot is called when something in the document changes.
Definition at line 844 of file CQNewMainWindow.cpp.
References mpRevertCurveAct.
Referenced by CQNewMainWindow().
|
protectedslot |
This slot is called when the stop button is presed. It notifies the layout method to stop the spring layout iterations.
Definition at line 1768 of file CQNewMainWindow.cpp.
References mpLayoutThread, and CQLayoutThread::stopLayout().
Referenced by closeEvent(), createSpringLayout(), and slotLayoutFinished().
|
slot |
Definition at line 775 of file CQNewMainWindow.cpp.
References mpAnimationWindow, mpLayoutViewer, mpZoomActionGroup, mpZoomDropdown, CQGLLayoutViewer::setZoomFactor(), CQLayoutMainWindow::setZoomFactor(), ZOOM_FACTOR_STRINGS, and ZOOM_FACTORS.
Referenced by createToolBars(), resetView(), slotFitToScreen(), and slotZoomMenuItemActivated().
|
slot |
Definition at line 804 of file CQNewMainWindow.cpp.
References mpAnimationWindow, mpLayoutViewer, mpZoomActionGroup, mpZoomDropdown, CQGLLayoutViewer::setZoomFactor(), CQLayoutMainWindow::setZoomFactor(), slotZoomChanged(), ZOOM_FACTOR_STRINGS, and ZOOM_FACTORS.
Referenced by createMenus().
|
slot |
switches the display mode between animation mode and graph mode.
Definition at line 1037 of file CQNewMainWindow.cpp.
References ANIMATION_MODE, GRAPH_MODE, mAnimationIcon, mGraphIcon, mMode, mpAnimationWindow, mpChangeColorAction, mpCurrentLayout, mpElementaryModesMenu, mpHighlightModeAction, mpScreenshotAct, mpSwitchModeAct, mpWidgetStack, setAnimationMenu(), setAnimationToolbar(), setGraphMenu(), setGraphToolbar(), CQLayoutMainWindow::setLayout(), slotFitToScreen(), slotScreenshot(), and updateLayoutList().
Referenced by createActions(), and setMode().
|
slot |
Is called when the menu entry for toggling highlighting of elementary modes is toggled.
Definition at line 1522 of file CQNewMainWindow.cpp.
References CQGLLayoutViewer::getPainter(), GRAPH_MODE, mMode, mpChangeColorAction, mpFogColorPixmap, mpHighlightColorPixmap, mpLayoutViewer, CQGLLayoutPainter::setHighlightFlag(), and CQGLLayoutPainter::update().
Referenced by createMenus().
|
slot |
Fills the layout dropdown list.
Definition at line 993 of file CQNewMainWindow.cpp.
References CLayout::getKey(), CCopasiDataModel::getListOfLayouts(), CCopasiObject::getObjectName(), mpCurrentLayout, mpCurrentRenderInformation, mpDataModel, mpLayoutDropdown, CCopasiVector< T >::size(), slotLayoutChanged(), updateRenderer(), and updateRenderInformationList().
Referenced by CQNewMainWindow(), and switchMode().
void CQNewMainWindow::updateRenderer | ( | ) |
Definition at line 435 of file CQNewMainWindow.cpp.
References CQGLLayoutViewer::change_style(), getDefaultStyle(), mCurDir, mpAnimationWindow, mpCurrentLayout, mpCurrentRenderInformation, mpDataModel, mpLayoutViewer, resetView(), CQLayoutMainWindow::setLayout(), and CQGLLayoutViewer::update().
Referenced by slotLayoutChanged(), and updateLayoutList().
|
protected |
Definition at line 603 of file CQNewMainWindow.cpp.
References getDefaultStyle(), CLRenderInformationBase::getKey(), CListOfLayouts::getListOfGlobalRenderInformationObjects(), CCopasiDataModel::getListOfLayouts(), CLayout::getListOfLocalRenderInformationObjects(), CLRenderInformationBase::getName(), getNumDefaultStyles(), CListOfLayouts::getRenderInformation(), CLayout::getRenderInformation(), mpCurrentLayout, mpCurrentRenderInformation, mpDataModel, mpRenderDropdown, CCopasiVector< T >::size(), and slotRenderInfoChanged().
Referenced by slotLayoutChanged(), and updateLayoutList().
|
private |
Definition at line 301 of file CQNewMainWindow.h.
Referenced by createActions(), and switchMode().
|
private |
Definition at line 298 of file CQNewMainWindow.h.
Referenced by CQNewMainWindow(), and updateRenderer().
|
private |
Definition at line 293 of file CQNewMainWindow.h.
|
private |
Definition at line 329 of file CQNewMainWindow.h.
Referenced by checkForElementaryModesSlot(), and elementaryModeTriggeredSlot().
|
private |
Definition at line 300 of file CQNewMainWindow.h.
Referenced by switchMode().
|
private |
Definition at line 321 of file CQNewMainWindow.h.
Referenced by selectMetabolite().
|
private |
Definition at line 322 of file CQNewMainWindow.h.
Referenced by elementaryModeTriggeredSlot(), and selectReaction().
|
private |
Definition at line 261 of file CQNewMainWindow.h.
Referenced by changeColorSlot(), elementaryModeTriggeredSlot(), fogDensitySlot(), setMode(), slotFitToScreen(), switchMode(), and toggleHighlightSlot().
|
private |
Definition at line 285 of file CQNewMainWindow.h.
Referenced by CQNewMainWindow(), createActions(), createMenus(), setMode(), slotFitToScreen(), slotResetView(), slotZoomChanged(), slotZoomMenuItemActivated(), switchMode(), and updateRenderer().
|
private |
Definition at line 341 of file CQNewMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 337 of file CQNewMainWindow.h.
Referenced by changeColorSlot(), CQNewMainWindow(), createMenus(), switchMode(), and toggleHighlightSlot().
|
private |
Definition at line 278 of file CQNewMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 275 of file CQNewMainWindow.h.
Referenced by createActions(), and createMenus().
|
protected |
the copy on which the layout operates
Definition at line 367 of file CQNewMainWindow.h.
Referenced by createSpringLayout(), slotLayoutFinished(), and ~CQNewMainWindow().
|
private |
Definition at line 290 of file CQNewMainWindow.h.
Referenced by createSpringLayout(), randomizeLayout(), selectMetabolite(), selectReaction(), slotCalculateDimensions(), slotLayoutChanged(), slotLayoutStateChanged(), slotRenderInfoChanged(), slotRunRandomizeLayout(), switchMode(), updateLayoutList(), updateRenderer(), and updateRenderInformationList().
|
private |
Definition at line 292 of file CQNewMainWindow.h.
Referenced by change_style(), slotRenderInfoChanged(), updateLayoutList(), updateRenderer(), and updateRenderInformationList().
|
private |
Definition at line 286 of file CQNewMainWindow.h.
Referenced by addGlobalRenderInfoItemsToList(), checkForElementaryModesSlot(), elementaryModeTriggeredSlot(), slotLayoutChanged(), slotRenderInfoChanged(), updateLayoutList(), updateRenderer(), and updateRenderInformationList().
|
private |
Definition at line 270 of file CQNewMainWindow.h.
Referenced by checkForElementaryModesSlot(), createMenus(), elementaryModeTriggeredSlot(), and switchMode().
|
private |
Definition at line 263 of file CQNewMainWindow.h.
Referenced by createMenus().
|
private |
Definition at line 271 of file CQNewMainWindow.h.
Referenced by createToolBars().
|
private |
Definition at line 333 of file CQNewMainWindow.h.
Referenced by changeColorSlot(), CQNewMainWindow(), and toggleHighlightSlot().
|
private |
Definition at line 336 of file CQNewMainWindow.h.
Referenced by createMenus().
|
private |
Definition at line 334 of file CQNewMainWindow.h.
Referenced by changeColorSlot(), CQNewMainWindow(), and toggleHighlightSlot().
|
private |
Definition at line 335 of file CQNewMainWindow.h.
Referenced by changeColorSlot(), createMenus(), and switchMode().
|
private |
Definition at line 287 of file CQNewMainWindow.h.
Referenced by createToolBars(), and updateLayoutList().
|
private |
Definition at line 265 of file CQNewMainWindow.h.
Referenced by createMenus(), setAnimationMenu(), and setGraphMenu().
|
protected |
the layout thread
Definition at line 364 of file CQNewMainWindow.h.
Referenced by CQNewMainWindow(), createSpringLayout(), randomizeLayout(), slotStopClicked(), and ~CQNewMainWindow().
|
private |
Definition at line 284 of file CQNewMainWindow.h.
Referenced by change_style(), changeColorSlot(), CQNewMainWindow(), createActions(), elementaryModeTriggeredSlot(), export_bitmap(), fogDensitySlot(), redrawNow(), slotCalculateDimensions(), slotFitToScreen(), slotResetView(), slotScreenshot(), slotZoomChanged(), slotZoomMenuItemActivated(), toggleHighlightSlot(), and updateRenderer().
|
private |
Definition at line 277 of file CQNewMainWindow.h.
Referenced by createActions(), createMenus(), createToolBars(), setAnimationToolbar(), and setGraphToolbar().
|
private |
Definition at line 282 of file CQNewMainWindow.h.
Referenced by createMenus().
|
private |
Definition at line 280 of file CQNewMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 267 of file CQNewMainWindow.h.
Referenced by createMenus(), setAnimationMenu(), and setGraphMenu().
|
private |
Definition at line 264 of file CQNewMainWindow.h.
Referenced by createMenus(), setAnimationMenu(), and setGraphMenu().
|
private |
Definition at line 340 of file CQNewMainWindow.h.
Referenced by createActions(), createMenus(), and createToolBars().
|
private |
Definition at line 279 of file CQNewMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 288 of file CQNewMainWindow.h.
Referenced by addDefaultRenderInfoItemsToList(), addGlobalRenderInfoItemsToList(), createToolBars(), setAnimationToolbar(), setGraphToolbar(), and updateRenderInformationList().
|
private |
Definition at line 291 of file CQNewMainWindow.h.
Referenced by createToolBars(), setAnimationToolbar(), and setGraphToolbar().
|
private |
Definition at line 274 of file CQNewMainWindow.h.
Referenced by createActions(), createToolBars(), setAnimationToolbar(), setGraphToolbar(), and slotSingleCurveSelected().
|
private |
Definition at line 276 of file CQNewMainWindow.h.
Referenced by createActions(), createMenus(), createToolBars(), setMode(), and switchMode().
|
private |
Definition at line 272 of file CQNewMainWindow.h.
Referenced by createToolBars().
|
private |
Definition at line 281 of file CQNewMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 339 of file CQNewMainWindow.h.
Referenced by createActions(), createMenus(), createSpringLayout(), createToolBars(), and slotLayoutFinished().
|
private |
Definition at line 273 of file CQNewMainWindow.h.
Referenced by createActions(), createMenus(), createToolBars(), and switchMode().
|
private |
Definition at line 266 of file CQNewMainWindow.h.
Referenced by CQNewMainWindow(), and createMenus().
|
private |
Definition at line 262 of file CQNewMainWindow.h.
Referenced by CQNewMainWindow(), and switchMode().
|
private |
Definition at line 268 of file CQNewMainWindow.h.
Referenced by createMenus(), and getWindowMenu().
|
private |
Definition at line 283 of file CQNewMainWindow.h.
Referenced by createMenus(), slotFitToScreen(), slotZoomChanged(), and slotZoomMenuItemActivated().
|
private |
Definition at line 289 of file CQNewMainWindow.h.
Referenced by createToolBars(), resetView(), slotFitToScreen(), slotZoomChanged(), and slotZoomMenuItemActivated().
|
private |
Definition at line 269 of file CQNewMainWindow.h.
Referenced by createMenus().
|
staticprivate |
Definition at line 295 of file CQNewMainWindow.h.
Referenced by createToolBars(), resetView(), slotFitToScreen(), slotZoomChanged(), and slotZoomMenuItemActivated().
|
staticprivate |
Definition at line 296 of file CQNewMainWindow.h.
Referenced by slotZoomChanged(), and slotZoomMenuItemActivated().