AngleMeasureDialog.cpp   AngleMeasureDialog.cpp 
skipping to change at line 20 skipping to change at line 20
* *
* 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, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "config.h"
#include "AngleMeasure.hpp" #include "AngleMeasure.hpp"
#include "AngleMeasureDialog.hpp" #include "AngleMeasureDialog.hpp"
#include "ui_angleMeasureDialog.h" #include "ui_angleMeasureDialog.h"
#include "StelApp.hpp" #include "StelApp.hpp"
#include "StelLocaleMgr.hpp" #include "StelLocaleMgr.hpp"
#include "StelModule.hpp" #include "StelModule.hpp"
#include "StelModuleMgr.hpp" #include "StelModuleMgr.hpp"
AngleMeasureDialog::AngleMeasureDialog() AngleMeasureDialog::AngleMeasureDialog()
skipping to change at line 56 skipping to change at line 54
ui->retranslateUi(dialog); ui->retranslateUi(dialog);
setAboutHtml(); setAboutHtml();
} }
} }
void AngleMeasureDialog::createDialogContent() void AngleMeasureDialog::createDialogContent()
{ {
am = GETSTELMODULE(AngleMeasure); am = GETSTELMODULE(AngleMeasure);
ui->setupUi(dialog); ui->setupUi(dialog);
#ifdef Q_OS_WIN
//Kinetic scrolling for tablet pc and pc //Kinetic scrolling for tablet pc and pc
QList<QWidget *> addscroll; QList<QWidget *> addscroll;
addscroll << ui->aboutTextBrowser; addscroll << ui->aboutTextBrowser;
installKineticScrolling(addscroll); installKineticScrolling(addscroll);
#endif
connect(&StelApp::getInstance(), SIGNAL(languageChanged()), this, SL OT(retranslate())); connect(&StelApp::getInstance(), SIGNAL(languageChanged()), this, SL OT(retranslate()));
connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ; connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ;
ui->useDmsFormatCheckBox->setChecked(am->isDmsFormat()); ui->useDmsFormatCheckBox->setChecked(am->isDmsFormat());
connect(ui->useDmsFormatCheckBox, SIGNAL(toggled(bool)), am, SLOT(us eDmsFormat(bool))); connect(ui->useDmsFormatCheckBox, SIGNAL(toggled(bool)), am, SLOT(us eDmsFormat(bool)));
ui->showPositionAngleCheckBox->setChecked(am->isPaDisplayed()); ui->showPositionAngleCheckBox->setChecked(am->isPaDisplayed());
connect(ui->showPositionAngleCheckBox, SIGNAL(toggled(bool)), am, SL OT(showPositionAngle(bool))); connect(ui->showPositionAngleCheckBox, SIGNAL(toggled(bool)), am, SL OT(showPositionAngle(bool)));
ui->showPositionAngleHorizontalCheckBox->setChecked(am->isHorPaDispl ayed()); ui->showPositionAngleHorizontalCheckBox->setChecked(am->isHorPaDispl ayed());
connect(ui->showPositionAngleHorizontalCheckBox, SIGNAL(toggled(bool )), am, SLOT(showPositionAngleHor(bool))); connect(ui->showPositionAngleHorizontalCheckBox, SIGNAL(toggled(bool )), am, SLOT(showPositionAngleHor(bool)));
 End of changes. 3 change blocks. 
2 lines changed or deleted 2 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/