qwidget
Making QListWidget resize its items to fill space
I\'ve got a QListWidget and I\'ve got a custom widget class, which I\'m creating an instance of for each item appearing in the list widget.[详细]
2023-04-13 04:03 分类:问答How can I call the system default browser to display a webpage **INSIDE** my program
I mean just like a webkit widget, so i can insert it into m开发者_JAVA百科y layout.use QWebView :[详细]
2023-04-12 22:20 分类:问答exc_bad_access crash in QT app
I\'m writing a QT app and I\'m very rusty with C++, so I\'m guessing that\'s the problem. I\'ve got a crash with an exc_bad_access signal on my Mac, whic开发者_StackOverflow社区h means I\'m doing some[详细]
2023-04-12 11:01 分类:问答Border-image not working for QWidget
I have a class derived from QWidget.When I try to use the style-sheet to set the border-image, it appears to ignore it.I am using QT 4.4 and it looks like the QWidget should support border-image.Is th[详细]
2023-04-09 23:49 分类:问答Using an alpha transparent mask on a QWidget?
Is it possible to assign an alpha-transparent mask to a QWidget? I know how to set a mask using setMask but it seems it only supports black&white masks. Is it possible to make it support a true al[详细]
2023-04-09 00:04 分类:问答Ignore minimum size when resizing QWidget
Is there a way to make a QWidget (and any subclass of it) completely ignore its minimum size? 开发者_运维百科What I want is for a QPushButton to cut off when it is sized too small, rather than prevent[详细]
2023-04-08 14:13 分类:问答Cropping a QRegion for setMask
I am setMask()\'ing a QRegion I\'ve a Big QRect of that I am making a Circle //config->rectangle = QRect(0,0 275x275)[详细]
2023-04-06 15:01 分类:问答Should QWidget::geometry().topLeft() return QPoint(0, 0) If its frameless and has no parent?
Should QWidget::geometry().topLeft() always retu开发者_开发百科rn QPoint(0, 0) If its framelees and has no parent ?If it has no parent then it should return its global position (its position relative[详细]
2023-04-06 02:29 分类:问答Setting Background Stylesheet to QWidget shows on all controls
I have set the following CSS to the QWidget Stylesheet: QWidget { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #00b7ea, stop: 1 #009ec3); /* C开发者_高级运维hrome10+,Safari5.[详细]
2023-04-04 13:49 分类:问答QWidget::mapToGlobal() when the widget is not visible
can QWidget::mapToGlobal work when the widget is not visible ? I dont find anything on the manual . If it cannot Why开发者_开发技巧 ?I\'ve just written a small program that calls QWidget::mapToGlobal([详细]
2023-04-04 10:35 分类:问答