PDA

View Full Version : Clicking Instance problem..



anshumanBorah
18th April 2011, 07:05
I want to interact with each cell of the calender by clicking it…on first click it will display the information of that cell such as weeks n year for that cell in the textbrowser in the same dialog but on again clicking on the same cell after first click i will move to the another dialog..so is it possible to do that…and not for one cell but for each cell individually

Anshuman
18th April 2011, 09:27
weather i can use the same cell IN CALENDER WIDGET for two clicking instance that means if i click once it will show information on textbrowser…AND when i click again it move to the another dialog n both click is done one after another...

i had write code for that but the problem is that..at first click it will show information on textbrowser but after that i hv to double the cell to perform next operation...


connect(ui->calendarWidget,SIGNAL(clicked(QDate)),this,SLOT(sh owDate(QDate)));
connect(ui->calendarWidget,SIGNAL(activated(QDate)),this,SLOT( showset()));

}
void SeeCycleM::showDate(QDate date)
{
ui->lineEdit->setText(date.toString());
}
void SeeCycleM::showset()
{

SetCycleM a(this);
connect(&a,SIGNAL(setclicked()),this,SLOT(setcolors()));
connect(&a,SIGNAL(unsetClicked()),this,SLOT(unsetColors())) ;
a.show();
a.exec();
}

high_flyer
18th April 2011, 09:47
Please don't double post.
And why do you use two user names?
What possible advantage you think it will give you??

Anshuman
18th April 2011, 13:52
sorry for that...

actually i want to delete that account but dont know hw to do it..so if u can help me in that than please suggest ur view..

high_flyer
18th April 2011, 16:24
You can send a PM to one of the site admins requesting the account deletion.
But as long as its not deleted, just don't use it.