[Qt-interest] Hide the first column of QTableView about line number

Mhayk Whandson eu at mhayk.com.br
Thu Jul 16 21:41:03 CEST 2009


Thank you!!!



On Thu, Jul 16, 2009 at 3:33 PM, Eric Clark<eclark at ara.com> wrote:
> That is the vertical header. Do this:
>
> yourTableView->verticalHeader()->hide();
>
> Eric
>
> -----Original Message-----
> From: mhaykwhandson at gmail.com [mailto:mhaykwhandson at gmail.com] On Behalf Of Mhayk Whandson
> Sent: Thursday, July 16, 2009 2:32 PM
> To: Eric Clark
> Cc: Qt Interest (qt-interest at trolltech.com)
> Subject: Re: [Qt-interest] Hide the first column of QTableView about line number
>
> The QTableView put a first column that is a column row number, so, I
> would like to remove this first column.
>
> best regards,
>
> On Thu, Jul 16, 2009 at 3:13 PM, Eric Clark<eclark at ara.com> wrote:
>> Or are you talking about the vertical header on the left side of the table?
>>
>> -----Original Message-----
>> From: mhaykwhandson at gmail.com [mailto:mhaykwhandson at gmail.com] On Behalf Of Mhayk Whandson
>> Sent: Thursday, July 16, 2009 2:10 PM
>> To: Eric Clark
>> Cc: Qt Interest (qt-interest at trolltech.com)
>> Subject: Re: [Qt-interest] Hide the first column of QTableView about line number
>>
>> Hello Eric, the method setColumnHidden just hide the model's columns,
>> my problem is to hide the line number column of QTableView.
>>
>> best regards.
>>
>> On Thu, Jul 16, 2009 at 2:58 PM, Eric Clark<eclark at ara.com> wrote:
>>> Try this http://doc.qtsoftware.com/4.5/qtableview.html#setColumnHidden
>>>
>>>
>>> -----Original Message-----
>>> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Mhayk Whandson
>>> Sent: Thursday, July 16, 2009 1:36 PM
>>> To: qt-interest at trolltech.com
>>> Subject: [Qt-interest] Hide the first column of QTableView about line number
>>>
>>> Hi all,
>>>
>>> I am tryng to hide de first column about line number of QTableView,
>>> could you help me ?
>>>
>>> best regards,
>>>
>>> --
>>> Mhayk Whandson
>>> Linux User #413723
>>> E-mail: eu at mhayk.com.br
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>>
>>
>>
>> --
>> Mhayk Whandson
>> Linux User #413723
>> E-mail: eu at mhayk.com.br
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>
>
>
> --
> Mhayk Whandson
> Linux User #413723
> E-mail: eu at mhayk.com.br
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Mhayk Whandson
Linux User #413723
E-mail: eu at mhayk.com.br



More information about the Qt-interest-old mailing list