Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, January 2007
QDataTable to bloquer modified value (Qt3)


Message 1 in thread

People, I have a QDataTable, I would like that when a value of the
QDataTable was modified, the user I could not more modify, these
values I am white.

Here he is form.

http://200.193.29.195/qt3/form.png

In the case above, if the user modified value e if it tried to modify
an error message again would be shown. It would like to make this for
the application and not for the database.

It is possible to block this with the QDataTable.

Cris

--
 [ signature omitted ] 

Message 2 in thread

Staff,

is doubt must be estupid, plus somebody could help-me.

Cris

On 1/24/07, Cristiano Panvel <cristiano.panvel@xxxxxxxxx> wrote:
> People, I have a QDataTable, I would like that when a value of the
> QDataTable was modified, the user I could not more modify, these
> values I am white.
>
> Here he is form.
>
> http://200.193.29.195/qt3/form.png
>
> In the case above, if the user modified value e if it tried to modify
> an error message again would be shown. It would like to make this for
> the application and not for the database.
>
> It is possible to block this with the QDataTable.
>
> Cris
>

--
 [ signature omitted ] 

Message 3 in thread

Hello,

You can use the property updateCurrent() of the QDataTable.
	
Or to try something thus,

if ( dataTable->QTable::selection(1).isEmpty() )
{
                qDebug("Test");
                return;
}

Good luck,

Eder.

On 1/26/07, Cristiano Panvel <cristiano.panvel@xxxxxxxxx> wrote:
> Staff,
>
> is doubt must be estupid, plus somebody could help-me.
>
> Cris
>
> On 1/24/07, Cristiano Panvel <cristiano.panvel@xxxxxxxxx> wrote:
> > People, I have a QDataTable, I would like that when a value of the
> > QDataTable was modified, the user I could not more modify, these
> > values I am white.
> >
> > Here he is form.
> >
> > http://200.193.29.195/qt3/form.png
> >
> > In the case above, if the user modified value e if it tried to modify
> > an error message again would be shown. It would like to make this for
> > the application and not for the database.
> >
> > It is possible to block this with the QDataTable.
> >
> > Cris
> >
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>


-- 
 [ signature omitted ] 

Message 4 in thread

I am trying to use updateCurrent() more is giving error !!!

As I make to have access the protecting property.

dataTable->updateCurrent();

Cris.

On 1/26/07, Eder <ederbs.commit@xxxxxxxxx> wrote:
> Hello,
>
> You can use the property updateCurrent() of the QDataTable.
>
> Or to try something thus,
>
> if ( dataTable->QTable::selection(1).isEmpty() )
> {
>                 qDebug("Test");
>                 return;
> }
>
> Good luck,
>
> Eder.
>
> On 1/26/07, Cristiano Panvel <cristiano.panvel@xxxxxxxxx> wrote:
> > Staff,
> >
> > is doubt must be estupid, plus somebody could help-me.
> >
> > Cris
> >
> > On 1/24/07, Cristiano Panvel <cristiano.panvel@xxxxxxxxx> wrote:
> > > People, I have a QDataTable, I would like that when a value of the
> > > QDataTable was modified, the user I could not more modify, these
> > > values I am white.
> > >
> > > Here he is form.
> > >
> > > http://200.193.29.195/qt3/form.png
> > >
> > > In the case above, if the user modified value e if it tried to modify
> > > an error message again would be shown. It would like to make this for
> > > the application and not for the database.
> > >
> > > It is possible to block this with the QDataTable.
> > >
> > > Cris
> > >
> >
> > --
> > To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> > List archive and information: http://lists.trolltech.com/qt-interest/
> >
> >
>
>
> --
> Ederson de Moura
> Unix is very simple, but it takes a genius to understand the simplicity.
> (Dennis Ritchie)
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

--
 [ signature omitted ]