English 中文(简体)
在一个QWIzard的 but子中加以规范?
原标题:Customize the buttons in a QWIzard?

QWizard有一些与纽州有关的选择:

    NoDefaultButton
    NoBackButtonOnStartPage
    NoBackButtonOnLastPage
    DisabledBackButtonOnLastPage
    HaveNextButtonOnLastPage
    HaveFinishButtonOnEarlyPages
    NoCancelButton
    CancelButtonOnLeft
    HaveHelpButton
    HelpButtonOnRight

既然这些选择对我来说是不够的,是否有什么办法来使习俗化?

例如,在将QWizardPage定为最后一页之后,由于该网页最初有下页,“next”纽芬兰语仍然存在。

我想要的是将“ext”改为“fin”,而不是再把“fin”改为“.”。

另一个例子是,在第一页,我希望“背”纽扣地显示,但残疾。

How can I control these buttons in a more flexible way? I want make some buttons disappear and some be disabled.

最佳回答

如果你称之为环礁功能:

QAbstractButton * QWizard::button ( WizardButton which ) const

以下论点:

QWizard::NextButton

那么,你就应当找到“纽特”纽顿的点子。

唯一要做的是,当你是最后的,但却是最后一页(上页)时,要说的是纽伦的(bool)功能?

我从未这样做过,只是试图帮助你。

问题回答

暂无回答




相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签