Source code |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
KLedConfigWindow::KLedConfigWindow() : KMainWindow() { /* set up the little window icon (top left) */ QPixmap winIcon = QPixmap( kledconfigwindow_xpm ); KWin::setIcons(this->winId(), winIcon, winIcon); this->setCaption( QString("KNetworkLED Configuration") ); this->setFixedSize( 230, 180 ); this->m_lblDeviceTextLabel = new QLabel( (QWidget *)this, "devicelabel", 0); this->m_lblDeviceTextLabel->move( QPoint(10, 40)); this->m_lblDeviceTextLabel->setFixedSize( 80, 20 ); this->m_lblDeviceTextLabel->setText(QString("Device:")); this->m_lblPollRateTextLabel = new QLabel( (QWidget *)this, "pollratelabel", 0); this->m_lblPollRateTextLabel->move( QPoint(10, 80)); this->m_lblPollRateTextLabel->setFixedSize( 80, 20 ); this->m_lblPollRateTextLabel->setText(QString("Poll Rate:")); (...) |
This post has been edited 1 times, last edit by "glitch13" (Sep 24th 2004, 9:15pm)
Forum Software: Burning Board®, developed by WoltLab® GmbH
Linux Computer - Linux Forum -
Linux Computer und Notebooks - Lastminute - Wasserbetten & Whirlpools