本文整理汇总了C++中createGui函数的典型用法代码示例。如果您正苦于以下问题:C++ createGui函数的具体用法?C++ createGui怎么用?C++ createGui使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了createGui函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: wxPanel
RotateObjectsToolPage::RotateObjectsToolPage(wxWindow* parent, MapDocumentWPtr document, RotateObjectsTool* tool) :
wxPanel(parent),
m_document(document),
m_tool(tool) {
createGui();
m_angle->SetValue(Math::degrees(m_tool->angle()));
}
开发者ID:Gustavo6046,项目名称:TrenchBroom,代码行数:7,代码来源:RotateObjectsToolPage.cpp
示例2: createGui
void PasswordDialogWidget::init()
{
QIcon icon = m_iconsManager->iconByPath(KaduIcon("dialog-password"));
Pixmap = icon.pixmap(icon.actualSize(QSize(64, 64)));
createGui();
}
开发者ID:vogel,项目名称:kadu,代码行数:7,代码来源:password-dialog-widget.cpp
示例3: AccountAddWidget
TlenAddAccountWidget::TlenAddAccountWidget(QWidget *parent) :
AccountAddWidget(parent)
{
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
createGui();
}
开发者ID:partition,项目名称:kadu,代码行数:7,代码来源:tlen-add-account-widget.cpp
示例4: AccountEditWidget
TlenEditAccountWidget::TlenEditAccountWidget(Account *account, QWidget *parent) :
AccountEditWidget(account, parent)
{
createGui();
loadAccountData();
loadConnectionData();
}
开发者ID:ziemniak,项目名称:kadu,代码行数:7,代码来源:tlen-edit-account-widget.cpp
示例5: ofSetVerticalSync
//--------------------------------------------------------------
void ofApp::setup(){
ofSetVerticalSync(true);
ofSetFrameRate(60);
ofEnableSmoothing();
ofSetCircleResolution(60);
ofSetFullscreen(true);
/* --shaders*/
#ifdef TARGET_OPENGLES
shader.load("shadersES2/shader");
#else
if(ofIsGLProgrammableRenderer()){
shader.load("shadersGL3/shader");
}else{
shader.load("shadersGL2/shader");
}
#endif
/*-----------------Vars setup --------------------------*/
currentMode = SNOW;
force.set(0, 0.2, 0);
noiseMagnitude = 0.8;
timeFrequency = 0.5;
/*---------------- initialize origin---------------- */
system.setup(ofVec3f(0, 0, 300), 10000);
/* --------------- Intializa GUI --------------------*/
createGui();
}
开发者ID:edap,项目名称:ParticleSystemSketch,代码行数:30,代码来源:ofApp.cpp
示例6: QWidget
ChatDataWindow::ChatDataWindow(ChatConfigurationWidgetFactoryRepository *chatConfigurationWidgetFactoryRepository, const Chat &chat) :
QWidget(0, Qt::Dialog), MyChatConfigurationWidgetFactoryRepository(chatConfigurationWidgetFactoryRepository),
ValueStateNotifier(new CompositeConfigurationValueStateNotifier(this)),
SimpleStateNotifier(new SimpleConfigurationValueStateNotifier(this)),
MyChat(chat), EditWidget(0)
{
setWindowRole("kadu-chat-data");
setAttribute(Qt::WA_DeleteOnClose);
setWindowTitle(tr("Chat Properties - %1").arg(MyChat.display()));
createGui();
new WindowGeometryManager(new ConfigFileVariantWrapper("General", "ChatDataWindowGeometry"), QRect(0, 50, 425, 500), this);
connect(Core::instance()->chatManager(), SIGNAL(chatRemoved(Chat)),
this, SLOT(chatRemoved(Chat)));
SimpleStateNotifier->setState(StateNotChanged);
ValueStateNotifier->addConfigurationValueStateNotifier(SimpleStateNotifier);
connect(ValueStateNotifier, SIGNAL(stateChanged(ConfigurationValueState)), this, SLOT(stateChangedSlot(ConfigurationValueState)));
stateChangedSlot(ValueStateNotifier->state());
if (MyChatConfigurationWidgetFactoryRepository)
{
connect(MyChatConfigurationWidgetFactoryRepository, SIGNAL(factoryRegistered(ChatConfigurationWidgetFactory*)),
this, SLOT(factoryRegistered(ChatConfigurationWidgetFactory*)));
connect(MyChatConfigurationWidgetFactoryRepository, SIGNAL(factoryUnregistered(ChatConfigurationWidgetFactory*)),
this, SLOT(factoryUnregistered(ChatConfigurationWidgetFactory*)));
foreach (ChatConfigurationWidgetFactory *factory, MyChatConfigurationWidgetFactoryRepository->factories())
factoryRegistered(factory);
}
}
开发者ID:leewood,项目名称:kadu,代码行数:34,代码来源:chat-data-window.cpp
示例7: HistoryTab
HistoryMessagesTab::HistoryMessagesTab(QWidget *parent) :
HistoryTab(parent), Storage(0),
TabWaitOverlay(0), TalkablesFutureWatcher(0)
{
createGui();
createModelChain();
}
开发者ID:leewood,项目名称:kadu,代码行数:7,代码来源:history-messages-tab.cpp
示例8: ConfigurationWidget
ContactAccountDataWidget::ContactAccountDataWidget(ContactAccountDataManager *dataManager, ContactAccountData *contactAccountData, QWidget *parent)
: ConfigurationWidget(dataManager, parent), Data(contactAccountData)
{
setAttribute(Qt::WA_DeleteOnClose);
createGui();
}
开发者ID:ziemniak,项目名称:kadu,代码行数:7,代码来源:contact-account-data-widget.cpp
示例9: ConfigWizardPage
ConfigWizardCompletedPage::ConfigWizardCompletedPage(QWidget *parent) :
ConfigWizardPage(parent)
{
setDescription(tr("<p>Confirm your wizard setting to start using Kadu.</p>"));
createGui();
}
开发者ID:leewood,项目名称:kadu,代码行数:7,代码来源:config-wizard-completed-page.cpp
示例10: createGui
void ProxyEditWindow::init()
{
createGui();
ProxyView->selectionModel()->select(ProxyView->model()->index(0, 0), QItemSelectionModel::ClearAndSelect);
new WindowGeometryManager(new ConfigFileVariantWrapper(m_configuration, "General", "ProxyEditWindowGeometry"), QRect(200, 200, 750, 500), this);
}
开发者ID:vogel,项目名称:kadu,代码行数:7,代码来源:proxy-edit-window.cpp
示例11: loadExampleMap
/** The constructor of the game state
*
*/
void RainbruRPG::Core::gsGame::init(){
isInit=true;
triangleSelector=true;
this->irrDevice = GameEngine::getSingleton().getIrrlichtDevice();
this->driverType = GameEngine::getSingleton().getDriverType();
this->irrDriver = GameEngine::getSingleton().getIrrlichtDriver();
this->irrSmgr = GameEngine::getSingleton().getIrrlichtSmgr();
this->irrGui = GameEngine::getSingleton().getIrrlichtGui();
debug=true;
debugTriangleSelection=true;
debugModelSelection=true;
debugBillboard=false;
selectedSceneNode = 0;
lastSelectedSceneNode = 0;
loadExampleMap();
initTriangleSelector();
initCamera();
initExampleFaeries();
if (debug&&debugBillboard) initBillboard();
createGui();
}
开发者ID:dreamsxin,项目名称:rainbrurpg,代码行数:29,代码来源:gsgame.cpp
示例12: createGui
BuddyListBackgroundColorsWidget::BuddyListBackgroundColorsWidget(MainConfigurationWindow* mainWindow)
{
createGui(mainWindow);
loadConfiguration();
connect(mainWindow, SIGNAL(configurationWindowApplied()), this, SLOT(configurationApplied()));
}
开发者ID:partition,项目名称:kadu,代码行数:7,代码来源:buddy-list-background-colors-widget.cpp
示例13: QPushButton
StatusButton::StatusButton(StatusContainer *statusContainer, QWidget *parent) :
QPushButton(parent), MyStatusContainer(statusContainer), DisplayStatusName(false)
{
createGui();
statusChanged();
connect(MyStatusContainer, SIGNAL(statusChanged()), this, SLOT(statusChanged()));
}
开发者ID:partition,项目名称:kadu,代码行数:8,代码来源:status-button.cpp
示例14: AccountEditWidget
JabberEditAccountWidget::JabberEditAccountWidget(Account account, QWidget *parent) :
AccountEditWidget(account, parent)
{
createGui();
loadAccountData();
loadAccountDetailsData();
resetState();
}
开发者ID:partition,项目名称:kadu,代码行数:8,代码来源:jabber-edit-account-widget.cpp
示例15: callbackFromMainApplicationThread
void callbackFromMainApplicationThread(int call_id)
{
switch(call_id)
{
case CREATE_GUI: createGui(); break;
case DESTROY_GUI: destroyGui(); break;
}
}
开发者ID:dmoran,项目名称:NERVE,代码行数:8,代码来源:QtTutorial.cpp
示例16: ContactAccountDataWidget
JabberContactAccountDataWidget::JabberContactAccountDataWidget(JabberContactAccountData *contactAccountData, QWidget *parent) :
ContactAccountDataWidget(new JabberContactAccountDataManager(contactAccountData, parent),
contactAccountData, parent),
Data(contactAccountData)
{
setAttribute(Qt::WA_DeleteOnClose);
createGui();
}
开发者ID:ziemniak,项目名称:kadu,代码行数:9,代码来源:jabber-contact-account-data-widget.cpp
示例17: MultiMapView
TwoPaneMapView::TwoPaneMapView(wxWindow* parent, Logger* logger, MapDocumentWPtr document, MapViewToolBox& toolBox, Renderer::MapRenderer& mapRenderer, GLContextManager& contextManager) :
MultiMapView(parent),
m_logger(logger),
m_document(document),
m_splitter(NULL),
m_mapView3D(NULL),
m_mapView2D(NULL) {
createGui(toolBox, mapRenderer, contextManager);
}
开发者ID:Gustavo6046,项目名称:TrenchBroom,代码行数:9,代码来源:TwoPaneMapView.cpp
示例18: QDialog
ProgressWindow::ProgressWindow(const QString &label, QWidget *parent) :
QDialog(parent), Label(label), Finished(false), Cancellable(false)
{
setAttribute(Qt::WA_DeleteOnClose);
setWindowRole("kadu-progress");
createGui();
setFixedWidth(width());
}
开发者ID:leewood,项目名称:kadu,代码行数:9,代码来源:progress-window.cpp
示例19: setSizePolicy
void FacebookAddAccountWidget::init()
{
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
connect(m_accountManager, SIGNAL(accountAdded(Account)), this, SLOT(dataChanged()));
createGui(m_showButtons);
resetGui();
}
开发者ID:vogel,项目名称:kadu,代码行数:9,代码来源:facebook-add-account-widget.cpp
示例20: ConfigWizardPage
ConfigWizardSetUpAccountPage::ConfigWizardSetUpAccountPage(QWidget *parent)
: ConfigWizardPage(parent), AccountSuccessfullyCreated(false)
{
setDescription(
tr("<p>Please enter your account data.</p><p>Go back if you want to select a different Account Setup "
"option.</p>"));
createGui();
}
开发者ID:vogel,项目名称:kadu,代码行数:9,代码来源:config-wizard-set-up-account-page.cpp
注:本文中的createGui函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论