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