void CalendarCell::showEntryDialog() { WString title = tr("calendar.entry.title").arg(date_.toString("ddd, d MMM yyyy")); EntryDialog* ed = new EntryDialog(title, this); ed->show(); }
int Entry::open_new_dialog() { EntryDialog * dialog = new EntryDialog(); dialog->set_entry(this); dialog->show(); dialog->hasFocus(); return dialog->exec(); }