Choreonoid
1.8
|
#include <MessageView.h>
Public Types | |
enum | MessageType { Normal, Error, Warning, Highlight, NORMAL = Normal, ERROR = Error, WARNING = Warning, HIGHLIGHT = Highlight } |
Public Types inherited from cnoid::View | |
enum | LayoutArea { TopLeftArea = 0, MiddleLeftArea = 1, BottomLeftArea = 2, TopCenterArea = 3, CenterArea = 4, BottomCenterArea = 5, TopRightArea = 6, MiddleRightArea = 7, BottomRightArea = 8, NumLayoutAreas = 9, LEFT = TopLeftArea, LEFT_TOP = TopLeftArea, LEFT_BOTTOM = BottomLeftArea, CENTER = CenterArea, RIGHT = TopRightArea, BOTTOM = BottomCenterArea } |
Public Member Functions | |
MessageView () | |
~MessageView () | |
void | put (const std::string &message, int type=Normal) |
void | put (std::string &&message, int type=Normal) |
void | put (const char *message, int type=Normal) |
void | put (const QString &message, int type=Normal) |
void | putln (const std::string &message, int type=Normal) |
void | putln (std::string &&message, int type=Normal) |
void | putln (const char *message, int type=Normal) |
void | putln (const QString &message, int type=Normal) |
void | putln () |
void | notify (const std::string &message, int type=Normal) |
void | notify (std::string &&message, int type=Normal) |
void | notify (const char *message, int type=Normal) |
void | notify (const QString &message, int type=Normal) |
void | put (int type, const std::string &message) |
void | put (int type, const char *message) |
void | put (int type, const QString &message) |
void | putln (int type, const std::string &message) |
void | putln (int type, const char *message) |
void | putln (int type, const QString &message) |
int | currentColumn () |
void | flush () |
void | clear () |
std::ostream & | cout (bool doFlush=true) |
void | beginStdioRedirect () |
void | endStdioRedirect () |
SignalProxy< void(const std::string &text)> | sigMessage () |
Public Member Functions inherited from cnoid::View | |
View () | |
virtual | ~View () |
ViewClass * | viewClass () const |
const std::string & | name () const |
virtual void | setName (const std::string &name) |
void | setTitleFormat (const std::string &title) |
void | resetTitleFormat () |
const std::string & | titleFormat () const |
ViewArea * | viewArea () const |
bool | isActive () const |
bool | hasFocus () const |
void | bringToFront () |
SignalProxy< void()> | sigActivated () |
SignalProxy< void()> | sigDeactivated () |
SignalProxy< void()> | sigResized () |
SignalProxy< void()> | sigRemoved () |
void | setDefaultLayoutArea (LayoutArea area) |
LayoutArea | defaultLayoutArea () const |
void | setLayout (QLayout *layout, double marginRatio=0.0) |
void | setLayout (QLayout *layout, double leftMarginRatio, double topMarginRatio, double rightMarginRatio, double bottomMarginRatio) |
QPoint | viewAreaPos () const |
virtual QWidget * | indicatorOnInfoBar () |
void | enableFontSizeZoomKeys (bool on) |
virtual bool | storeState (Archive &archive) |
virtual bool | restoreState (const Archive &archive) |
Public Member Functions inherited from cnoid::Widget | |
Widget (QWidget *parent=0) | |
SignalProxy< void(std::string name)> | sigObjectNameChanged () |
SignalProxy< void(std::string title)> | sigWindowTitleChanged () |
Static Public Member Functions | |
static void | postMessageBeforeInitialization (const std::string &message, int type=Normal) |
static void | initializeClass (ExtensionManager *ext) |
static MessageView * | mainInstance () |
static MessageView * | instance () |
static bool | isFlushing () |
Static Public Member Functions inherited from cnoid::View | |
static View * | lastFocusView () |
Protected Member Functions | |
virtual bool | event (QEvent *e) |
Protected Member Functions inherited from cnoid::View | |
void | setLayoutContentsMarginRatio (QLayout *layout, double leftMarginRatio, double topMarginRatio, double rightMarginRatio, double bottomMarginRatio) |
void | zoomFontSize (int zoom) |
virtual void | onActivated () |
virtual void | onDeactivated () |
virtual void | onFocusChanged (bool on) |
virtual void | onAttachedMenuRequest (MenuManager &menuManager) |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | resizeEvent (QResizeEvent *event) |
MessageView::MessageView | ( | ) |
MessageView::~MessageView | ( | ) |
void MessageView::beginStdioRedirect | ( | ) |
void MessageView::clear | ( | ) |
std::ostream & MessageView::cout | ( | bool | doFlush = true | ) |
int MessageView::currentColumn | ( | ) |
void MessageView::endStdioRedirect | ( | ) |
|
protectedvirtual |
void MessageView::flush | ( | ) |
|
static |
|
static |
|
static |
|
static |
void MessageView::notify | ( | const char * | message, |
int | type = Normal |
||
) |
void MessageView::notify | ( | const QString & | message, |
int | type = Normal |
||
) |
void MessageView::notify | ( | const std::string & | message, |
int | type = Normal |
||
) |
void MessageView::notify | ( | std::string && | message, |
int | type = Normal |
||
) |
|
static |
void MessageView::put | ( | const char * | message, |
int | type = Normal |
||
) |
void MessageView::put | ( | const QString & | message, |
int | type = Normal |
||
) |
void MessageView::put | ( | const std::string & | message, |
int | type = Normal |
||
) |
void MessageView::put | ( | int | type, |
const char * | message | ||
) |
void MessageView::put | ( | int | type, |
const QString & | message | ||
) |
void MessageView::put | ( | int | type, |
const std::string & | message | ||
) |
void MessageView::put | ( | std::string && | message, |
int | type = Normal |
||
) |
void MessageView::putln | ( | ) |
void MessageView::putln | ( | const char * | message, |
int | type = Normal |
||
) |
void MessageView::putln | ( | const QString & | message, |
int | type = Normal |
||
) |
void MessageView::putln | ( | const std::string & | message, |
int | type = Normal |
||
) |
void MessageView::putln | ( | int | type, |
const char * | message | ||
) |
void MessageView::putln | ( | int | type, |
const QString & | message | ||
) |
void MessageView::putln | ( | int | type, |
const std::string & | message | ||
) |
void MessageView::putln | ( | std::string && | message, |
int | type = Normal |
||
) |
SignalProxy< void(const std::string &text)> MessageView::sigMessage | ( | ) |