Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Event handling
Qt 6.12 LTS is out! See what's new in the release blog

Event handling

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 3.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    hi to every one
    i am trying to write a program with qt
    i create a form with my qt desigenr,it has a qwidget ,i named it calendarwidget
    then i wrote a widget with my special calendar and i add it to this qwidget with these codes

    @
    jpicker = new JalaliDatepicker(this);
    QGridLayout *layout = new QGridLayout;
    layout->addWidget(jpicker);
    ui.calendarWidget->setLayout(layout);
    @

    (JalaliDatapicker is my special calendar)
    i wrote some slots for this calendar on my constructor;
    but when i do sth to event happen it does'nt do anything?
    how can i make my program moderate its siganls on this widget?

    Edit: added the @ tags around your code as suggested below, please do that yourself next time; Andre

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      Hi kitten,

      you should enclose your code section with '@' at start and at end.
      Furthermore, you should also post the parts with signal-slot handling.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        You should show us at least the connect statements. How should we know what's going on without that?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt
        • Unsolved