如何自由移动ribbonpagegroup 分割 page group里面的按钮

2017年6月 总版技术专家分月排行榜第三
2017年8月 多媒体开发大版内专家分月排行榜第一2017年8月 .NET技术大版内专家分月排行榜第一2017年7月 多媒体开发大版内专家分月排行榜第一2017年7月 .NET技术大版内专家分月排行榜第一2017年6月 .NET技术大版内专家分月排行榜第一2017年5月 多媒体开发大版内专家分月排行榜第一2017年4月 多媒体开发大版内专家分月排行榜第一2016年1月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2015年11月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2015年10月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2015年9月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2015年7月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2015年6月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2015年3月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2015年2月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2015年1月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2014年12月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2014年11月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2014年10月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2014年9月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2014年8月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一2014年7月 多媒体/设计/Flash/Silverlight 开发大版内专家分月排行榜第一
本帖子已过去太久远了,不再提供回复功能。RibbonPage Class | QtitanRibbon 4.12
RibbonPage Class
class implements the Ribbon UI Page. Used to place objects of type - .
Header: #include &RibbonPage&
Public Types
{ ContextColorNone, ContextColorGreen, ContextColorBlue, ContextColorRed, ..., ContextColorOrange }
Properties
: ContextColor
: const QString &
: const int
: const QString &
Public Functions
(QWidget *parent = Q_NULL)
(RibbonBar *ribbonBar, const QString &title)
virtual ()
void (RibbonGroup *group)
RibbonGroup *(const QString &title)
RibbonGroup *(const QIcon &icon, const QString &title)
ContextColor () const
const QString &() const
QAction *() const
void (RibbonGroup *group)
void (int index)
RibbonGroup *(int index) const
int () const
int (RibbonGroup *group) const
QList&RibbonGroup *& () const
void (int index, RibbonGroup *group)
RibbonGroup *(int index, const QString &title)
RibbonGroup *(int index, const QIcon &icon, const QString &title)
bool () const
void (RibbonGroup *group)
void (int index)
void (ContextColor color)
void (const QString &groupName)
void (int width)
virtual QSize () const
int () const
const QString &() const
Public Slots
void (const QString &title)
void (const QString &title)
virtual void (bool visible)
void (bool &allow)
void (const QString &title)
Protected Functions
virtual void (QEvent *event)
virtual bool (QEvent *event)
virtual void (QPaintEvent *event)
virtual void (QResizeEvent *event)
void (int height)
Protected Slots
void (QAction *action)
Detailed Description
class implements the Ribbon UI Page. Used to place objects of type - .
Member Type Documentation
enum RibbonPage::ContextColor
Property Documentation
contextColor :
Access functions:
ContextColor () const
void (ContextColor color)
contextTitle : const QString &
Sets the context title of the page. Context title is located on main window frame if page is contextual.
Access functions:
const QString &() const
void (const QString &title)
See also .
groupCount : const int
Access functions:
int () const
tabWidth : int
Sets the width of the tab in pixels. By default the width is calculated automaticaly relative to the font of this page.
Access functions:
int tabWidth() const
void setTabWidth(int width)
title : const QString &
Sets the title of the page.
Access functions:
const QString &() const
void (const QString &title)
See also .
Member Function Documentation
RibbonPage::RibbonPage(QWidget *parent = Q_NULL)
Constructs
with the given parent.
RibbonPage::RibbonPage( *ribbonBar, const QString &title)
Default constructs an instance of RibbonPage.
[virtual] RibbonPage::~RibbonPage()
The object's
destructor.
[protected slot] void RibbonPage::actionTriggered(QAction *action)
[signal] void RibbonPage::activated()
The signal is emitted then current page has been activated.
[signal] void RibbonPage::activating(bool &allow)
The signal is emitted then current page is activating. Parameter allow allows you to prevent switching to this page.
void RibbonPage::addGroup( *group)
*RibbonPage::addGroup(const QString &title)
Add the new group with the given title. Returns a pointer to the new object .
*RibbonPage::addGroup(const QIcon &icon, const QString &title)
[virtual protected] void RibbonPage::changeEvent(QEvent *event)
void RibbonPage::clearGroups()
Removes all groups from this page.
RibbonPage::contextColor() const
Returns the predefined color for the contextual page.
Note: Getter function for property . See also ().
const QString &RibbonPage::contextTitle() const
Возвращает текст контекстной страницы на заголовке.
Note: Getter function for property . See also ().
QAction *RibbonPage::defaultAction() const
void RibbonPage::detachGroup( *group)
void RibbonPage::detachGroup(int index)
[virtual protected] bool RibbonPage::event(QEvent *event)
*RibbonPage::getGroup(int index) const
Returns a pointer to a group specified by an index.
int RibbonPage::groupCount() const
Returns the number of groups on the page.
Note: Getter function for property .
int RibbonPage::groupIndex( *group) const
QList& *& RibbonPage::groups() const
void RibbonPage::insertGroup(int index,
*RibbonPage::insertGroup(int index, const QString &title)
Insert the new group with the given title to the position index. Returns a pointer to the new object .
*RibbonPage::insertGroup(int index, const QIcon &icon, const QString &title)
bool RibbonPage::isVisible() const
Возвращает видимость страницы. Вернет true, если страница видна.
[virtual protected] void RibbonPage::paintEvent(QPaintEvent *event)
[protected slot] void RibbonPage::released()
void RibbonPage::removeGroup( *group)
Removes the specified group.
void RibbonPage::removeGroup(int index)
Removes the specified group by it index.
[virtual protected] void RibbonPage::resizeEvent(QResizeEvent *event)
void RibbonPage::setContextColor( color)
Sets the predefined color for the contextual page.
Note: Setter function for property . See also ().
void RibbonPage::setContextGroupName(const QString &groupName)
[slot] void RibbonPage::setContextTitle(const QString &title)
Установить текст контекстной закладки на заголовке.
Note: Setter function for property . See also ().
[protected] void RibbonPage::setGroupsHeight(int height)
[slot] void RibbonPage::setTitle(const QString &title)
Sets the page title to the specified value.
Note: Setter function for property . See also ().
[virtual slot] void RibbonPage::setVisible(bool visible)
Sets the visibility of the page.
See also ().
[virtual] QSize RibbonPage::sizeHint() const
const QString &RibbonPage::title() const
Returns the page title.
Note: Getter function for property . See also ().
[signal] void RibbonPage::titleChanged(const QString &title)
The signal is emitted after the page title has been changed.本帖子已过去太久远了,不再提供回复功能。}

我要回帖

更多关于 mfc ribbon 按钮大小 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信