We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.QtGui import * import sys from qfluentwidgets import * class Demo(QWidget): def __init__(self, parent=None): super().__init__(parent) QHBoxLayout(self) AddCustomerSplit = SplitPushButton('Add Customer', self, FluentIcon.ADD) self.layout().addWidget(AddCustomerSplit) AddCustomerSplit.setSizePolicy(PushButton().sizePolicy()) if __name__ == '__main__': # enable dpi scale QApplication.setHighDpiScaleFactorRoundingPolicy(Qt.HighDpiScaleFactorRoundingPolicy.PassThrough) QApplication.setAttribute(Qt.AA_EnableHighDpiScaling) QApplication.setAttribute(Qt.AA_UseHighDpiPixmaps) app = QApplication(sys.argv) w = Demo() w.show() sys.exit(app.exec())
The text was updated successfully, but these errors were encountered:
zhiyiYo
No branches or pull requests
VID_20230724_210802.mp4
The text was updated successfully, but these errors were encountered: