Logo Search packages:      
Sourcecode: karchiver version File versions  Download package

void KarchiveurApp::initStatusBar (  )  [protected]

sets up the statusbar for the main window by initialzing a statuslabel.

Definition at line 185 of file karchiveur.cpp.

Referenced by KarchiveurApp().

{
      ///////////////////////////////////////////////////////////////////
      // STATUSBAR
      statusBar()->insertItem(i18n(IDS_STATUS_DEFAULT), ID_STATUS_MSG);

      //Additionnal init to the statusbar
        progress = new QProgressBar(statusBar(),"Progress_Bar");
        progress->setFixedHeight ( statusBar()->sizeHint().height() -4 );
        statusBar()->addWidget(progress,0,true);

        led=new CLed(statusBar(),"statusbar_led");
        led->setLook(KLed::Sunken);
        led->setFixedHeight ( statusBar()->sizeHint().height()-4 );
        led->setFixedWidth ( statusBar()->sizeHint().height()-4 );
        statusBar()->addWidget(led,0,true);
}


Generated by  Doxygen 1.6.0   Back to index