c++ - Customize the buttons in a QWIzard? -


qwizard have options related buttons follows:

    nodefaultbutton     nobackbuttononstartpage     nobackbuttononlastpage     disabledbackbuttononlastpage     havenextbuttononlastpage     havefinishbuttononearlypages     nocancelbutton     cancelbuttononleft     havehelpbutton     helpbuttononright 

now these options not enough me, there way customization??

for example, after setting qwizardpage final page, "next" button still there since page have next page.

what want change "next" "finish" instead of 1 more "finish" button.

another example @ first page, want "back" button shows disabled.

how can control these buttons in more flexible way? want make buttons disappear , disabled.

if call follwing function:

qabstractbutton * qwizard::button ( wizardbutton ) const 

with following argument:

qwizard::nextbutton 

then should pointer "next" button.

the thing left call setvisible(bool) function of button when 1 last 1 (pre-last) page?

i have never done this, tried you.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -