CProgressWindow: implement CComponent classes

This implement window functionality from CComponentsWindow,
progress items from CProgressBar() and status text
items from CComponentsLabel()


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2f0e4e1687
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-09 (Mon, 09 Jun 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-06-09 14:56:12 +02:00
committed by vanhofen
parent 19684ff082
commit e990abf516
8 changed files with 99 additions and 175 deletions

View File

@@ -33,7 +33,7 @@
#ifndef __flashtool__
#define __flashtool__
#include <gui/widget/progressstatus.h>
#include <gui/widget/progresswindow.h>
#include <string>
#include <vector>
@@ -43,7 +43,7 @@ class CFlashTool
{
private:
CProgress_StatusViewer* statusViewer;
CProgressWindow* statusViewer;
std::string mtdDevice;
std::string ErrorMessage;
@@ -61,7 +61,7 @@ class CFlashTool
const std::string & getErrorMessage(void) const;
void setMTDDevice( const std::string & mtddevice );
void setStatusViewer( CProgress_StatusViewer* statusview );
void setStatusViewer( CProgressWindow* statusview );
bool program( const std::string & filename, int globalProgressEndErase=-1, int globalProgressEndFlash=-1 );
bool readFromMTD( const std::string & filename, int globalProgressEnd=-1 );