TrackGit
Public Member Functions | Private Attributes | List of all members
CloneProgressWindow Class Reference

The Clone Progress Window class. More...

#include <CloneWindow.h>

Inheritance diagram for CloneProgressWindow:

Public Member Functions

 CloneProgressWindow (CloneWindow *)
 The CloneProgressWindow constructor. More...
 
void SetText (const char *)
 This function sets texts of the textview within window. More...
 
void SetProgress (float)
 This function sets the value of progress bar. More...
 
virtual void MessageReceived (BMessage *)
 The handler to receive messages. More...
 

Private Attributes

CloneWindowfCloneWindow
 The Clone Window pointer. More...
 
BTextView * fTextView
 The text view to show progress text. More...
 
BStatusBar * fProgressBar
 The progress bar. More...
 

Detailed Description

The Clone Progress Window class.

Definition at line 63 of file CloneWindow.h.

Constructor & Destructor Documentation

◆ CloneProgressWindow()

CloneProgressWindow::CloneProgressWindow ( CloneWindow cloneWindow)

The CloneProgressWindow constructor.

Parameters
cloneWindowThe CloneWindow.

Definition at line 106 of file CloneWindow.cpp.

Member Function Documentation

◆ MessageReceived()

void CloneProgressWindow::MessageReceived ( BMessage *  msg)
virtual

The handler to receive messages.

Parameters
msgThe message received.

Definition at line 170 of file CloneWindow.cpp.

◆ SetProgress()

void CloneProgressWindow::SetProgress ( float  progress)

This function sets the value of progress bar.

Parameters
progressThe progress value.

Definition at line 156 of file CloneWindow.cpp.

◆ SetText()

void CloneProgressWindow::SetText ( const char *  text)

This function sets texts of the textview within window.

Parameters
textThe text to be set.

Definition at line 142 of file CloneWindow.cpp.

Member Data Documentation

◆ fCloneWindow

CloneWindow* CloneProgressWindow::fCloneWindow
private

The Clone Window pointer.

Used to sent cancel BMessage.

Definition at line 69 of file CloneWindow.h.

◆ fProgressBar

BStatusBar* CloneProgressWindow::fProgressBar
private

The progress bar.

Definition at line 77 of file CloneWindow.h.

◆ fTextView

BTextView* CloneProgressWindow::fTextView
private

The text view to show progress text.

Definition at line 73 of file CloneWindow.h.


The documentation for this class was generated from the following files: