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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

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

unit testing - How to mock PreferenceManager in Android? -