|
|
|
@ -225,7 +225,7 @@ void TopLevel::showEvent ( TQShowEvent * )
|
|
|
|
|
/** Handle mousePressEvent */
|
|
|
|
|
void TopLevel::mousePressEvent(TQMouseEvent *event)
|
|
|
|
|
{
|
|
|
|
|
if (event->button() == Qt::LeftButton) {
|
|
|
|
|
if (event->button() == TQt::LeftButton) {
|
|
|
|
|
if (ready) {
|
|
|
|
|
stop(); // reset tooltip and stop animation
|
|
|
|
|
} else {
|
|
|
|
@ -234,7 +234,7 @@ void TopLevel::mousePressEvent(TQMouseEvent *event)
|
|
|
|
|
else
|
|
|
|
|
start_menu->popup(TQCursor::pos());
|
|
|
|
|
}
|
|
|
|
|
} else if (event->button() == Qt::RightButton)
|
|
|
|
|
} else if (event->button() == TQt::RightButton)
|
|
|
|
|
menu->popup(TQCursor::pos());
|
|
|
|
|
// else if (event->button() == MidButton) // currently unused
|
|
|
|
|
}
|
|
|
|
@ -682,7 +682,7 @@ void TopLevel::config()
|
|
|
|
|
|
|
|
|
|
/* left side - tea list and list-modifying buttons */
|
|
|
|
|
TQBoxLayout *leftside = new TQVBoxLayout(box);
|
|
|
|
|
TQGroupBox *listgroup = new TQGroupBox(2,Qt::Vertical, i18n("Tea List"), page);
|
|
|
|
|
TQGroupBox *listgroup = new TQGroupBox(2,TQt::Vertical, i18n("Tea List"), page);
|
|
|
|
|
leftside->addWidget(listgroup, 0, 0);
|
|
|
|
|
|
|
|
|
|
listbox = new TQListView(listgroup, "listBox");
|
|
|
|
@ -729,7 +729,7 @@ void TopLevel::config()
|
|
|
|
|
|
|
|
|
|
/* right side - tea properties */
|
|
|
|
|
TQBoxLayout *rightside = new TQVBoxLayout(box);
|
|
|
|
|
editgroup = new TQGroupBox(2,Qt::Vertical, i18n("Tea Properties"), page);
|
|
|
|
|
editgroup = new TQGroupBox(2,TQt::Vertical, i18n("Tea Properties"), page);
|
|
|
|
|
rightside->addWidget(editgroup, 0, 0);
|
|
|
|
|
TQHBox *propbox = new TQHBox(editgroup);
|
|
|
|
|
|
|
|
|
@ -751,7 +751,7 @@ void TopLevel::config()
|
|
|
|
|
connect(timeEdit, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(spinBoxValueChanged(int)));
|
|
|
|
|
|
|
|
|
|
/* bottom - timeout actions */
|
|
|
|
|
TQGroupBox *actiongroup = new TQGroupBox(4,Qt::Vertical, i18n("Action"), page);
|
|
|
|
|
TQGroupBox *actiongroup = new TQGroupBox(4,TQt::Vertical, i18n("Action"), page);
|
|
|
|
|
top_box->addWidget(actiongroup, 0, 0);
|
|
|
|
|
|
|
|
|
|
TQWidget *actionconf_widget = new TQWidget(actiongroup);
|
|
|
|
|