-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathfirmwidget.cpp
More file actions
32 lines (29 loc) · 773 Bytes
/
firmwidget.cpp
File metadata and controls
32 lines (29 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// C++ Implementation: firmwiget
//
// Description:
//
//
// Author: Andreas Lindenau <DL4JAL@darc.de>, (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "firmwaredlg.h"
//#####################################################################################
// Class fuer Firmwidget
//#####################################################################################
firmwidget::firmwidget(QWidget* parent, Qt::WindowFlags f): QDialog(parent, f)
{
this->resize(450,100);
label1 = new QLabel(this);
label1->setGeometry(10,10,400,30);
label1->setText(tr(" Firmware Update ",""));
label1->setAlignment(Qt::AlignHCenter);
}
void firmwidget::setText(QString s)
{
setFocus();
label1->setText(s);
repaint();
}