00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef WSCOUT_GUI_LLC_HEADER_HXX_
00024 # define WSCOUT_GUI_LLC_HEADER_HXX_
00025
00026 # include "wscout_gui_llc_header.hh"
00027
00028 namespace wscout
00029 {
00030
00031 namespace gui
00032 {
00033
00034 inline
00035 LLCHeader::LLCHeader(QWidget* parent):
00036 HeaderBase<LLCHeader, protocol::LLC> (parent)
00037 {
00038 setForegroundRole(QPalette::WindowText);
00039 setBackgroundRole(QPalette::Window);
00040 setAutoFillBackground(true);
00041 {
00042 QPalette p;
00043
00044 p.setColor(QPalette::WindowText, Qt::black);
00045 p.setColor(QPalette::Window, QColor ("palegreen"));
00046 setPalette(p);
00047 }
00048
00049 {
00050 QFont bold;
00051 bold.setBold(true);
00052
00053 summary_.setFont(bold);
00054 }
00055
00056 QBoxLayout* const l = layout();
00057
00058 l->addWidget(&summary_);
00059 l->addWidget(&dsapSsap_);
00060 l->addWidget(&control_);
00061 }
00062
00063 }
00064
00065 }
00066
00067 #endif // ! WSCOUT_GUI_LLC_HEADER_HXX_