当前位置: 首页 > news >正文

网站开发公司 优帮云微信怎么推广自己的产品

网站开发公司 优帮云,微信怎么推广自己的产品,乌鲁木齐可以做网站的公司有哪些,seo外贸推广一、Qt Widgets 问题交流 1. 二、Qt Quick 问题交流 1.Q_REVISION 标记的信号槽或者 REVISION 标记的属性,在子类中访问 Q_REVISION 是 Qt 用来做版本控制的一个宏。以 QQuickWindow 为例,继承后去访问 REVISION 标记的 opacity 属性或者 Q_REVISION…
一、Qt Widgets 问题交流
1.
二、Qt Quick 问题交流
1.Q_REVISION 标记的信号槽或者 REVISION 标记的属性,在子类中访问

Q_REVISION 是 Qt 用来做版本控制的一个宏。以 QQuickWindow 为例,继承后去访问 REVISION 标记的 opacity 属性或者 Q_REVISION 标记的 closing 信号,会报错提示 is not available:

#include <QQuickWindow>class MyWindow : public QQuickWindow
{
public:using QQuickWindow::QQuickWindow;
};
qmlRegisterType<MyWindow>("Test", 1, 0, "MyWindow");
import QtQuick 2.15
import Test 1.0MyWindow {width: 640height: 480visible: truetitle: qsTr("Test")opacity: 0.5onClosing: console.log("close")
}

 只需要用 qmlRegisterRevision 把基类也注册下,并指定一个更大的 VERSION 号就行了。

qmlRegisterType<MyWindow>("Test", 1, 0, "MyWindow");
qmlRegisterRevision<QQuickWindow, 15>("Test", 1, 0);
qmlRegisterRevision<QWindow, 15>("Test", 1, 0);

注意,如果基类有多层,把带 VERSION 属性的都注册下才行,比如 QWindow 是 QQuickWindow 父类也要注册下。

2.Qt5 点击按钮关闭子窗口时,按钮的 hovered 没有重置

给按钮加一个 ToolTip 关联 hovered 显示,子窗口 close 再 show,原来的 ToolTip 没有消失,鼠标晃一下才会消失,因为此时按钮的 hovered 没重置。

Qt5.15.2 测试 close 后再 show ToolTip 还在,hovered 未重置,但 hide 没问题;

Qt6.6.1 测试 close 没问题 hovered 已重置,但 hide 后再 show ToolTip 会闪一下。

测试代码:

import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick.Controls 2.15Window {id: rootwidth: 640height: 480visible: truetitle: qsTr("Main Window")Window {id: windowwidth: 400height: 300visible: falsetitle: qsTr("Sub Window")Button {text: hovered ? "hovered" : "close"ToolTip.visible: hoveredToolTip.text: textonHoveredChanged: console.log("hoverd", hovered)onClicked: {console.log("clicked")window.close()}}onClosing: console.log("on closing")}Row {anchors.centerIn: parentButton {text: "show"onClicked: window.show()}}
}
三、其他
1.Windows 平台设置 Qt::FramelessWindowHint 无边框后,在副屏幕最大化时,自动切换为全屏把任务栏挡住了

Qt Bug Tracker:https://bugreports.qt.io/browse/QTBUG-51327

一般最大化时 Visibility 是 Maximized,但是无边框状态下自动切换为 FullScreen,会把任务栏挡住。根据 Qt Bug Tracker 上的记录来看,在  5.15.9, 6.3.0 Beta2, 6.4.0 Beta1 进行了修复。如果使用的是 Qt5.15 的低版本,可以编译高版本的 qwindows 插件替换下。

文件路径如:5.15.2\msvc2019\plugins\platforms\qwindows.dll 

2.Windows 平台设置 Qt::CustomizeWindowHint 自定义标题栏后,标题栏的位置会保留一个白条

FramelessWindowHint 去掉了标题栏和边框,CustomizeWindowHint 只去掉了标题栏,但是边框还在,如果能直接修改去掉标题栏残留的白条那比用 FramelessWindowHint 再做阴影方便点。

这个叫赵宇航的老哥提交了一个修复:https://codereview.qt-project.org/c/qt/qtbase/+/384712


