|
|
2011-07-22
, 18:48
|
|
Posts: 58 |
Thanked: 31 times |
Joined on Nov 2010
|
#62
|
It means that if I code the "slideToUnlock" widget then it can be used in the lockscreen by adding it to the configuration file.
. So yeah good work!|
|
2011-07-22
, 18:50
|
|
Posts: 212 |
Thanked: 66 times |
Joined on May 2010
@ India
|
#63
|
|
|
2011-07-22
, 18:51
|
|
|
Posts: 533 |
Thanked: 1,341 times |
Joined on Dec 2010
@ Italy
|
#64
|
@sakya : as pusak and others asked about a GUI , dude you can ask any one to help you making a GUI .
or is there any other issue/reason , we wont be able to see a GUI ?

I have added ForecaWeatherApplet as widget16
| The Following 2 Users Say Thank You to sakya For This Useful Post: | ||
|
|
2011-07-22
, 18:56
|
|
Posts: 309 |
Thanked: 456 times |
Joined on Jan 2010
|
#65
|
|
|
2011-07-22
, 18:57
|
|
|
Posts: 1,444 |
Thanked: 461 times |
Joined on Dec 2010
@ pakistan
|
#66
|

|
|
2011-07-22
, 19:05
|
|
|
Posts: 533 |
Thanked: 1,341 times |
Joined on Dec 2010
@ Italy
|
#67
|
class LsUnlockButton : virtual public LsButton
{
Q_OBJECT
public:
LsUnlockButton(QString name="");
void applySettings();
void pressed();
void released();
void clicked();
private:
int m_Wait;
QTimer* m_Timer;
private slots:
void onTimer();
};
LsUnlockButton::LsUnlockButton(QString name) :
LsButton(name.isEmpty() ? "UnlockButton": name)
{
m_Timer = new QTimer(this);
applySettings();
}
void LsUnlockButton::applySettings()
{
m_Wait = getSetting("WaitTimeMsec", 1000).toInt();
m_Bkg = QPixmap(getSetting("BackGroundImage", ":/images/unlock.png").toString());
m_BkgPressed = QPixmap(getSetting("BackGroundImagePressed", ":/images/unlockPressed.png").toString());
m_BkgPressed = m_BkgPressed.scaled(m_Bkg.size());
setSizeAndPosition(m_Bkg.size(), QPoint(0, 0));
connect(m_Timer, SIGNAL(timeout()), this, SLOT(onTimer()));
}
void LsUnlockButton::pressed()
{
m_Timer->stop();
m_Timer->setInterval(m_Wait);
m_Timer->setSingleShot(true);
m_Timer->start();
}
void LsUnlockButton::clicked()
{
}
void LsUnlockButton::released()
{
m_Timer->stop();
}
void LsUnlockButton::onTimer()
{
qDebug() << "UnlockButton clicked";
mouseReleaseEvent(NULL);
#ifdef Q_WS_MAEMO_5
if (isUnderMouse()){
QDBusInterface lockScreen("com.nokia.mce", "/com/nokia/mce/request", "com.nokia.mce.request", QDBusConnection::systemBus(), this);
lockScreen.call("req_tklock_mode_change", "unlocked");
}
#else
if (isUnderMouse())
qApp->quit();
#endif
}
|
|
2011-07-22
, 19:30
|
|
Posts: 147 |
Thanked: 7 times |
Joined on Aug 2010
|
#68
|
|
|
2011-07-22
, 20:10
|
|
Posts: 36 |
Thanked: 28 times |
Joined on Jul 2011
@ Germany
|
#69
|
|
|
2011-07-22
, 20:31
|
|
|
Posts: 1,444 |
Thanked: 461 times |
Joined on Dec 2010
@ pakistan
|
#70
|
Hello...
can anyone tell the path to the images like Battery, UnreadSMS, UnreadEmails and MissedCalls?
i changed it to my own directory, but icons was missing, just text was there...
and how i can change the language of notifications?
or is there any other issue/reason , we wont be able to see a GUI ?
Every hero becomes a bore at last.
www.itechiapk.com