QtGui
view release on metacpan or search on metacpan
examples/mainwindows/menus/MainWindow.pm view on Meta::CPAN
$this->{undoAct}->setStatusTip(QString("Undo the last operation"));
$this->connect($this->{undoAct}, SIGNAL('triggered()'), $this, SLOT('undo()'));
$this->{redoAct} = QAction(QString("&Redo"), $this);
$this->{redoAct}->setShortcut(QKeySequence(QString("Ctrl+Y")));
$this->{redoAct}->setStatusTip(QString("Redo the last operation"));
$this->connect($this->{redoAct}, SIGNAL('triggered()'), $this, SLOT('redo()'));
$this->{cutAct} = QAction(QString("Cu&t"), $this);
$this->{cutAct}->setShortcut(QKeySequence(QString("Ctrl+X")));
$this->{cutAct}->setStatusTip(QString("Cut the current selection's contents to the clipboard"));
$this->connect($this->{cutAct}, SIGNAL('triggered()'), $this, SLOT('cut()'));
$this->{copyAct} = QAction(QString("&Copy"), $this);
$this->{copyAct}->setShortcut(QKeySequence(QString("Ctrl+C")));
$this->{copyAct}->setStatusTip(QString("Copy the current selection's contents to the clipboard"));
$this->connect($this->{copyAct}, SIGNAL('triggered()'), $this, SLOT('copy()'));
$this->{pasteAct} = QAction(QString("&Paste"), $this);
$this->{pasteAct}->setShortcut(QKeySequence(QString("Ctrl+V")));
$this->{pasteAct}->setStatusTip(QString("Paste the clipboard's contents into the current selection"));
$this->connect($this->{pasteAct}, SIGNAL('triggered()'), $this, SLOT('paste()'));
$this->{boldAct} = QAction(QString("&Bold"), $this);
$this->{boldAct}->setCheckable(1); # 1 == true
$this->{boldAct}->setShortcut(QKeySequence(QString("Ctrl+B")));
$this->{boldAct}->setStatusTip(QString("Make the text bold"));
$this->connect($this->{boldAct}, SIGNAL('triggered()'), $this, SLOT('bold()'));
$this->{boldFont} = $this->{boldAct}->font();
$this->{boldFont}->setBold(1); # 1 == true
examples/mainwindows/menus/mainwindow.cpp view on Meta::CPAN
connect(undoAct, SIGNAL(triggered()), this, SLOT(undo()));
redoAct = new QAction(tr("&Redo"), this);
redoAct->setShortcut(tr("Ctrl+Y"));
redoAct->setStatusTip(tr("Redo the last operation"));
connect(redoAct, SIGNAL(triggered()), this, SLOT(redo()));
cutAct = new QAction(tr("Cu&t"), this);
cutAct->setShortcut(tr("Ctrl+X"));
cutAct->setStatusTip(tr("Cut the current selection's contents to the "
"clipboard"));
connect(cutAct, SIGNAL(triggered()), this, SLOT(cut()));
copyAct = new QAction(tr("&Copy"), this);
copyAct->setShortcut(tr("Ctrl+C"));
copyAct->setStatusTip(tr("Copy the current selection's contents to the "
"clipboard"));
connect(copyAct, SIGNAL(triggered()), this, SLOT(copy()));
pasteAct = new QAction(tr("&Paste"), this);
pasteAct->setShortcut(tr("Ctrl+V"));
pasteAct->setStatusTip(tr("Paste the clipboard's contents into the current "
"selection"));
connect(pasteAct, SIGNAL(triggered()), this, SLOT(paste()));
boldAct = new QAction(tr("&Bold"), this);
boldAct->setCheckable(true);
boldAct->setShortcut(tr("Ctrl+B"));
boldAct->setStatusTip(tr("Make the text bold"));
connect(boldAct, SIGNAL(triggered()), this, SLOT(bold()));
QFont boldFont = boldAct->font();
module_list view on Meta::CPAN
}
#push @modules, 'QX11EmbedWidget'; $modules{'QX11EmbedWidget'} = 'QtGui/qx11embed_x11.h';
push @modules, 'QSplashScreen'; $modules{'QSplashScreen'} = 'QtGui/qsplashscreen.h';
push @modules, 'QFrame'; $modules{'QFrame'} = 'QtGui/qframe.h';
push @modules, 'QGroupBox'; $modules{'QGroupBox'} = 'QtGui/qgroupbox.h';
push @modules, 'QLabel'; $modules{'QLabel'} = 'QtGui/qlabel.h';
push @modules, 'QProgressBar'; $modules{'QProgressBar'} = 'QtGui/qprogressbar.h';
push @modules, 'QSplitter'; $modules{'QSplitter'} = 'QtGui/qsplitter.h';
$classes{'QSplitterHandle'}{module} = 'QSplitter';
push @modules, 'QMimeSource'; $modules{'QMimeSource'} = 'QtGui/qmime.h';
push @modules, 'QClipboard'; $modules{'QClipboard'} = 'QtGui/qpixmap.h:QtGui/qclipboard.h';
push @modules, 'QDrag'; $modules{'QDrag'} = 'QtGui/qpixmap.h:QtGui/qdrag.h';
push @modules, 'QStackedWidget'; $modules{'QStackedWidget'} = 'QtGui/qstackedwidget.h';
push @modules, 'QDesktopWidget'; $modules{'QDesktopWidget'} = 'QtGui/qdesktopwidget.h';
push @modules, 'QCalendarWidget'; $modules{'QCalendarWidget'} = 'QtGui/qtextformat.h:QtGui/qcalendarwidget.h';
push @modules, 'QDockWidget'; $modules{'QDockWidget'} = 'QtGui/qdockwidget.h';
push @modules, 'QMainWindow'; $modules{'QMainWindow'} = 'QtGui/qmainwindow.h';
push @modules, 'QApplication'; $modules{'QApplication'} = 'QtCore/qlocale.h:QtGui/qicon.h:QtGui/qpalette.h:QtGui/qfontmetrics.h:QtGui/qsessionmanager.h:QtGui/qapplication.h';
push @modules, 'QAction'; $modules{'QAction'} = 'QtGui/qactiongroup.h:QtGui/qaction.h';
push @modules, 'QActionGroup'; $modules{'QActionGroup'} = 'QtGui/qactiongroup.h';
push @modules, 'QWidgetAction'; $modules{'QWidgetAction'} = 'QtGui/qwidgetaction.h';
( run in 0.637 second using v1.01-cache-2.11-cpan-2398b32b56e )