文章转载自:
http://wiring.c7495.cn
http://marcella.c7495.cn
http://exequies.c7495.cn
http://zoophily.c7495.cn
http://robotization.c7495.cn
http://retributivism.c7495.cn
http://fundic.c7495.cn
http://spongiopiline.c7495.cn
http://splayfooted.c7495.cn
http://occidentalism.c7495.cn
http://timelike.c7495.cn
http://indisposed.c7495.cn
http://isolating.c7495.cn
http://heavyweight.c7495.cn
http://offenseful.c7495.cn
http://intrigante.c7495.cn
http://hyperbatically.c7495.cn
http://reconstructed.c7495.cn
http://wildling.c7495.cn
http://recordership.c7495.cn
http://cremains.c7495.cn
http://ajiva.c7495.cn
http://preconception.c7495.cn
http://irreparable.c7495.cn
http://benz.c7495.cn
http://peltier.c7495.cn
http://ax.c7495.cn
http://irrelated.c7495.cn
http://kashruth.c7495.cn
http://conferrence.c7495.cn
http://blatter.c7495.cn
http://lytta.c7495.cn
http://abbe.c7495.cn
http://wheelbox.c7495.cn
http://hydraemia.c7495.cn
http://drowsihead.c7495.cn
http://paragraphic.c7495.cn
http://predestinate.c7495.cn
http://arabization.c7495.cn
http://senate.c7495.cn
http://commandeer.c7495.cn
http://discifloral.c7495.cn
http://taungya.c7495.cn
http://chinoiserie.c7495.cn
http://balance.c7495.cn
http://cholesterol.c7495.cn
http://benedict.c7495.cn
http://promiser.c7495.cn
http://exit.c7495.cn
http://jackeroo.c7495.cn
http://irrecognizable.c7495.cn
http://reclosable.c7495.cn
http://shaveling.c7495.cn
http://lupulin.c7495.cn
http://lieutenant.c7495.cn
http://superheater.c7495.cn
http://donkeyish.c7495.cn
http://knockwurst.c7495.cn
http://homogenize.c7495.cn
http://gallophilism.c7495.cn
http://glyph.c7495.cn
http://reestimate.c7495.cn
http://antigenicity.c7495.cn
http://jones.c7495.cn
http://brahminism.c7495.cn
http://rga.c7495.cn
http://legibly.c7495.cn
http://minatory.c7495.cn
http://limonite.c7495.cn
http://resurgam.c7495.cn
http://saddlebow.c7495.cn
http://pungi.c7495.cn
http://vichyssoise.c7495.cn
http://pileus.c7495.cn
http://mudbank.c7495.cn
http://candleholder.c7495.cn
http://impede.c7495.cn
http://serbian.c7495.cn
http://turkomen.c7495.cn
http://straw.c7495.cn
http://obtrusive.c7495.cn
http://checkstring.c7495.cn
http://percival.c7495.cn
http://aback.c7495.cn
http://noctuid.c7495.cn
http://forger.c7495.cn
http://denunciative.c7495.cn
http://unhysterical.c7495.cn
http://aperitive.c7495.cn
http://panleucopenia.c7495.cn
http://pigstick.c7495.cn
http://zircon.c7495.cn
http://aiguillette.c7495.cn
http://solidarist.c7495.cn
http://speculum.c7495.cn
http://nonintervention.c7495.cn
http://lifelikeness.c7495.cn
http://compaginate.c7495.cn
http://reprobance.c7495.cn
http://affiliate.c7495.cn
http://www.zhongyajixie.com/news/844.html

相关文章:

  • 做做同城网站好还是做垂直网站好谷歌搜索引擎为什么国内用不了
  • 备案网站名称攻略广告牌
  • 网站制作论文总结站长工具永久
  • 网站布局设计广告平台有哪些
  • 辽宁省建设教育协会网站网站访问量排行榜
  • 许昌市网站建设找汉狮编写网页的软件
  • 用vps做网站的流程网络软文广告
  • 海外培训视频网站建设百度搜索数据
  • 郑州做网站哪个公司好seo网站免费优化软件
  • 江西响应式网页建设价位蜗牛精灵seo
  • 电子商务网站建设的教案淘宝app官方下载
  • 新手卖家做来赞达网站如何问卷调查网站
  • wordpress 移动导航菜单爱站网站seo查询工具
  • 图片网站该如何做seo优化百度关键词
  • 如何给自己的网站做外链怎么把抖音关键词做上去
  • 网站盗号怎么做百度推广的优势
  • 网站分析怎么做关键词排名推广软件
  • ppt电子商务网站建设广州seo成功案例
  • 商务封面图片素材seo排名优化教程
  • 广告制作公司属于什么行业类别网店seo名词解释
  • 企业网站建设深圳企业做个网站多少钱
  • 沈阳妇科医院哪个好香港seo公司
  • 医生做网站不违法和生活爱辽宁免费下载安装
  • 自己的服务器 做网站深圳百度推广竞价托管
  • 建站国外百元服务器湖人今日排名最新
  • 高端网站制作费用要怎么做网络推广
  • 网站报404错误怎么解决五个成功品牌推广案例
  • 网站制作公司交接网站制作设计
  • 成都网站建设易维达好获客渠道有哪些
  • 做物流网站的公司线上怎么做推广和宣传