Diffstat (limited to 'core/applets/screenshotapplet/screenshot.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/screenshotapplet/screenshot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/screenshotapplet/screenshot.cpp b/core/applets/screenshotapplet/screenshot.cpp index 16d5588..9d8d4fc 100644 --- a/core/applets/screenshotapplet/screenshot.cpp +++ b/core/applets/screenshotapplet/screenshot.cpp | |||
@@ -74,25 +74,25 @@ ScreenshotControl::ScreenshotControl( QWidget *parent, const char *name ) | |||
74 | : QFrame( parent, name, WDestructiveClose | WStyle_StaysOnTop | WType_Popup ) | 74 | : QFrame( parent, name, WDestructiveClose | WStyle_StaysOnTop | WType_Popup ) |
75 | { | 75 | { |
76 | setFrameStyle( QFrame::PopupPanel | QFrame::Raised ); | 76 | setFrameStyle( QFrame::PopupPanel | QFrame::Raised ); |
77 | // qDebug("screenshot control"); | 77 | // qDebug("screenshot control"); |
78 | QVBoxLayout *vbox = new QVBoxLayout( this ); | 78 | QVBoxLayout *vbox = new QVBoxLayout( this ); |
79 | // qDebug("new layout"); | 79 | // qDebug("new layout"); |
80 | delaySpin = new QSpinBox( 0,60,1, this, "Spinner" ); | 80 | delaySpin = new QSpinBox( 0,60,1, this, "Spinner" ); |
81 | // qDebug("new spinbox"); | 81 | // qDebug("new spinbox"); |
82 | delaySpin->setFocusPolicy( QWidget::NoFocus ); | 82 | delaySpin->setFocusPolicy( QWidget::NoFocus ); |
83 | grabItButton= new QPushButton( this, "GrabButton" ); | 83 | grabItButton= new QPushButton( this, "GrabButton" ); |
84 | // qDebug("new pushbutton"); | 84 | // qDebug("new pushbutton"); |
85 | grabItButton ->setFocusPolicy( QWidget::TabFocus ); | 85 | grabItButton ->setFocusPolicy( QWidget::TabFocus ); |
86 | grabItButton->setText("Snaphot"); | 86 | grabItButton->setText("Snapshot"); |
87 | vbox->setMargin( 6 ); | 87 | vbox->setMargin( 6 ); |
88 | vbox->setSpacing( 3 ); | 88 | vbox->setSpacing( 3 ); |
89 | vbox->addWidget( delaySpin); | 89 | vbox->addWidget( delaySpin); |
90 | vbox->setMargin( 6 ); | 90 | vbox->setMargin( 6 ); |
91 | vbox->setSpacing( 3 ); | 91 | vbox->setSpacing( 3 ); |
92 | vbox->addWidget( grabItButton); | 92 | vbox->addWidget( grabItButton); |
93 | 93 | ||
94 | setFixedHeight( 100 ); | 94 | setFixedHeight( 100 ); |
95 | setFixedWidth( sizeHint().width() ); | 95 | setFixedWidth( sizeHint().width() ); |
96 | setFocusPolicy(QWidget::NoFocus); | 96 | setFocusPolicy(QWidget::NoFocus); |
97 | 97 | ||
98 | grabTimer= new QTimer(this,"grab timer"); | 98 | grabTimer= new QTimer(this,"grab timer"); |