Correct icon sizing for normal definition display in BreakPointWidget.
This commit is contained in:
parent
dc25159cd6
commit
b553aae8ad
|
@ -23,6 +23,7 @@
|
|||
#include <QFrame>
|
||||
#include "hurricane/Breakpoint.h"
|
||||
#include "hurricane/viewer/BreakpointWidget.h"
|
||||
#include "hurricane/viewer/Graphics.h"
|
||||
|
||||
|
||||
namespace Hurricane {
|
||||
|
@ -38,7 +39,7 @@ namespace Hurricane {
|
|||
setModal ( false );
|
||||
//setWindowModality( Qt::WindowModal );
|
||||
setWindowTitle ( "Breakpoint" );
|
||||
setToolTip ( "Crush the Mush to continue..." );
|
||||
setToolTip ( "Hit Chuck to continue..." );
|
||||
|
||||
//_message->setTextFormat ( Qt::RichText );
|
||||
_message->setText ( "<b>No Message Yet</b>" );
|
||||
|
@ -49,7 +50,7 @@ namespace Hurricane {
|
|||
QPushButton* ok = new QPushButton ();
|
||||
ok->setIcon ( QIcon(":/images/angry-birds-chuck.png") );
|
||||
ok->setFlat ( true );
|
||||
ok->setIconSize ( QSize(200,200) );
|
||||
ok->setIconSize ( (Graphics::isHighDpi() ? QSize(200,200) : QSize(80,80)) );
|
||||
|
||||
QFrame* vLine = new QFrame ();
|
||||
vLine->setFrameShape ( QFrame::VLine );
|
||||
|
|
Loading…
Reference in New Issue