| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 5 | |
hi all plz give me the solution for my problem 1--->i have one tablewidget each table have vertical header and horizontal header 2--->in horizontal header (col 0) name is ImageType and in horizontal header (col 1) Extention 3--->Now verticalheaderitem(0) is one icon and row(0)col(0) i have "Nikon" (that is inserted by code) & checkbox and in row(0)col(1) its having "Png" (inserted by coding) MyProblem is: i want to increase the height and width of verticalheaderitem(0) which is an icon and icon height should be as same as cell height is like my cell height is 30 icon height should be same 30 and width should be half of the width of cell width and my form name is imageselect an my function name is tableitems() and i have toolbutton(in another mainwindow form) "openimageselect" in my toolbar as i click this button the imageselect (dialog form) opened i ll thankfull to you thanks & regards ------------------------ Jyoti Verma jyoti.verma@xxxxxxxxxxxxxxx
Hi, How is this post different from your pevious post? -- [ signature omitted ]
Dimitri schrieb: > Hi, > > How is this post different from your pevious post? It is marked as URGENT ;) Probably one of those "I have no clue but it needs to be finished before 2007"-projects... Well, I can only speak for myself, but *I* am not in a hurry, at least not THIS year anymore. ;-) Happy New Year to you all!, Oliver -- [ signature omitted ]
On Thursday 28 December 2006 12:46, Jyoti Verma wrote: > hi all > plz give me the solution for my problem ..so mod me down, I don't care... ;-) Your first step would be to read: http://catb.org/~esr/faqs/smart-questions.html in particular: http://catb.org/~esr/faqs/smart-questions.html#writewell and http://catb.org/~esr/faqs/smart-questions.html#urgent Konrad
Attachment:
Attachment:
pgpq9TzxWGBnK.pgp
Attachment:
Attachment:
pgpvclmEbA0JX.pgp
Description: PGP signature
Message 5 in thread
Uh oh... Did someone forget to do their homework on time?
Scott
________________________________
From: Jyoti Verma [mailto:jyoti.verma@xxxxxxxxxxxxxxx]
Sent: Thursday, December 28, 2006 3:47 AM
To: Qt Interest List
Subject: URGENT:how to set image in tableWidget's verticalheader
hi all
plz give me the solution for my problem
1--->i have one tablewidget
each table have vertical header and horizontal header
2--->in horizontal header (col 0) name is ImageType and in horizontal
header (col 1) Extention
3--->Now verticalheaderitem(0) is one icon and row(0)col(0) i have
"Nikon" (that is inserted by code) & checkbox and in row(0)col(1) its
having "Png" (inserted by coding)
MyProblem is:
i want to increase the height and width of verticalheaderitem(0) which
is an icon and icon height should be as same as cell height is like my
cell height is 30 icon height should be same 30 and width should be half
of the width of cell width
and my form name is imageselect an my function name is tableitems()
and i have toolbutton(in another mainwindow form) "openimageselect" in
my toolbar
as i click this button the imageselect (dialog form) opened
i ll thankfull to you
thanks & regards
------------------------
Jyoti Verma
jyoti.verma@xxxxxxxxxxxxxxx
Message 6 in thread
Hi Jyoti,
if you had read and understood my link, you could have your answer already.
On Thursday 28 December 2006 12:46, Jyoti Verma wrote:
> hi all
good: you know how to greet.
bad: you don't know how to spell, or
worse: you don't care to spell correctly
Since your company (stellarinfo.com) is located in the UK, I have to assume
that (other than most of us) you are a native speaker of English (or at the
very least you have more opportunity to train English) and you just don't
care.
> plz give me the solution for my problem
First off: I tried to find the word "plz" in my dictionaries. I did not find
it. It is definitely not English, nor does it seem to be a transliteration
of Latin or Russian. I don't have any French or Chinese dictionaries, but I
somehow doubt it would be in there - it does not fit the language.
I did however find a similar word in my Egyptian dictionary (old Egyptian!),
but I've got to tell you that the correct transliteration of "Peleset" is
"plst" and I really don't understand what you mean with it in the context
("Peleset" means "Philister" or "people of the sea").
Since no philisters are on this list it is very doubtful that you could get
your solution from one of them. Even if there were philisters here they
usually do not take kindly to what (in their language) sounds like a
demand. Neither do we.
[cutting crap]
Your description is not usable. Period.
But from the little I understood I think it is solvable (I'm just looking at
the documentation).
If you'd like to have your answer:
1) Cut the crap. Your problem is not urgent. Period. If it was, your company
would pay Trolltech or one of those hundreds of consultants to solve it.
2) Spell correctly. Or I will continue to use my Egyptian dictionary on you
instead of my English dictionary... ;-)
(This idea is starting to sound funny!)
3) Tell us what you have tried so far. As far as we can see you did not make
any effort to solve your problem yourself, so you did not earn our time to
solve it for you. (I can't believe I'm taking the time to write this down!)
4) Post some minimal compilable code that shows your problem.
Konrad
Description: PGP signature
Message 7 in thread
Konrad Rosenbaum schrieb:
> Hi Jyoti,
> ...
> Since no philisters are on this list it is very doubtful that you could get
> your solution from one of them.
Hehe, you made my day ;)
Cheers, Oliver
--
[ signature omitted ]
Message 8 in thread
First, using words like urgent, are a flame attractor. And frankly,
comes off as quite immature, especially, when you don't explain any
reason why its urgent.
Second. You didn't clearly state what your specific problem is. Maybe
you did and I missed it in your description, but I found your problem
assessment extremely diffucult to read, let alone understand. You
listed a complete project definition, and not where you are stuck.
I have been on this list for 4 years or so, and try to help whenever I
can. But when the request comes off like yours, I just wish for a
moderated list.
Scott
________________________________
From: Jyoti Verma [mailto:jyoti.verma@xxxxxxxxxxxxxxx]
Sent: Thursday, December 28, 2006 9:03 PM
To: Scott Aron Bloom
Subject: Re: URGENT:how to set image in tableWidget's verticalheader
i just used the URGENT word u all people started to speak blah blah
i think u all have to concentrate on a problem not to only SUBJECT LINE
if u ll solve my problem then i will find you all people Wht you are wht
u can do??/
let see firstly solve it..
On 28-Dec-06, at 10:07 PM, Scott Aron Bloom wrote:
Uh oh... Did someone forget to do their homework on time?
Scott
________________________________
From: Jyoti Verma [mailto:jyoti.verma@xxxxxxxxxxxxxxx]
Sent: Thursday, December 28, 2006 3:47 AM
To: Qt Interest List
Subject: URGENT:how to set image in tableWidget's verticalheader
hi all
plz give me the solution for my problem
1--->i have one tablewidget
each table have vertical header and horizontal header
2--->in horizontal header (col 0) name is ImageType and in horizontal
header (col 1) Extention
3--->Now verticalheaderitem(0) is one icon and row(0)col(0) i have
"Nikon" (that is inserted by code) & checkbox and in row(0)col(1) its
having "Png" (inserted by coding)
MyProblem is:
i want to increase the height and width of verticalheaderitem(0) which
is an icon and icon height should be as same as cell height is like my
cell height is 30 icon height should be same 30 and width should be half
of the width of cell width
and my form name is imageselect an my function name is tableitems()
and i have toolbutton(in another mainwindow form) "openimageselect" in
my toolbar
as i click this button the imageselect (dialog form) opened
i ll thankfull to you
thanks & regards
------------------------
Jyoti Verma
jyoti.verma@xxxxxxxxxxxxxxx <mailto:jyoti.verma@xxxxxxxxxxxxxxx>
thanks & regards
------------------------
Jyoti Verma
jyoti.verma@xxxxxxxxxxxxxxx
Message 9 in thread
I just read it again... And Im still NOT sure where you are stuck!
Yes, I understand, you are trying to make the header the same size as
your icons. But what have you tried so far? Whats not working, is the
icon clipped, is the header too big? Too small?
So... Explain what you have done. What you have working, what is NOT
working. Not what the project specification is.
Scott
________________________________
From: Jyoti Verma [mailto:jyoti.verma@xxxxxxxxxxxxxxx]
Sent: Thursday, December 28, 2006 10:12 PM
To: Scott Aron Bloom
Subject: Re: URGENT:how to set image in tableWidget's verticalheader
no you had missed it
i clearly mentioned that
MyProblem is:
in my request...and i was requesting to all of u peoples for plz help me
out not ordering you...that is your consideration hows you take it
request or order
even i also had mentioned in my query request
plz give me the solution for my problem
anyways leave it...if u know then plz (requesting you) do solve it
thanks in advance
On 29-Dec-06, at 10:51 AM, Scott Aron Bloom wrote:
First, using words like urgent, are a flame attractor. And frankly,
comes off as quite immature, especially, when you don't explain any
reason why its urgent.
Second. You didn't clearly state what your specific problem is. Maybe
you did and I missed it in your description, but I found your problem
assessment extremely diffucult to read, let alone understand. You
listed a complete project definition, and not where you are stuck.
I have been on this list for 4 years or so, and try to help whenever I
can. But when the request comes off like yours, I just wish for a
moderated list.
Scott
________________________________
From: Jyoti Verma [mailto:jyoti.verma@xxxxxxxxxxxxxxx]
Sent: Thursday, December 28, 2006 9:03 PM
To: Scott Aron Bloom
Subject: Re: URGENT:how to set image in tableWidget's verticalheader
i just used the URGENT word u all people started to speak blah blah
i think u all have to concentrate on a problem not to only SUBJECT LINE
if u ll solve my problem then i will find you all people Wht you are wht
u can do??/
let see firstly solve it..
On 28-Dec-06, at 10:07 PM, Scott Aron Bloom wrote:
Uh oh... Did someone forget to do their homework on time?
Scott
________________________________
From: Jyoti Verma [mailto:jyoti.verma@xxxxxxxxxxxxxxx
<mailto:jyoti.verma@xxxxxxxxxxxxxxx> ]
Sent: Thursday, December 28, 2006 3:47 AM
To: Qt Interest List
Subject: URGENT:how to set image in tableWidget's verticalheader
hi all
plz give me the solution for my problem
1--->i have one tablewidget
each table have vertical header and horizontal header
2--->in horizontal header (col 0) name is ImageType and in horizontal
header (col 1) Extention
3--->Now verticalheaderitem(0) is one icon and row(0)col(0) i have
"Nikon" (that is inserted by code) & checkbox and in row(0)col(1) its
having "Png" (inserted by coding)
MyProblem is:
i want to increase the height and width of verticalheaderitem(0) which
is an icon and icon height should be as same as cell height is like my
cell height is 30 icon height should be same 30 and width should be half
of the width of cell width
and my form name is imageselect an my function name is tableitems()
and i have toolbutton(in another mainwindow form) "openimageselect" in
my toolbar
as i click this button the imageselect (dialog form) opened
i ll thankfull to you
thanks & regards
------------------------
Jyoti Verma
jyoti.verma@xxxxxxxxxxxxxxx <mailto:jyoti.verma@xxxxxxxxxxxxxxx>
thanks & regards
------------------------
Jyoti Verma
jyoti.verma@xxxxxxxxxxxxxxx <mailto:jyoti.verma@xxxxxxxxxxxxxxx>
thanks & regards
------------------------
Jyoti Verma
jyoti.verma@xxxxxxxxxxxxxxx
Message 10 in thread
Since your not picking up on my subtle hints, of adding qt-interest to
my email response, Ill make it clear, STOP DIRECTLY EMAILING ME
Why not do the following:
Create a new icon that is a resize of the original, with the scaling
kept in tact... where the height is the height of the vertical header
Or set iconSize to the icon size you want.
Scott
________________________________
From: Jyoti Verma [mailto:jyoti.verma@xxxxxxxxxxxxxxx]
Sent: Friday, December 29, 2006 2:11 AM
To: Scott Aron Bloom
Subject: Re: URGENT:how to set image in tableWidget's verticalheader
let me clear to you
i working in QT4.2 on Mac on some project
in that project i have dialog form
in that dialog i have a table widget
in that table widget vertical header having item that item is icon
after setting icon i want to set icons height ==vertical header cell
height
and width of icon should be half of vertical header cell width
to set icon i am using
tableWidget->verticalHeaderItem(0)->setIcon(QIcon(":/images/nikon.png"))
;
tableWidget->verticalHeaderItem(0)->setSizeHint(QSize(70,tableWidget-
>verticalHeaderItem(0)->sizeHint().height()+40));
plz do tell still if you not clear
On 29-Dec-06, at 12:27 PM, Scott Aron Bloom wrote:
I just read it again... And Im still NOT sure where you are stuck!
Yes, I understand, you are trying to make the header the same size as
your icons. But what have you tried so far? Whats not working, is the
icon clipped, is the header too big? Too small?
So... Explain what you have done. What you have working, what is NOT
working. Not what the project specification is.
Scott
________________________________
From: Jyoti Verma [mailto:jyoti.verma@xxxxxxxxxxxxxxx]
Sent: Thursday, December 28, 2006 10:12 PM
To: Scott Aron Bloom
Subject: Re: URGENT:how to set image in tableWidget's verticalheader
no you had missed it
i clearly mentioned that
MyProblem is:
in my request...and i was requesting to all of u peoples for plz help me
out not ordering you...that is your consideration hows you take it
request or order
even i also had mentioned in my query request
plz give me the solution for my problem
anyways leave it...if u know then plz (requesting you) do solve it
thanks in advance
On 29-Dec-06, at 10:51 AM, Scott Aron Bloom wrote:
First, using words like urgent, are a flame attractor. And frankly,
comes off as quite immature, especially, when you don't explain any
reason why its urgent.
Second. You didn't clearly state what your specific problem is. Maybe
you did and I missed it in your description, but I found your problem
assessment extremely diffucult to read, let alone understand. You
listed a complete project definition, and not where you are stuck.
I have been on this list for 4 years or so, and try to help whenever I
can. But when the request comes off like yours, I just wish for a
moderated list.
Scott
________________________________
From: Jyoti Verma [mailto:jyoti.verma@xxxxxxxxxxxxxxx
<mailto:jyoti.verma@xxxxxxxxxxxxxxx> ]
Sent: Thursday, December 28, 2006 9:03 PM
To: Scott Aron Bloom
Subject: Re: URGENT:how to set image in tableWidget's verticalheader
i just used the URGENT word u all people started to speak blah blah
i think u all have to concentrate on a problem not to only SUBJECT LINE
if u ll solve my problem then i will find you all people Wht you are wht
u can do??/
let see firstly solve it..
On 28-Dec-06, at 10:07 PM, Scott Aron Bloom wrote:
Uh oh... Did someone forget to do their homework on time?
Scott
________________________________
From: Jyoti Verma [mailto:jyoti.verma@xxxxxxxxxxxxxxx
<mailto:jyoti.verma@xxxxxxxxxxxxxxx> ]
Sent: Thursday, December 28, 2006 3:47 AM
To: Qt Interest List
Subject: URGENT:how to set image in tableWidget's verticalheader
hi all
plz give me the solution for my problem
1--->i have one tablewidget
each table have vertical header and horizontal header
2--->in horizontal header (col 0) name is ImageType and in horizontal
header (col 1) Extention
3--->Now verticalheaderitem(0) is one icon and row(0)col(0) i have
"Nikon" (that is inserted by code) & checkbox and in row(0)col(1) its
having "Png" (inserted by coding)
MyProblem is:
i want to increase the height and width of verticalheaderitem(0) which
is an icon and icon height should be as same as cell height is like my
cell height is 30 icon height should be same 30 and width should be half
of the width of cell width
and my form name is imageselect an my function name is tableitems()
and i have toolbutton(in another mainwindow form) "openimageselect" in
my toolbar
as i click this button the imageselect (dialog form) opened
i ll thankfull to you
thanks & regards
------------------------
Jyoti Verma
jyoti.verma@xxxxxxxxxxxxxxx <mailto:jyoti.verma@xxxxxxxxxxxxxxx>