obj:/targets/FREMANTLE_X86/opt/lib/libQtWebKit.so.4.6.2
obj:/targets/FREMANTLE_X86/opt/lib/libQtWebKit.so.4.6.2
}
-
-
-
+{
+ TransWrite_at_X11
+ Memcheck:Param
+ write(buf)
+ obj:/targets/FREMANTLE_X86/lib/libpthread-2.5.so
+ fun:_X11TransWrite
+ obj:/targets/FREMANTLE_X86/usr/lib/libX11.so.6.2.0
+ fun:_XReply
+ fun:XGetWindowProperty
+ obj:/targets/FREMANTLE_X86/opt/lib/libQtGui.so.4.6.2
+ obj:/targets/FREMANTLE_X86/opt/lib/libQtGui.so.4.6.2
+ obj:/targets/FREMANTLE_X86/opt/lib/libQtGui.so.4.6.2
+ obj:/targets/FREMANTLE_X86/opt/lib/libQtGui.so.4.6.2
+ fun:_ZN12QApplicationD1Ev
+ fun:main
+}
m_friendsPanelTransitionOpen = m_friendsPanelStateClosed->addTransition(
m_friendsPanelExpandButton, SIGNAL(clicked()), m_friendsPanelStateOpened);
- m_friendsPanelTransitionOpen->addAnimation(new QPropertyAnimation(this, "pos"));
+ m_friendsPanelTransitionOpen->addAnimation(new QPropertyAnimation(this, "pos", this));
m_friendsPanelTransitionClose = m_friendsPanelStateOpened->addTransition(
m_friendsPanelExpandButton, SIGNAL(clicked()), m_friendsPanelStateClosed);
- m_friendsPanelTransitionClose->addAnimation(new QPropertyAnimation(this, "pos"));
+ m_friendsPanelTransitionClose->addAnimation(new QPropertyAnimation(this, "pos", this));
m_friendsPanelStateMachine->start();
}
QHBoxLayout *mapViewLayout = new QHBoxLayout;
- //DEBUG
-// QVBoxLayout *mapControlLayout = new QVBoxLayout;
-// QWidget *mapControl = new QWidget(this);
-// mapControl->setLayout(mapControlLayout);
-// search = new QPushButton("Search", this);
-// zoomOut = new QPushButton("-", this);
-// zoomIn = new QPushButton("+", this);
-// mapControlLayout->addWidget(&latLine);
-// mapControlLayout->addWidget(&lonLine);
-// mapControlLayout->addWidget(search);
-// mapControlLayout->addWidget(zoomIn);
-// mapControlLayout->addWidget(zoomOut);
-// mapViewLayout->addWidget(mapControl);
-// connect(search, SIGNAL(clicked()), this, SLOT(searchMap()));
-// connect(zoomIn, SIGNAL(clicked()), mapEngine, SLOT(zoomIn()));
-// connect(zoomOut, SIGNAL(clicked()), mapEngine, SLOT(zoomOut()));
- //DEBUG
osmLicense = new QLabel(this);
osmLicense->setAttribute(Qt::WA_TranslucentBackground, true);
void MapViewScreen::drawOsmLicense(int width, int height)
{
- qWarning() << __PRETTY_FUNCTION__ << width << "x" << height;
+ qDebug() << __PRETTY_FUNCTION__ << width << "x" << height;
osmLicense->move(width - osmLicense->fontMetrics().width(OSM_LICENSE) - PANEL_PEEK_AMOUNT,
height - osmLicense->fontMetrics().height());
}
void PanelSideBar::reDrawSidebar(int width, int height)
{
+ Q_UNUSED(height);
qDebug() << __PRETTY_FUNCTION__;
- if(this->objectName() == "left");
- this->move(width-21,0);
+ if(this->objectName() == "SidePanelRight") {
+ this->move(width-21,0);
+ }
}
m_userPanelVBox->addWidget(m_userPanelLabel);
// this->setAutoFillBackground(true);
-// this->setAttribute(Qt::WA_TranslucentBackground);
-// this->setWindowOpacity(0.5); //DEFUNCT
-
-// QPalette userPanelPalette;
-// userPanelPalette.setBrush(this->backgroundRole(),
-// QBrush(QImage(":/res/personal_info_bckgrnd.png")));
-// this->setPalette(userPanelPalette);
m_userPanelStateMachine = new QStateMachine(this);
m_userPanelStateClosed = new QState(m_userPanelStateMachine);
m_userPanelTransitionOpen = m_userPanelStateClosed->addTransition(
m_userPanelExpandButton, SIGNAL(clicked()), m_userPanelStateOpened);
- m_userPanelTransitionOpen->addAnimation(new QPropertyAnimation(this, "pos"));
+ m_userPanelTransitionOpen->addAnimation(new QPropertyAnimation(this, "pos", this));
m_userPanelTransitionClose = m_userPanelStateOpened->addTransition(
m_userPanelExpandButton, SIGNAL(clicked()), m_userPanelStateClosed);
- m_userPanelTransitionClose->addAnimation(new QPropertyAnimation(this, "pos"));
+ m_userPanelTransitionClose->addAnimation(new QPropertyAnimation(this, "pos", this));
m_userPanelStateMachine->start();
this->setObjectName("UserPanel");