StelGui.cpp   StelGui.cpp 
skipping to change at line 45 skipping to change at line 45
#include "ConstellationMgr.hpp" #include "ConstellationMgr.hpp"
#include "GridLinesMgr.hpp" #include "GridLinesMgr.hpp"
#include "NebulaMgr.hpp" #include "NebulaMgr.hpp"
#include "StelLocaleMgr.hpp" #include "StelLocaleMgr.hpp"
#include "StelActionMgr.hpp" #include "StelActionMgr.hpp"
#include "SporadicMeteorMgr.hpp" #include "SporadicMeteorMgr.hpp"
#include "StelObjectType.hpp" #include "StelObjectType.hpp"
#include "StelObject.hpp" #include "StelObject.hpp"
#include "SolarSystem.hpp" #include "SolarSystem.hpp"
#include "ToastMgr.hpp"
#include "StelSkyLayerMgr.hpp" #include "StelSkyLayerMgr.hpp"
#include "StelStyle.hpp" #include "StelStyle.hpp"
#include "StelSkyDrawer.hpp" #include "StelSkyDrawer.hpp"
#ifdef ENABLE_SCRIPT_CONSOLE #ifdef ENABLE_SCRIPT_CONSOLE
#include "ScriptConsole.hpp" #include "ScriptConsole.hpp"
#endif #endif
#ifndef DISABLE_SCRIPTING #ifndef DISABLE_SCRIPTING
#include "StelScriptMgr.hpp" #include "StelScriptMgr.hpp"
#endif #endif
skipping to change at line 105 skipping to change at line 106
#ifdef ENABLE_SCRIPT_CONSOLE #ifdef ENABLE_SCRIPT_CONSOLE
, scriptConsole(0) , scriptConsole(0)
#endif #endif
, astroCalcDialog(0) , astroCalcDialog(0)
, bookmarksDialog(0) , bookmarksDialog(0)
, flagShowFlipButtons(false) , flagShowFlipButtons(false)
, flipVert(NULL) , flipVert(NULL)
, flipHoriz(NULL) , flipHoriz(NULL)
, flagShowNebulaBackgroundButton(false) , flagShowNebulaBackgroundButton(false)
, btShowNebulaeBackground(NULL) , btShowNebulaeBackground(NULL)
, flagShowToastSurveyButton(false)
, btShowToastSurvey(NULL)
, flagShowBookmarksButton(false)
, btShowBookmarks(NULL)
, initDone(false) , initDone(false)
#ifndef DISABLE_SCRIPTING #ifndef DISABLE_SCRIPTING
// We use a QStringList to save the user-configured buttons while script is running, and restore them later. // We use a QStringList to save the user-configured buttons while script is running, and restore them later.
, scriptSaveSpeedbuttons() , scriptSaveSpeedbuttons()
#endif #endif
{ {
// QPixmapCache::setCacheLimit(30000); ? // QPixmapCache::setCacheLimit(30000); ?
} }
skipping to change at line 219 skipping to change at line 224
actionsMgr->addAction("actionShow_ScriptConsole_Window_Global", wind owsGroup, N_("Script console window"), scriptConsole, "visible", "F12", "", true); actionsMgr->addAction("actionShow_ScriptConsole_Window_Global", wind owsGroup, N_("Script console window"), scriptConsole, "visible", "F12", "", true);
#endif #endif
actionsMgr->addAction("actionShow_Help_Window_Global", windowsGroup, N_("Help window"), helpDialog, "visible", "F1", "", true); actionsMgr->addAction("actionShow_Help_Window_Global", windowsGroup, N_("Help window"), helpDialog, "visible", "F1", "", true);
actionsMgr->addAction("actionShow_Configuration_Window_Global", wind owsGroup, N_("Configuration window"), configurationDialog, "visible", "F2", "", true); actionsMgr->addAction("actionShow_Configuration_Window_Global", wind owsGroup, N_("Configuration window"), configurationDialog, "visible", "F2", "", true);
actionsMgr->addAction("actionShow_Search_Window_Global", windowsGrou p, N_("Search window"), searchDialog, "visible", "F3", "Ctrl+F", true); actionsMgr->addAction("actionShow_Search_Window_Global", windowsGrou p, N_("Search window"), searchDialog, "visible", "F3", "Ctrl+F", true);
actionsMgr->addAction("actionShow_SkyView_Window_Global", windowsGro up, N_("Sky and viewing options window"), viewDialog, "visible", "F4", "", true); actionsMgr->addAction("actionShow_SkyView_Window_Global", windowsGro up, N_("Sky and viewing options window"), viewDialog, "visible", "F4", "", true);
actionsMgr->addAction("actionShow_DateTime_Window_Global", windowsGr oup, N_("Date/time window"), dateTimeDialog, "visible", "F5", "", true); actionsMgr->addAction("actionShow_DateTime_Window_Global", windowsGr oup, N_("Date/time window"), dateTimeDialog, "visible", "F5", "", true);
actionsMgr->addAction("actionShow_Location_Window_Global", windowsGr oup, N_("Location window"), locationDialog, "visible", "F6", "", true); actionsMgr->addAction("actionShow_Location_Window_Global", windowsGr oup, N_("Location window"), locationDialog, "visible", "F6", "", true);
actionsMgr->addAction("actionShow_Shortcuts_Window_Global", windowsG roup, N_("Shortcuts window"), shortcutsDialog, "visible", "F7", "", true); actionsMgr->addAction("actionShow_Shortcuts_Window_Global", windowsG roup, N_("Shortcuts window"), shortcutsDialog, "visible", "F7", "", true);
actionsMgr->addAction("actionShow_AstroCalc_Window_Global", windowsG actionsMgr->addAction("actionShow_AstroCalc_Window_Global", windowsG
roup, N_("AstroCalc window"), astroCalcDialog, "visible", "F10", "Alt+A", t roup, N_("Astronomical calculations window"), astroCalcDialog, "visible", "
rue); F10", "", true);
actionsMgr->addAction("actionShow_Bookmarks_Window_Global", windowsG actionsMgr->addAction("actionShow_Bookmarks_Window_Global", windowsG
roup, N_("Bookmarks window"), bookmarksDialog, "visible", "Alt+B", "", true roup, N_("Bookmarks"), bookmarksDialog, "visible", "Alt+B", "", true);
);
actionsMgr->addAction("actionSave_Copy_Object_Information_Global", m iscGroup, N_("Copy selected object information to clipboard"), this, "copyS electedObjectInfo()", "Ctrl+C", "", true); actionsMgr->addAction("actionSave_Copy_Object_Information_Global", m iscGroup, N_("Copy selected object information to clipboard"), this, "copyS electedObjectInfo()", "Ctrl+C", "", true);
QSettings* conf = StelApp::getInstance().getSettings(); QSettings* conf = StelApp::getInstance().getSettings();
Q_ASSERT(conf); Q_ASSERT(conf);
setAutoHideHorizontalButtonBar(conf->value("gui/auto_hide_horizontal _toolbar", true).toBool()); setAutoHideHorizontalButtonBar(conf->value("gui/auto_hide_horizontal _toolbar", true).toBool());
setAutoHideVerticalButtonBar(conf->value("gui/auto_hide_vertical_too lbar", true).toBool()); setAutoHideVerticalButtonBar(conf->value("gui/auto_hide_vertical_too lbar", true).toBool());
actionsMgr->addAction("actionAutoHideHorizontalButtonBar", miscGroup , N_("Auto hide horizontal button bar"), this, "autoHideHorizontalButtonBar "); actionsMgr->addAction("actionAutoHideHorizontalButtonBar", miscGroup , N_("Auto hide horizontal button bar"), this, "autoHideHorizontalButtonBar ");
actionsMgr->addAction("actionAutoHideVerticalButtonBar", miscGroup, N_("Auto hide vertical button bar"), this, "autoHideVerticalButtonBar"); actionsMgr->addAction("actionAutoHideVerticalButtonBar", miscGroup, N_("Auto hide vertical button bar"), this, "autoHideVerticalButtonBar");
setGuiVisible(conf->value("gui/flag_show_gui", true).toBool()); setGuiVisible(conf->value("gui/flag_show_gui", true).toBool());
skipping to change at line 271 skipping to change at line 276
pxmapOn = QPixmap(":/graphicGui/6-on-search.png"); pxmapOn = QPixmap(":/graphicGui/6-on-search.png");
pxmapOff = QPixmap(":/graphicGui/6-off-search.png"); pxmapOff = QPixmap(":/graphicGui/6-off-search.png");
b = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlow, "actionShow_S earch_Window_Global"); b = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlow, "actionShow_S earch_Window_Global");
skyGui->winBar->addButton(b); skyGui->winBar->addButton(b);
pxmapOn = QPixmap(":/graphicGui/8-on-settings.png"); pxmapOn = QPixmap(":/graphicGui/8-on-settings.png");
pxmapOff = QPixmap(":/graphicGui/8-off-settings.png"); pxmapOff = QPixmap(":/graphicGui/8-off-settings.png");
b = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlow, "actionShow_C onfiguration_Window_Global"); b = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlow, "actionShow_C onfiguration_Window_Global");
skyGui->winBar->addButton(b); skyGui->winBar->addButton(b);
// NOTE: Should be a toggle of visibility for this button?
pxmapOn = QPixmap(":/graphicGui/11-on-AstroCalc.png");
pxmapOff = QPixmap(":/graphicGui/11-off-AstroCalc.png");
b = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlow, "actionShow_A
stroCalc_Window_Global");
skyGui->winBar->addButton(b);
pxmapOn = QPixmap(":/graphicGui/9-on-help.png"); pxmapOn = QPixmap(":/graphicGui/9-on-help.png");
pxmapOff = QPixmap(":/graphicGui/9-off-help.png"); pxmapOff = QPixmap(":/graphicGui/9-off-help.png");
b = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlow, "actionShow_H elp_Window_Global"); b = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlow, "actionShow_H elp_Window_Global");
skyGui->winBar->addButton(b); skyGui->winBar->addButton(b);
QPixmap pxmapGlow32x32(":/graphicGui/glow32x32.png"); QPixmap pxmapGlow32x32(":/graphicGui/glow32x32.png");
pxmapOn = QPixmap(":/graphicGui/btConstellationLines-on.png"); pxmapOn = QPixmap(":/graphicGui/btConstellationLines-on.png");
pxmapOff = QPixmap(":/graphicGui/btConstellationLines-off.png"); pxmapOff = QPixmap(":/graphicGui/btConstellationLines-off.png");
b = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlow32x32, "actionS how_Constellation_Lines"); b = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlow32x32, "actionS how_Constellation_Lines");
skipping to change at line 369 skipping to change at line 380
pxmapOn = QPixmap(":/graphicGui/btTimeNow-on.png"); pxmapOn = QPixmap(":/graphicGui/btTimeNow-on.png");
pxmapOff = QPixmap(":/graphicGui/btTimeNow-off.png"); pxmapOff = QPixmap(":/graphicGui/btTimeNow-off.png");
buttonTimeCurrent = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlo w32x32, "actionReturn_To_Current_Time"); buttonTimeCurrent = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlo w32x32, "actionReturn_To_Current_Time");
skyGui->buttonBar->addButton(buttonTimeCurrent, "070-timeGroup"); skyGui->buttonBar->addButton(buttonTimeCurrent, "070-timeGroup");
pxmapOn = QPixmap(":/graphicGui/btTimeForward-on.png"); pxmapOn = QPixmap(":/graphicGui/btTimeForward-on.png");
pxmapOff = QPixmap(":/graphicGui/btTimeForward-off.png"); pxmapOff = QPixmap(":/graphicGui/btTimeForward-off.png");
buttonTimeForward = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlo w32x32, "actionIncrease_Time_Speed"); buttonTimeForward = new StelButton(NULL, pxmapOn, pxmapOff, pxmapGlo w32x32, "actionIncrease_Time_Speed");
skyGui->buttonBar->addButton(buttonTimeForward, "070-timeGroup"); skyGui->buttonBar->addButton(buttonTimeForward, "070-timeGroup");
skyGui->buttonBar->setGroupMargin("070-timeGroup", 32, 0);
pxmapOn = QPixmap(":/graphicGui/btQuit.png"); pxmapOn = QPixmap(":/graphicGui/btQuit.png");
b = new StelButton(NULL, pxmapOn, pxmapOn, pxmapGlow32x32, "actionQu it_Global"); b = new StelButton(NULL, pxmapOn, pxmapOn, pxmapGlow32x32, "actionQu it_Global");
skyGui->buttonBar->addButton(b, "080-quitGroup"); skyGui->buttonBar->addButton(b, "080-quitGroup");
// add the flip buttons if requested in the config // add the flip buttons if requested in the config
setFlagShowFlipButtons(conf->value("gui/flag_show_flip_buttons", fal se).toBool()); setFlagShowFlipButtons(conf->value("gui/flag_show_flip_buttons", fal se).toBool());
setFlagShowNebulaBackgroundButton(conf->value("gui/flag_show_nebulae _background_button", false).toBool()); setFlagShowNebulaBackgroundButton(conf->value("gui/flag_show_nebulae _background_button", false).toBool());
setFlagShowToastSurveyButton(conf->value("gui/flag_show_toast_survey
_button", false).toBool());
setFlagShowBookmarksButton(conf->value("gui/flag_show_bookmarks_butt
on", false).toBool());
//////////////////////////////////////////////////////////////////// /// //////////////////////////////////////////////////////////////////// ///
// Create the main base widget // Create the main base widget
skyGui->init(this); skyGui->init(this);
QGraphicsGridLayout* l = new QGraphicsGridLayout(); QGraphicsGridLayout* l = new QGraphicsGridLayout();
l->setContentsMargins(0,0,0,0); l->setContentsMargins(0,0,0,0);
l->setSpacing(0); l->setSpacing(0);
l->addItem(skyGui, 0, 0); l->addItem(skyGui, 0, 0);
atopLevelGraphicsWidget->setLayout(l); atopLevelGraphicsWidget->setLayout(l);
setStelStyle(StelApp::getInstance().getCurrentStelStyle()); setStelStyle(StelApp::getInstance().getCurrentStelStyle());
int margin = conf->value("gui/space_between_groups", 5).toInt();
skyGui->buttonBar->setGroupMargin("020-gridsGroup", margin, 0);
skyGui->buttonBar->setGroupMargin("030-landscapeGroup", margin, 0);
skyGui->buttonBar->setGroupMargin("040-nebulaeGroup", margin, 0);
skyGui->buttonBar->setGroupMargin("060-othersGroup", margin, margin)
;
skyGui->buttonBar->setGroupMargin("070-timeGroup", margin, 0);
skyGui->buttonBar->setGroupMargin("080-quitGroup", margin, 0);
skyGui->setGeometry(atopLevelGraphicsWidget->geometry()); skyGui->setGeometry(atopLevelGraphicsWidget->geometry());
skyGui->updateBarsPos(); skyGui->updateBarsPos();
// The disabled text for checkboxes is embossed with the QPalette::L ight setting for the ColorGroup Disabled. // The disabled text for checkboxes is embossed with the QPalette::L ight setting for the ColorGroup Disabled.
// It doesn't appear to be possible to set this from the stylesheet. Instead we'll make it 100% transparent // It doesn't appear to be possible to set this from the stylesheet. Instead we'll make it 100% transparent
// and set the text color for disabled in the stylesheets. // and set the text color for disabled in the stylesheets.
QPalette p = QGuiApplication::palette(); QPalette p = QGuiApplication::palette();
p.setColor(QPalette::Disabled, QPalette::Light, QColor(0,0,0,0)); p.setColor(QPalette::Disabled, QPalette::Light, QColor(0,0,0,0));
// And this is for the focus... apparently the focus indicator is t he inverted value for Active/Button. // And this is for the focus... apparently the focus indicator is t he inverted value for Active/Button.
skipping to change at line 458 skipping to change at line 477
} }
locationDialog->styleChanged(); locationDialog->styleChanged();
dateTimeDialog->styleChanged(); dateTimeDialog->styleChanged();
configurationDialog->styleChanged(); configurationDialog->styleChanged();
searchDialog->styleChanged(); searchDialog->styleChanged();
viewDialog->styleChanged(); viewDialog->styleChanged();
#ifdef ENABLE_SCRIPT_CONSOLE #ifdef ENABLE_SCRIPT_CONSOLE
scriptConsole->styleChanged(); scriptConsole->styleChanged();
#endif // ENABLE_SCRIPT_CONSOLE #endif // ENABLE_SCRIPT_CONSOLE
astroCalcDialog->styleChanged();
bookmarksDialog->styleChanged();
} }
void StelGui::updateI18n() void StelGui::updateI18n()
{ {
// Translate all action texts // Translate all action texts
foreach (QObject* obj, StelMainView::getInstance().children()) foreach (QObject* obj, StelMainView::getInstance().children())
{ {
QAction* a = qobject_cast<QAction*>(obj); QAction* a = qobject_cast<QAction*>(obj);
if (a) if (a)
{ {
skipping to change at line 521 skipping to change at line 542
buttonGotoSelectedObject->setChecked(b); buttonGotoSelectedObject->setChecked(b);
} }
bool flag; bool flag;
// XXX: this should probably be removed, we can use property NOTIFY instead. // XXX: this should probably be removed, we can use property NOTIFY instead.
flag = GETSTELMODULE(StelSkyLayerMgr)->getFlagShow(); flag = GETSTELMODULE(StelSkyLayerMgr)->getFlagShow();
if (getAction("actionShow_DSS")->isChecked() != flag) if (getAction("actionShow_DSS")->isChecked() != flag)
getAction("actionShow_DSS")->setChecked(flag); getAction("actionShow_DSS")->setChecked(flag);
flag = GETSTELMODULE(ToastMgr)->getFlagSurveyShow();
if (getAction("actionShow_Toast_Survey")->isChecked() != flag)
getAction("actionShow_Toast_Survey")->setChecked(flag);
flag = StelApp::getInstance().getVisionModeNight(); flag = StelApp::getInstance().getVisionModeNight();
if (getAction("actionShow_Night_Mode")->isChecked() != flag) if (getAction("actionShow_Night_Mode")->isChecked() != flag)
getAction("actionShow_Night_Mode")->setChecked(flag); getAction("actionShow_Night_Mode")->setChecked(flag);
flag = StelMainView::getInstance().isFullScreen(); flag = StelMainView::getInstance().isFullScreen();
if (getAction("actionSet_Full_Screen_Global")->isChecked() != flag) if (getAction("actionSet_Full_Screen_Global")->isChecked() != flag)
getAction("actionSet_Full_Screen_Global")->setChecked(flag); getAction("actionSet_Full_Screen_Global")->setChecked(flag);
skyGui->infoPanel->setTextFromObjects(GETSTELMODULE(StelObjectMgr)-> getSelectedObject()); skyGui->infoPanel->setTextFromObjects(GETSTELMODULE(StelObjectMgr)-> getSelectedObject());
skipping to change at line 669 skipping to change at line 694
QPixmap pxmapGlow32x32(":/graphicGui/glow32x32.png") ; QPixmap pxmapGlow32x32(":/graphicGui/glow32x32.png") ;
QPixmap pxmapOn(":/graphicGui/btDSS-on.png"); QPixmap pxmapOn(":/graphicGui/btDSS-on.png");
QPixmap pxmapOff(":/graphicGui/btDSS-off.png"); QPixmap pxmapOff(":/graphicGui/btDSS-off.png");
btShowNebulaeBackground = new StelButton(NULL, pxmap On, pxmapOff, pxmapGlow32x32, "actionShow_DSS"); btShowNebulaeBackground = new StelButton(NULL, pxmap On, pxmapOff, pxmapGlow32x32, "actionShow_DSS");
} }
getButtonBar()->addButton(btShowNebulaeBackground, "040-nebu laeGroup"); getButtonBar()->addButton(btShowNebulaeBackground, "040-nebu laeGroup");
} else { } else {
getButtonBar()->hideButton("actionShow_DSS"); getButtonBar()->hideButton("actionShow_DSS");
} }
flagShowNebulaBackgroundButton = b; flagShowNebulaBackgroundButton = b;
if (initDone) {
skyGui->updateBarsPos();
}
}
// Define whether the button toggling bookmarks should be visible
void StelGui::setFlagShowBookmarksButton(bool b)
{
if (b==true) {
if (btShowBookmarks==NULL) {
// Create the nebulae background button
QPixmap pxmapGlow32x32(":/graphicGui/glow32x32.png")
;
QPixmap pxmapOn(":/graphicGui/btBookmarksA-on.png");
QPixmap pxmapOff(":/graphicGui/btBookmarksA-off.png"
);
btShowBookmarks = new StelButton(NULL, pxmapOn, pxma
pOff, pxmapGlow32x32, "actionShow_Bookmarks_Window_Global");
}
getButtonBar()->addButton(btShowBookmarks, "060-othersGroup"
);
} else {
getButtonBar()->hideButton("actionShow_Bookmarks_Window_Glob
al");
}
flagShowBookmarksButton = b;
if (initDone) {
skyGui->updateBarsPos();
}
}
// Define whether the button toggling TOAST survey images should be visible
void StelGui::setFlagShowToastSurveyButton(bool b)
{
if (b==true) {
if (btShowToastSurvey==NULL) {
// Create the nebulae background button
QPixmap pxmapGlow32x32(":/graphicGui/glow32x32.png")
;
QPixmap pxmapOn(":/graphicGui/btToastSurvey-on.png")
;
QPixmap pxmapOff(":/graphicGui/btToastSurvey-off.png
");
btShowToastSurvey = new StelButton(NULL, pxmapOn, px
mapOff, pxmapGlow32x32, "actionShow_Toast_Survey");
}
getButtonBar()->addButton(btShowToastSurvey, "040-nebulaeGro
up");
} else {
getButtonBar()->hideButton("actionShow_Toast_Survey");
}
flagShowToastSurveyButton = b;
} }
void StelGui::setFlagShowDecimalDegrees(bool b) void StelGui::setFlagShowDecimalDegrees(bool b)
{ {
StelApp::getInstance().setFlagShowDecimalDegrees(b); StelApp::getInstance().setFlagShowDecimalDegrees(b);
if (searchDialog->visible()) if (searchDialog->visible())
{ {
// Update format of input fields if Search Dialog is open // Update format of input fields if Search Dialog is open
searchDialog->populateCoordinateAxis(); searchDialog->populateCoordinateAxis();
} }
skipping to change at line 768 skipping to change at line 835
bool StelGui::getFlagShowFlipButtons() const bool StelGui::getFlagShowFlipButtons() const
{ {
return flagShowFlipButtons; return flagShowFlipButtons;
} }
bool StelGui::getFlagShowNebulaBackgroundButton() const bool StelGui::getFlagShowNebulaBackgroundButton() const
{ {
return flagShowNebulaBackgroundButton; return flagShowNebulaBackgroundButton;
} }
bool StelGui::getFlagShowToastSurveyButton() const
{
return flagShowToastSurveyButton;
}
bool StelGui::getFlagShowBookmarksButton() const
{
return flagShowBookmarksButton;
}
bool StelGui::initComplete(void) const bool StelGui::initComplete(void) const
{ {
return initDone; return initDone;
} }
void StelGui::forceRefreshGui() void StelGui::forceRefreshGui()
{ {
skyGui->updateBarsPos(); skyGui->updateBarsPos();
} }
skipping to change at line 800 skipping to change at line 877
void StelGui::setGuiVisible(bool b) void StelGui::setGuiVisible(bool b)
{ {
setVisible(b); setVisible(b);
} }
StelAction* StelGui::getAction(const QString& actionName) StelAction* StelGui::getAction(const QString& actionName)
{ {
return StelApp::getInstance().getStelActionManager()->findAction(act ionName); return StelApp::getInstance().getStelActionManager()->findAction(act ionName);
} }
/* ************************************************************************
****************************************** */
#if 0
#pragma mark -
#pragma mark Process changes from the ConstellationMgr
#endif
/* ************************************************************************
****************************************** */
/* ************************************************************************
****************************************** */
#if 0
#pragma mark -
#pragma mark Process changes from the GridLinesMgr
#endif
/* ************************************************************************
****************************************** */
/* ************************************************************************
****************************************** */
#if 0
#pragma mark -
#pragma mark Process changes from the GridLinesMgr
#endif
/* ************************************************************************
****************************************** */
void StelGui::copySelectedObjectInfo(void) void StelGui::copySelectedObjectInfo(void)
{ {
QGuiApplication::clipboard()->setText(skyGui->infoPanel->getSelected Text()); QGuiApplication::clipboard()->setText(skyGui->infoPanel->getSelected Text());
} }
bool StelGui::getAstroCalcVisible() bool StelGui::getAstroCalcVisible()
{ {
return astroCalcDialog && astroCalcDialog->visible(); return astroCalcDialog && astroCalcDialog->visible();
} }
 End of changes. 12 change blocks. 
35 lines changed or deleted 98 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/