Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Polish
  4. QSqlRelationalTableModel i setJoinMode

QSqlRelationalTableModel i setJoinMode

Scheduled Pinned Locked Moved Polish
left joinqsqlrelationaltqdatawidgetmappqsqlrelationinner join
1 Posts 1 Posters 747 Views
  • 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.
  • S Offline
    S Offline
    savior
    wrote on 10 Jul 2015, 06:17 last edited by
    #1

    Witam,
    Potrzebuję podpowiedzi.
    W jaki sposób wykonać połączenie tabel za pomocą QSqlRelationalTableModel dla każdego QSqlRelation ustawić rodzaj złączenia (Left, Inner). Ewentualnie jeśli się nie da to w jaki sposób powinienem stworzyć model dla takiego różnorakich połączeń.
    Chciałbym ten model podłączyć poprzez QDataWidgetMapper do widgetów. W zależności od rodzaju złączenia potrzebuje np w QComboBox pozycji z wartością null do złączenia Left Join.
    Prosiłbym o ewentualny przykład.
    Z góry dziękuję.

    1 Reply Last reply
    0

    1/1

    10 Jul 2015, 06:17

    • Login

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