SkyGui.cpp   SkyGui.cpp 
skipping to change at line 17 skipping to change at line 17
* as published by the Free Software Foundation; either version 2 * as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version. * of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#include "SkyGui.hpp" #include "SkyGui.hpp"
#include "StelGuiItems.hpp" #include "StelGuiItems.hpp"
#include "StelApp.hpp" #include "StelApp.hpp"
#include "StelGui.hpp" #include "StelGui.hpp"
#include <QGraphicsView> #include <QGraphicsView>
#include <QDebug> #include <QDebug>
#include <QTimeLine> #include <QTimeLine>
#include <QGraphicsSceneMouseEvent> #include <QGraphicsSceneMouseEvent>
skipping to change at line 64 skipping to change at line 64
document()->clear(); document()->clear();
} }
else else
{ {
// just print details of the first item for now // just print details of the first item for now
QString s = selected[0]->getInfoString(StelApp::getInstance( ).getCore(), infoTextFilters); QString s = selected[0]->getInfoString(StelApp::getInstance( ).getCore(), infoTextFilters);
setHtml(s); setHtml(s);
} }
} }
const QString InfoPanel::getSelectedText(void)
{
return toPlainText();
}
SkyGui::SkyGui(QGraphicsItem * parent): QGraphicsWidget(parent), stelGui(NU LL) SkyGui::SkyGui(QGraphicsItem * parent): QGraphicsWidget(parent), stelGui(NU LL)
{ {
setObjectName("StelSkyGui"); setObjectName("StelSkyGui");
// Construct the Windows buttons bar // Construct the Windows buttons bar
winBar = new LeftStelBar(this); winBar = new LeftStelBar(this);
// Construct the bottom buttons bar // Construct the bottom buttons bar
buttonBar = new BottomStelBar(this, QPixmap(":/graphicGui/btbg-left. png"), QPixmap(":/graphicGui/btbg-right.png"), buttonBar = new BottomStelBar(this, QPixmap(":/graphicGui/btbg-left. png"), QPixmap(":/graphicGui/btbg-right.png"),
QPixmap(": /graphicGui/btbg-middle.png"), QPixmap(":/graphicGui/btbg-single.png")); QPixmap(": /graphicGui/btbg-middle.png"), QPixmap(":/graphicGui/btbg-single.png"));
infoPanel = new InfoPanel(this); infoPanel = new InfoPanel(this);
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 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/