what will be the coding for Menu->File->open
hi all
i m working on QT4.2 on Mac
so can anyone help to solve out my query
i m attaching my form
when open get activated then a dialog to choose path for directory or file to open should be opened as normally a open function do....
same for save a dailog oshould open where we can choose a path to save a file.....as save operation do..
plz do tell me its coding
as soon as possible...
Re: what will be the coding for Menu->File->open
Quote:
Originally Posted by
jyoti
as soon as possible...
As soon as possible you should read about QFileDialog (especially about QFileDialog::getOpenFileName() and QFileDialog::getSaveFileName()).
PS. This has nothing to do with Qt Designer. Thread moved.
Re: what will be the coding for Menu->File->open
thanks alot...i ws useful
can u plz tell for undo,cut, copy, paste
plz tell in coding part
as i m using textedit on menu window
void form1::mycut()
{
textEdit->
}
void form1::mycopy()
{
}
void form1::mypaste()
{
}
plz send reply as soon as possible
Re: what will be the coding for Menu->File->open
Please, don't post two unrelated questions in one thread. I've moved the rest of the posts about cut & paste here.