/usr/include/Wt/WDefaultLoadingIndicator is in libwt-dev 3.3.4+dfsg-6ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | // This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef WDEFAULT_LOADING_INDICATOR_H_
#define WDEFAULT_LOADING_INDICATOR_H_
#include <Wt/WText>
#include <Wt/WLoadingIndicator>
namespace Wt {
/*! \class WDefaultLoadingIndicator Wt/WDefaultLoadingIndicator Wt/WDefaultLoadingIndicator
* \brief A default loading indicator.
*
* The default loading indicator displays the text message <span
* style="background-color: red; color: white; font-family:
* Arial,Helvetica,sans-serif; font-size: small;">Loading...</span> in
* the right top corner of the window.
*
* <h3>CSS</h3>
*
* This widget does not provide styling,
* and can be styled using inline or external CSS as appropriate.
*
* <h3>i18n</h3>
*
* The strings used in this class can be translated by overriding
* the default values for the following localization keys:
* - Wt.WDefaultLoadingIndicator.Loading: Loading...
*
* \sa WApplication::setLoadingIndicator()
*/
class WT_API WDefaultLoadingIndicator : public WText, public WLoadingIndicator
{
public:
/*! \brief Constructor.
*/
WDefaultLoadingIndicator();
virtual WWidget *widget() { return this; }
virtual void setMessage(const WString& text);
};
}
#endif // WDEFAULT_LOADING_INDICATOR_H_
|